]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Wed, 3 Feb 2010 19:31:30 +0000 (11:31 -0800)]
journal: make sure max_size is multiple of block_size
Sage Weil [Wed, 3 Feb 2010 18:30:03 +0000 (10:30 -0800)]
mds: print setattr'd values with MClientRequest
Sage Weil [Wed, 3 Feb 2010 18:28:01 +0000 (10:28 -0800)]
mds: only set smaller flag in setattr completion if actually truncating
Otherwise we can erroneously trigger the truncation code when another
setattr overlaps with an in-progress truncate.
Sage Weil [Tue, 2 Feb 2010 18:56:14 +0000 (10:56 -0800)]
mds: dump_cache even when debug_mds < 2
Make output more readable.
Sage Weil [Tue, 2 Feb 2010 00:24:37 +0000 (16:24 -0800)]
journal: allow journal seq #'s to jump
This happens when the regular store commits and we throw out now useless
journal entries.
Sage Weil [Mon, 1 Feb 2010 23:44:26 +0000 (15:44 -0800)]
journal: make wrapping simpler
Take out weirdness that tries to keep journal items contiguous. No reason
not to split them across the end/beginning of the journal. In the general
case, this is the same # of seeks because we have to rewrite the header
anyway.
Yehuda Sadeh [Tue, 2 Feb 2010 00:10:04 +0000 (16:10 -0800)]
osd: increase osdc protocol number
Yehuda Sadeh [Tue, 2 Feb 2010 00:03:51 +0000 (16:03 -0800)]
truncate: don't write beyong truncation with old trunc seq
In a scenario where a truncation that followed a write got to
the osd before the preceding write, we shouldn't write beyond
that truncation when the write is handled in the osd.
Yehuda Sadeh [Tue, 2 Feb 2010 00:02:01 +0000 (16:02 -0800)]
truncate: initialize truncate_seq, truncate_size
Yehuda Sadeh [Fri, 29 Jan 2010 19:41:42 +0000 (11:41 -0800)]
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
Sage Weil [Mon, 1 Feb 2010 22:53:41 +0000 (14:53 -0800)]
osd: quiet down about request perms
Sage Weil [Mon, 1 Feb 2010 22:27:10 +0000 (14:27 -0800)]
librados: guard against double-release; clean up ref counting
Sage Weil [Mon, 1 Feb 2010 22:24:23 +0000 (14:24 -0800)]
rados: fix delete[] vs delete
Sage Weil [Mon, 1 Feb 2010 22:24:08 +0000 (14:24 -0800)]
lockdep: fix use after free; avoid register in unlocked() path
Sage Weil [Mon, 1 Feb 2010 21:41:21 +0000 (13:41 -0800)]
uclient: fix uninitialized var
Sage Weil [Mon, 1 Feb 2010 19:57:47 +0000 (11:57 -0800)]
journal: sync_file_range on bdev, fdatasync on file
Sage Weil [Mon, 1 Feb 2010 19:56:01 +0000 (11:56 -0800)]
journal: warn if we detect disk write cache is on
Sage Weil [Mon, 1 Feb 2010 19:24:02 +0000 (11:24 -0800)]
journal: align (by default) even when !directio; directio by default; log latency
Sage Weil [Sat, 30 Jan 2010 00:34:17 +0000 (16:34 -0800)]
journal: group entries into single io in directio mode
Sage Weil [Mon, 1 Feb 2010 21:34:09 +0000 (13:34 -0800)]
mon: fix auth restart decoding
Sage Weil [Mon, 1 Feb 2010 21:34:16 +0000 (13:34 -0800)]
mon: fix osd tell *
Sage Weil [Sat, 30 Jan 2010 00:37:30 +0000 (16:37 -0800)]
mount: fix compile errors
Greg Farnum [Fri, 29 Jan 2010 23:48:02 +0000 (15:48 -0800)]
TODO: mark bugs completed
Greg Farnum [Fri, 29 Jan 2010 23:01:53 +0000 (15:01 -0800)]
mount: canonicalize path name for mtab
Greg Farnum [Fri, 29 Jan 2010 21:05:44 +0000 (13:05 -0800)]
mon: possible fix for rare problem where osd boot messages are double-logged.
From Sage.
Greg Farnum [Fri, 29 Jan 2010 21:02:14 +0000 (13:02 -0800)]
mon: don't delete all laggy mds beacons, just the one's you've replaced
Greg Farnum [Fri, 29 Jan 2010 18:15:48 +0000 (10:15 -0800)]
mon: print out proper address in debug log
Greg Farnum [Thu, 28 Jan 2010 20:21:46 +0000 (12:21 -0800)]
mds: unify two if blocks with identical checks
Greg Farnum [Wed, 27 Jan 2010 23:40:09 +0000 (15:40 -0800)]
todo: Slightly out of date
Sage Weil [Fri, 29 Jan 2010 21:27:29 +0000 (13:27 -0800)]
journal: fix padding
Sage Weil [Fri, 29 Jan 2010 18:17:39 +0000 (10:17 -0800)]
journal: add flags field to header, entry_header
Sage Weil [Thu, 28 Jan 2010 05:09:15 +0000 (21:09 -0800)]
journal: allow pre and post padding for journal payload
Replace the header.alignment fixups with an explicit post_pad.
Sage Weil [Thu, 28 Jan 2010 04:22:18 +0000 (20:22 -0800)]
debian: use bash for debian build script
Sage Weil [Wed, 27 Jan 2010 22:27:57 +0000 (14:27 -0800)]
filepath: add struct_v
Sage Weil [Wed, 27 Jan 2010 22:27:26 +0000 (14:27 -0800)]
common/include/rgw: Add versioning to structs without it.
Sage Weil [Wed, 27 Jan 2010 21:23:10 +0000 (13:23 -0800)]
mds: add v to encoded mds structs
mds: Begin auditing non-struct encodes
mds: add versioning to the events and Anchor.
mds fixes
Sage Weil [Wed, 27 Jan 2010 21:34:46 +0000 (13:34 -0800)]
rgw: struct_v in RGWObjEnt
Sage Weil [Wed, 27 Jan 2010 21:34:27 +0000 (13:34 -0800)]
journaler: struct_v in structs
Greg Farnum [Tue, 26 Jan 2010 23:08:12 +0000 (15:08 -0800)]
mds: remove unused _pad variable
Sage Weil [Wed, 27 Jan 2010 21:33:02 +0000 (13:33 -0800)]
osd: add struct_v to most encoded structs that don't already have one
Sage Weil [Wed, 27 Jan 2010 22:26:11 +0000 (14:26 -0800)]
msg: add type to ceph_entity_addr
Sage Weil [Wed, 27 Jan 2010 19:33:11 +0000 (11:33 -0800)]
osd: set reqid for push/pull subops
This just makes tracking down requests in the debug output easier.
Sage Weil [Wed, 27 Jan 2010 18:00:02 +0000 (10:00 -0800)]
journal: include a version field in header
For future ondisk format changes
Sage Weil [Tue, 26 Jan 2010 21:37:35 +0000 (13:37 -0800)]
dout: print thread id hex (to match up with gdb)
Sage Weil [Mon, 25 Jan 2010 21:39:40 +0000 (13:39 -0800)]
osd: encode struct v for ceph_pg_pool
Sage Weil [Mon, 25 Jan 2010 18:29:24 +0000 (10:29 -0800)]
mon: add struct encoding v to ease future revisions
Sage Weil [Mon, 25 Jan 2010 19:26:34 +0000 (11:26 -0800)]
mds: make CEPH_MDS_OP_CREATE a write op [mds protocol change]
Sage Weil [Mon, 25 Jan 2010 18:34:18 +0000 (10:34 -0800)]
ceph: remove stray #include
Sage Weil [Fri, 15 Jan 2010 19:00:47 +0000 (11:00 -0800)]
librados: implement C versions of snap calls
Greg Farnum [Tue, 19 Jan 2010 20:24:31 +0000 (12:24 -0800)]
Change CompatSet usage to be compatible with new struct
Greg Farnum [Fri, 15 Jan 2010 21:16:46 +0000 (13:16 -0800)]
change CompatSet
Greg Farnum [Fri, 15 Jan 2010 00:37:09 +0000 (16:37 -0800)]
mds: Revert CInode/Journaler changes as we'll move them into MDSMap later.
Greg Farnum [Fri, 15 Jan 2010 00:27:14 +0000 (16:27 -0800)]
add versioning and awareness bla bla
Greg Farnum [Thu, 14 Jan 2010 19:12:23 +0000 (11:12 -0800)]
mon: use CompatSet in disk format
Greg Farnum [Thu, 14 Jan 2010 19:11:51 +0000 (11:11 -0800)]
mds: use CompatSet in disk format
Greg Farnum [Wed, 13 Jan 2010 21:17:18 +0000 (13:17 -0800)]
osd: use CompatSet in the superblock. Only one 'feature' right now
Greg Farnum [Tue, 12 Jan 2010 00:53:11 +0000 (16:53 -0800)]
include: new CompatSet.h
Yehuda Sadeh [Fri, 15 Jan 2010 18:33:57 +0000 (10:33 -0800)]
replace strcat with strncat
Yehuda Sadeh [Fri, 15 Jan 2010 00:07:39 +0000 (16:07 -0800)]
replace sprintf with snprintf all around
Also pass buffer size to relevant functions when required.
Sage Weil [Fri, 15 Jan 2010 00:06:17 +0000 (16:06 -0800)]
msgr: fix mark_down
Beware non-pure virtual methods in the abstract interface!
Sage Weil [Thu, 14 Jan 2010 23:46:26 +0000 (15:46 -0800)]
filestore: don't croak if current/ exists
Sage Weil [Thu, 14 Jan 2010 22:26:19 +0000 (14:26 -0800)]
todo
Yehuda Sadeh [Thu, 14 Jan 2010 22:34:59 +0000 (14:34 -0800)]
logger: use larger buffer, snprinf instead of sprintf
Sage Weil [Thu, 7 Jan 2010 22:33:25 +0000 (14:33 -0800)]
osd: use journal in peek_super
Sage Weil [Fri, 8 Jan 2010 18:25:20 +0000 (10:25 -0800)]
filestore: put data in current/, a btrfs subvol if possible
Sage Weil [Thu, 14 Jan 2010 21:38:44 +0000 (13:38 -0800)]
filestore: rip out usertrans experiment
Sage Weil [Thu, 14 Jan 2010 21:34:59 +0000 (13:34 -0800)]
filestore: rename _apply_transaction
Conflicts:
src/os/FileStore.h
Sage Weil [Thu, 14 Jan 2010 19:52:58 +0000 (11:52 -0800)]
mds: add 'dumpcache [filename]' mds command
Sage Weil [Thu, 14 Jan 2010 19:52:20 +0000 (11:52 -0800)]
mds: disable cache dump on rejoin by default
Greg Farnum [Fri, 8 Jan 2010 23:42:36 +0000 (15:42 -0800)]
TODO
Greg Farnum [Sat, 9 Jan 2010 01:25:53 +0000 (17:25 -0800)]
mon: properly clean up SessionMap on a shutdown.
This fixes failed asserts whenever you tried to do a clean monitor shutdown
instead of killing it.
Greg Farnum [Fri, 8 Jan 2010 21:42:46 +0000 (13:42 -0800)]
csyn: properly use multiple clients
Sage Weil [Fri, 8 Jan 2010 19:19:23 +0000 (11:19 -0800)]
don't keep configs in git
Sage Weil [Fri, 8 Jan 2010 18:13:50 +0000 (10:13 -0800)]
todo
Greg Farnum [Fri, 8 Jan 2010 01:35:55 +0000 (17:35 -0800)]
botched merge
Greg Farnum [Fri, 8 Jan 2010 01:15:39 +0000 (17:15 -0800)]
Merge branch 'unstable' of ceph.newdream.net:/git/ceph into unstable
Conflicts:
src/msg/SimpleMessenger.cc
Greg Farnum [Fri, 8 Jan 2010 01:10:37 +0000 (17:10 -0800)]
msgr: make use of references and const slightly more consistent
Greg Farnum [Fri, 8 Jan 2010 01:10:21 +0000 (17:10 -0800)]
monClient: fix potential naming confusion with messenger
Greg Farnum [Fri, 8 Jan 2010 00:56:28 +0000 (16:56 -0800)]
msgr: rename endpoint_stopped to destination_stopped
Greg Farnum [Fri, 8 Jan 2010 00:53:51 +0000 (16:53 -0800)]
msgr: rank is just a bad name for local SimpleMessengers now
Sage Weil [Fri, 8 Jan 2010 00:10:23 +0000 (16:10 -0800)]
msgr: remove erank
Obsolete, now that we have only a single entity per SimpleMessenger
instance. Avoid changing protocol by making it a reserved (and ignored)
field.
Greg Farnum [Thu, 7 Jan 2010 23:35:26 +0000 (15:35 -0800)]
msgr: should be destroyed in the same thread it's created
Sage Weil [Thu, 17 Dec 2009 20:11:16 +0000 (12:11 -0800)]
filestore: don't bother masking signals
The OSD already catches SIGINT, SIGTERM. It's not really
effective anyway.
Greg Farnum [Thu, 7 Jan 2010 20:05:38 +0000 (12:05 -0800)]
msgr: Remove erroneous rank->destroy calls I inserted in 9a96bf
Greg Farnum [Thu, 7 Jan 2010 01:15:44 +0000 (17:15 -0800)]
msgr: get and put inside DispatchThread, not when you create/end DispatchThread
Greg Farnum [Thu, 7 Jan 2010 00:14:45 +0000 (16:14 -0800)]
msgr: Remove unregister_entity since there's only ever one now.
Move needed functionality into the end of dispatch_entry.
Greg Farnum [Wed, 6 Jan 2010 22:13:05 +0000 (14:13 -0800)]
msgr: Make usage compatible with last commit
Greg Farnum [Wed, 6 Jan 2010 01:09:41 +0000 (17:09 -0800)]
msgr: Remove all references to Endpoint
Greg Farnum [Wed, 6 Jan 2010 00:51:01 +0000 (16:51 -0800)]
msgr: Remove declarations of unimplemented functions:
rename_entity and new_entity
Greg Farnum [Wed, 6 Jan 2010 00:48:17 +0000 (16:48 -0800)]
msgr: SimpleMessenger takes responsibility for Messenger functions.
Greg Farnum [Tue, 5 Jan 2010 20:02:59 +0000 (12:02 -0800)]
msgr: All SimpleMessenger uses are now on the heap for appropriate destruction
Greg Farnum [Tue, 5 Jan 2010 00:04:28 +0000 (16:04 -0800)]
msgr: SimpleMessenger is now a Messenger itself -- sort of
Greg Farnum [Mon, 4 Jan 2010 18:01:41 +0000 (10:01 -0800)]
msgr: remove rank number from endpoint, since there's only one.
Remove Endpoint's wait() method as it's unused.
Sage Weil [Thu, 7 Jan 2010 00:08:29 +0000 (16:08 -0800)]
todo
Sage Weil [Thu, 7 Jan 2010 00:03:31 +0000 (16:03 -0800)]
osd: fix MASKTRUNC
This was looking at the wrong osd_op for the truncate_seq, which made it
essentially broken. This was problematic any time the client SETTRUNC
reached an object (on a write after truncate) before the MDS TRIMTRUNC did.
Sage Weil [Wed, 23 Dec 2009 22:49:32 +0000 (14:49 -0800)]
qa: dl pjd.tgz
Then we can switch the symlink later
Sage Weil [Wed, 23 Dec 2009 22:49:16 +0000 (14:49 -0800)]
todo, sepia reformat
Sage Weil [Wed, 23 Dec 2009 20:09:41 +0000 (12:09 -0800)]
mds: change MClientReconnect encoding (mds protocol change)
This simplifies the encoding to make life easier for the kclient.
Sage Weil [Wed, 23 Dec 2009 20:04:39 +0000 (12:04 -0800)]
uclient: clean up mark_down of failed mds
Set inst at the time we see it change, otherwise we may miss an mds that
replayed but failed before it fully recovered.
Sage Weil [Wed, 23 Dec 2009 19:52:19 +0000 (11:52 -0800)]
mds: add NEW session state
We want to register new sessions in the map so that they can be found when
we replay ESession events in the log. Otherwise a client that connects
to the mds early will have one Session* on the connection, and another in
the map, and reconnect will fail.
Make sure we remove NEW sessions from the map on connection reset, so that
things gets freed.
Also, take mds_lock in ms_verify_authorizer.