Commit Graph

9177 Commits

Author SHA1 Message Date
Yehuda Sadeh
9919b09540 truncate: initialize truncate_seq, truncate_size 2010-02-01 16:14:05 -08:00
Yehuda Sadeh
2f72778714 truncate: truncate information sent on each read/write op
This fixes cases in which preceding client read/write ops arrive the
osd after a later truncation that arrived through the mds
2010-02-01 16:14:05 -08:00
Sage Weil
af6803bd55 osd: quiet down about request perms 2010-02-01 14:53:41 -08:00
Sage Weil
c1259b947b librados: guard against double-release; clean up ref counting 2010-02-01 14:29:37 -08:00
Sage Weil
1389bf98a8 rados: fix delete[] vs delete 2010-02-01 14:29:37 -08:00
Sage Weil
1f680bfd10 lockdep: fix use after free; avoid register in unlocked() path 2010-02-01 14:29:37 -08:00
Sage Weil
1cf80d57e1 uclient: fix uninitialized var 2010-02-01 13:52:17 -08:00
Sage Weil
089afabaf5 journal: sync_file_range on bdev, fdatasync on file 2010-02-01 13:50:14 -08:00
Sage Weil
b73861aaa9 journal: warn if we detect disk write cache is on 2010-02-01 13:50:12 -08:00
Sage Weil
22bdecd9c7 journal: align (by default) even when !directio; directio by default; log latency 2010-02-01 13:50:09 -08:00
Sage Weil
8c737cfce8 journal: group entries into single io in directio mode 2010-02-01 13:49:57 -08:00
Sage Weil
c89d9bbcef mon: fix auth restart decoding 2010-02-01 13:34:58 -08:00
Sage Weil
bf1b88d955 mon: fix osd tell * 2010-02-01 13:34:55 -08:00
Sage Weil
d4735c83eb mount: fix compile errors 2010-01-29 16:39:07 -08:00
Greg Farnum
11dcd420d0 TODO: mark bugs completed 2010-01-29 15:48:02 -08:00
Greg Farnum
913315705b mount: canonicalize path name for mtab 2010-01-29 15:01:53 -08:00
Greg Farnum
a96af2ecc7 mon: possible fix for rare problem where osd boot messages are double-logged.
From Sage.
2010-01-29 14:11:21 -08:00
Greg Farnum
883c6faaff mon: don't delete all laggy mds beacons, just the one's you've replaced 2010-01-29 14:11:21 -08:00
Greg Farnum
59535055d5 mon: print out proper address in debug log 2010-01-29 14:11:21 -08:00
Greg Farnum
142224193f mds: unify two if blocks with identical checks 2010-01-29 14:11:21 -08:00
Greg Farnum
c99c857135 todo: Slightly out of date 2010-01-29 14:11:21 -08:00
Sage Weil
33325098ee journal: fix padding 2010-01-29 13:27:29 -08:00
Sage Weil
94d76e9a27 journal: add flags field to header, entry_header 2010-01-29 10:17:39 -08:00
Sage Weil
5c264b1519 journal: allow pre and post padding for journal payload
Replace the header.alignment fixups with an explicit post_pad.
2010-01-28 10:58:45 -08:00
Sage Weil
6d96b58f96 debian: use bash for debian build script 2010-01-28 10:58:36 -08:00
Sage Weil
9586cd3eb0 filepath: add struct_v 2010-01-27 14:29:12 -08:00
Sage Weil
a52203e266 common/include/rgw: Add versioning to structs without it. 2010-01-27 14:29:12 -08:00
Sage Weil
9ebbeb696c mds: add v to encoded mds structs
mds: Begin auditing non-struct encodes

mds: add versioning to the events and Anchor.

mds fixes
2010-01-27 14:29:12 -08:00
Sage Weil
caaeb522e8 rgw: struct_v in RGWObjEnt 2010-01-27 14:29:12 -08:00
Sage Weil
87a0d76259 journaler: struct_v in structs 2010-01-27 14:29:11 -08:00
Greg Farnum
6283749dd8 mds: remove unused _pad variable 2010-01-27 14:29:11 -08:00
Sage Weil
e574c84a6a osd: add struct_v to most encoded structs that don't already have one 2010-01-27 14:29:11 -08:00
Sage Weil
adeb0be15d msg: add type to ceph_entity_addr 2010-01-27 14:29:11 -08:00
Sage Weil
eebe6df5c2 osd: set reqid for push/pull subops
This just makes tracking down requests in the debug output easier.
2010-01-27 11:33:11 -08:00
Sage Weil
6ba2d3ef8e journal: include a version field in header
For future ondisk format changes
2010-01-27 10:00:02 -08:00
Sage Weil
b645e20a50 dout: print thread id hex (to match up with gdb) 2010-01-26 13:37:35 -08:00
Sage Weil
69d9e87793 osd: encode struct v for ceph_pg_pool 2010-01-25 13:39:40 -08:00
Sage Weil
e49a67302d mon: add struct encoding v to ease future revisions 2010-01-25 13:33:43 -08:00
Sage Weil
90bfb992a1 mds: make CEPH_MDS_OP_CREATE a write op [mds protocol change] 2010-01-25 11:26:34 -08:00
Sage Weil
ec8693437c ceph: remove stray #include 2010-01-25 10:34:18 -08:00
Sage Weil
da13c5aeca librados: implement C versions of snap calls 2010-01-25 09:43:06 -08:00
Greg Farnum
818c73ea2f Change CompatSet usage to be compatible with new struct 2010-01-19 14:03:20 -08:00
Greg Farnum
80979bbe92 change CompatSet 2010-01-19 14:03:20 -08:00
Greg Farnum
b826611cae mds: Revert CInode/Journaler changes as we'll move them into MDSMap later. 2010-01-19 14:03:12 -08:00
Greg Farnum
eb27307055 add versioning and awareness bla bla 2010-01-19 14:02:45 -08:00
Greg Farnum
8883cd22d9 mon: use CompatSet in disk format 2010-01-19 14:02:45 -08:00
Greg Farnum
15fa588535 mds: use CompatSet in disk format 2010-01-19 14:02:45 -08:00
Greg Farnum
5530e3b975 osd: use CompatSet in the superblock. Only one 'feature' right now 2010-01-19 14:02:45 -08:00
Greg Farnum
77e196ccc1 include: new CompatSet.h 2010-01-19 14:02:45 -08:00
Yehuda Sadeh
c74be209a3 replace strcat with strncat 2010-01-15 10:33:57 -08:00