]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agocommon/include/rgw: Add versioning to structs without it.
Sage Weil [Wed, 27 Jan 2010 22:27:26 +0000 (14:27 -0800)]
common/include/rgw: Add versioning to structs without it.

15 years agomds: add v to encoded mds structs
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

15 years agorgw: struct_v in RGWObjEnt
Sage Weil [Wed, 27 Jan 2010 21:34:46 +0000 (13:34 -0800)]
rgw: struct_v in RGWObjEnt

15 years agojournaler: struct_v in structs
Sage Weil [Wed, 27 Jan 2010 21:34:27 +0000 (13:34 -0800)]
journaler: struct_v in structs

15 years agomds: remove unused _pad variable
Greg Farnum [Tue, 26 Jan 2010 23:08:12 +0000 (15:08 -0800)]
mds: remove unused _pad variable

15 years agoosd: add struct_v to most encoded structs that don't already have one
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

15 years agomsg: add type to ceph_entity_addr
Sage Weil [Wed, 27 Jan 2010 22:26:11 +0000 (14:26 -0800)]
msg: add type to ceph_entity_addr

15 years agoosd: set reqid for push/pull subops
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.

15 years agojournal: include a version field in header
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

15 years agodout: print thread id hex (to match up with gdb)
Sage Weil [Tue, 26 Jan 2010 21:37:35 +0000 (13:37 -0800)]
dout: print thread id hex (to match up with gdb)

15 years agoosd: encode struct v for ceph_pg_pool
Sage Weil [Mon, 25 Jan 2010 21:39:40 +0000 (13:39 -0800)]
osd: encode struct v for ceph_pg_pool

15 years agomon: add struct encoding v to ease future revisions
Sage Weil [Mon, 25 Jan 2010 18:29:24 +0000 (10:29 -0800)]
mon: add struct encoding v to ease future revisions

15 years agomds: make CEPH_MDS_OP_CREATE a write op [mds protocol change]
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]

15 years agoceph: remove stray #include
Sage Weil [Mon, 25 Jan 2010 18:34:18 +0000 (10:34 -0800)]
ceph: remove stray #include

15 years agolibrados: implement C versions of snap calls
Sage Weil [Fri, 15 Jan 2010 19:00:47 +0000 (11:00 -0800)]
librados: implement C versions of snap calls

15 years agoChange CompatSet usage to be compatible with new struct
Greg Farnum [Tue, 19 Jan 2010 20:24:31 +0000 (12:24 -0800)]
Change CompatSet usage to be compatible with new struct

15 years agochange CompatSet
Greg Farnum [Fri, 15 Jan 2010 21:16:46 +0000 (13:16 -0800)]
change CompatSet

15 years agomds: Revert CInode/Journaler changes as we'll move them into MDSMap later.
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.

15 years agoadd versioning and awareness bla bla
Greg Farnum [Fri, 15 Jan 2010 00:27:14 +0000 (16:27 -0800)]
add versioning and awareness bla bla

15 years agomon: use CompatSet in disk format
Greg Farnum [Thu, 14 Jan 2010 19:12:23 +0000 (11:12 -0800)]
mon: use CompatSet in disk format

15 years agomds: use CompatSet in disk format
Greg Farnum [Thu, 14 Jan 2010 19:11:51 +0000 (11:11 -0800)]
mds: use CompatSet in disk format

15 years agoosd: use CompatSet in the superblock. Only one 'feature' right now
Greg Farnum [Wed, 13 Jan 2010 21:17:18 +0000 (13:17 -0800)]
osd: use CompatSet in the superblock. Only one 'feature' right now

15 years agoinclude: new CompatSet.h
Greg Farnum [Tue, 12 Jan 2010 00:53:11 +0000 (16:53 -0800)]
include: new CompatSet.h

15 years agoreplace strcat with strncat
Yehuda Sadeh [Fri, 15 Jan 2010 18:33:57 +0000 (10:33 -0800)]
replace strcat with strncat

15 years agoreplace sprintf with snprintf all around
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.

15 years agomsgr: fix mark_down
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!

15 years agofilestore: don't croak if current/ exists
Sage Weil [Thu, 14 Jan 2010 23:46:26 +0000 (15:46 -0800)]
filestore: don't croak if current/ exists

15 years agotodo
Sage Weil [Thu, 14 Jan 2010 22:26:19 +0000 (14:26 -0800)]
todo

15 years agologger: use larger buffer, snprinf instead of sprintf
Yehuda Sadeh [Thu, 14 Jan 2010 22:34:59 +0000 (14:34 -0800)]
logger: use larger buffer, snprinf instead of sprintf

15 years agoosd: use journal in peek_super
Sage Weil [Thu, 7 Jan 2010 22:33:25 +0000 (14:33 -0800)]
osd: use journal in peek_super

15 years agofilestore: put data in current/, a btrfs subvol if possible
Sage Weil [Fri, 8 Jan 2010 18:25:20 +0000 (10:25 -0800)]
filestore: put data in current/, a btrfs subvol if possible

15 years agofilestore: rip out usertrans experiment
Sage Weil [Thu, 14 Jan 2010 21:38:44 +0000 (13:38 -0800)]
filestore: rip out usertrans experiment

15 years agofilestore: rename _apply_transaction
Sage Weil [Thu, 14 Jan 2010 21:34:59 +0000 (13:34 -0800)]
filestore: rename _apply_transaction

Conflicts:

src/os/FileStore.h

15 years agomds: add 'dumpcache [filename]' mds command
Sage Weil [Thu, 14 Jan 2010 19:52:58 +0000 (11:52 -0800)]
mds: add 'dumpcache [filename]' mds command

15 years agomds: disable cache dump on rejoin by default
Sage Weil [Thu, 14 Jan 2010 19:52:20 +0000 (11:52 -0800)]
mds: disable cache dump on rejoin by default

15 years agoTODO
Greg Farnum [Fri, 8 Jan 2010 23:42:36 +0000 (15:42 -0800)]
TODO

15 years agomon: properly clean up SessionMap on a shutdown.
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.

15 years agocsyn: properly use multiple clients
Greg Farnum [Fri, 8 Jan 2010 21:42:46 +0000 (13:42 -0800)]
csyn: properly use multiple clients

15 years agodon't keep configs in git
Sage Weil [Fri, 8 Jan 2010 19:19:23 +0000 (11:19 -0800)]
don't keep configs in git

15 years agotodo
Sage Weil [Fri, 8 Jan 2010 18:13:50 +0000 (10:13 -0800)]
todo

15 years agobotched merge
Greg Farnum [Fri, 8 Jan 2010 01:35:55 +0000 (17:35 -0800)]
botched merge

15 years agoMerge branch 'unstable' of ceph.newdream.net:/git/ceph into unstable
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

15 years agomsgr: make use of references and const slightly more consistent
Greg Farnum [Fri, 8 Jan 2010 01:10:37 +0000 (17:10 -0800)]
msgr: make use of references and const slightly more consistent

15 years agomonClient: fix potential naming confusion with messenger
Greg Farnum [Fri, 8 Jan 2010 01:10:21 +0000 (17:10 -0800)]
monClient: fix potential naming confusion with messenger

15 years agomsgr: rename endpoint_stopped to destination_stopped
Greg Farnum [Fri, 8 Jan 2010 00:56:28 +0000 (16:56 -0800)]
msgr: rename endpoint_stopped to destination_stopped

15 years agomsgr: rank is just a bad name for local SimpleMessengers now
Greg Farnum [Fri, 8 Jan 2010 00:53:51 +0000 (16:53 -0800)]
msgr: rank is just a bad name for local SimpleMessengers now

15 years agomsgr: remove erank
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.

15 years agomsgr: should be destroyed in the same thread it's created
Greg Farnum [Thu, 7 Jan 2010 23:35:26 +0000 (15:35 -0800)]
msgr: should be destroyed in the same thread it's created

15 years agofilestore: don't bother masking signals
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.

15 years agomsgr: Remove erroneous rank->destroy calls I inserted in 9a96bf
Greg Farnum [Thu, 7 Jan 2010 20:05:38 +0000 (12:05 -0800)]
msgr: Remove erroneous rank->destroy calls I inserted in 9a96bf

15 years agomsgr: get and put inside DispatchThread, not when you create/end DispatchThread
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

15 years agomsgr: Remove unregister_entity since there's only ever one now.
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.

15 years agomsgr: Make usage compatible with last commit
Greg Farnum [Wed, 6 Jan 2010 22:13:05 +0000 (14:13 -0800)]
msgr: Make usage compatible with last commit

15 years agomsgr: Remove all references to Endpoint
Greg Farnum [Wed, 6 Jan 2010 01:09:41 +0000 (17:09 -0800)]
msgr: Remove all references to Endpoint

15 years agomsgr: Remove declarations of unimplemented functions:
Greg Farnum [Wed, 6 Jan 2010 00:51:01 +0000 (16:51 -0800)]
msgr: Remove declarations of unimplemented functions:
rename_entity and new_entity

15 years agomsgr: SimpleMessenger takes responsibility for Messenger functions.
Greg Farnum [Wed, 6 Jan 2010 00:48:17 +0000 (16:48 -0800)]
msgr: SimpleMessenger takes responsibility for Messenger functions.

15 years agomsgr: All SimpleMessenger uses are now on the heap for appropriate destruction
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

15 years agomsgr: SimpleMessenger is now a Messenger itself -- sort of
Greg Farnum [Tue, 5 Jan 2010 00:04:28 +0000 (16:04 -0800)]
msgr: SimpleMessenger is now a Messenger itself -- sort of

15 years agomsgr: remove rank number from endpoint, since there's only one.
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.

15 years agotodo
Sage Weil [Thu, 7 Jan 2010 00:08:29 +0000 (16:08 -0800)]
todo

15 years agoosd: fix MASKTRUNC
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.

15 years agoqa: dl pjd.tgz
Sage Weil [Wed, 23 Dec 2009 22:49:32 +0000 (14:49 -0800)]
qa: dl pjd.tgz

Then we can switch the symlink later

15 years agotodo, sepia reformat
Sage Weil [Wed, 23 Dec 2009 22:49:16 +0000 (14:49 -0800)]
todo, sepia reformat

15 years agomds: change MClientReconnect encoding (mds protocol change)
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.

15 years agouclient: clean up mark_down of failed mds
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.

15 years agomds: add NEW session state
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.

15 years agomsgr: drop rank lock while verifying authorizer
Sage Weil [Wed, 23 Dec 2009 19:49:51 +0000 (11:49 -0800)]
msgr: drop rank lock while verifying authorizer

This easily causes a lock inversion if the verify callback takes any
locks.  e.g.

09.12.23 11:43:32.335042 1482578256 lockdep: ------------------------------------
09.12.23 11:43:32.335072 1482578256 lockdep: existing dependency MDS::mds_lock (10) -> SimpleMessenger::lock (6) at:
 1: (Mutex::Lock(bool)+0x3a) [0x6f581c]
 2: (SimpleMessenger::submit_message(Message*, entity_inst_t const&, bool)+0xc0) [0x6f900c]
 3: (SimpleMessenger::Endpoint::send_message(Message*, entity_inst_t)+0x1ab) [0x6f9c85]
 4: (MonClient::_send_mon_message(Message*, bool)+0xa2) [0x9682dc]
 5: (MonClient::send_mon_message(Message*)+0x37) [0x740e17]
 6: (MDS::beacon_send()+0x226) [0x710b02]
 7: (MDS::beacon_start()+0x15) [0x711fc5]
 8: (MDS::init()+0xd5) [0x71238b]
 9: (main()+0x2cd) [0x6eb6af]
 10: (__libc_start_main()+0xe6) [0x7f22954811a6]
 11: /tmp/cmds.20091223.114259 [0x6eb0d9]

09.12.23 11:43:32.335289 1482578256 lockdep: new dependency SimpleMessenger::lock (6) -> MDS::mds_lock (10) creates a cycle at
 1: (Mutex::Lock(bool)+0x3a) [0x6f581c]
 2: (Mutex::Locker::Locker(Mutex&)+0x2c) [0x705f2c]
 3: (MDS::ms_verify_authorizer(Connection*, int, int, buffer::list&, buffer::list&, bool&)+0x48) [0x70d6c6]
 4: (Messenger::ms_deliver_verify_authorizer(Connection*, int, int, buffer::list&, buffer::list&, bool&)+0x74) [0x702d5e]
 5: (SimpleMessenger::verify_authorizer(Connection*, int, int, buffer::list&, buffer::list&, bool&)+0x6b) [0x6f6279]
 6: (SimpleMessenger::Pipe::accept()+0xc7d) [0x6ffba5]
 7: (SimpleMessenger::Pipe::reader()+0x32) [0x700de8]
 8: (SimpleMessenger::Pipe::Reader::entry()+0x19) [0x6f4e2d]
 9: (Thread::_entry_func(void*)+0x20) [0x705944]
 10: /lib/libpthread.so.0 [0x7f22962effc7]
 11: (clone()+0x6d) [0x7f22955325ad]

09.12.23 11:43:32.335497 1482578256 lockdep: btw, i am holding these locks:
09.12.23 11:43:32.335511 1482578256 lockdep:   SimpleMessenger::lock (6)

common/lockdep.cc: In function 'int lockdep_will_lock(const char*, int)':
common/lockdep.cc:184: FAILED assert(0)
 1: (lockdep_will_lock(char const*, int)+0x765) [0x9776a9]
 2: (Mutex::_will_lock()+0x1f) [0x6f43bf]
 3: (Mutex::Lock(bool)+0x3a) [0x6f581c]
 4: (Mutex::Locker::Locker(Mutex&)+0x2c) [0x705f2c]
 5: (MDS::ms_verify_authorizer(Connection*, int, int, buffer::list&, buffer::list&, bool&)+0x48) [0x70d6c6]
 6: (Messenger::ms_deliver_verify_authorizer(Connection*, int, int, buffer::list&, buffer::list&, bool&)+0x74) [0x702d5e]
 7: (SimpleMessenger::verify_authorizer(Connection*, int, int, buffer::list&, buffer::list&, bool&)+0x6b) [0x6f6279]
 8: (SimpleMessenger::Pipe::accept()+0xc7d) [0x6ffba5]
 9: (SimpleMessenger::Pipe::reader()+0x32) [0x700de8]
 10: (SimpleMessenger::Pipe::Reader::entry()+0x19) [0x6f4e2d]
 11: (Thread::_entry_func(void*)+0x20) [0x705944]
 12: /lib/libpthread.so.0 [0x7f22962effc7]
 13: (clone()+0x6d) [0x7f22955325ad]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

15 years agouclient: don't renew caps while mds is recovering
Sage Weil [Wed, 23 Dec 2009 19:48:32 +0000 (11:48 -0800)]
uclient: don't renew caps while mds is recovering

waste of time and memory

15 years agomds: expose projected ctime is client is last versionlock wrlocker
Sage Weil [Wed, 23 Dec 2009 23:54:50 +0000 (15:54 -0800)]
mds: expose projected ctime is client is last versionlock wrlocker

This fixes the problem where the client does a setattr on CTIME, but
doesn't actually see it.

Probably, though, the exposed ctime should be more precise: something like
the most recent projected value that the client is responsible, since we
may have multiple clients projecting pipelined values on the inode.

15 years agotodo
Sage Weil [Wed, 23 Dec 2009 02:32:00 +0000 (18:32 -0800)]
todo

15 years agoosd: prioritized repop acks
Sage Weil [Tue, 22 Dec 2009 22:54:46 +0000 (14:54 -0800)]
osd: prioritized repop acks

This may not make much of a difference, but it won't hurt.

15 years agoqa: don't fail rm of old log
Sage Weil [Tue, 22 Dec 2009 22:50:38 +0000 (14:50 -0800)]
qa: don't fail rm of old log

15 years agoqa: make logging more forgiving
Sage Weil [Tue, 22 Dec 2009 21:45:40 +0000 (13:45 -0800)]
qa: make logging more forgiving

15 years agomsgr: separate incoming queue from local_endpoint
Sage Weil [Wed, 23 Dec 2009 02:03:00 +0000 (18:03 -0800)]
msgr: separate incoming queue from local_endpoint

For now it's bundled into dispatch_queue.

Fixes a race with local_endpoint shutdown and incoming message delivery.

15 years agoosd: put meta_coll const in OSD.{cc,h}
Sage Weil [Wed, 23 Dec 2009 01:50:33 +0000 (17:50 -0800)]
osd: put meta_coll const in OSD.{cc,h}

15 years agofilejournal: delete[] not delete
Sage Weil [Wed, 23 Dec 2009 01:43:18 +0000 (17:43 -0800)]
filejournal: delete[] not delete

15 years agobacktrace: fix #includes for ppc
Sage Weil [Tue, 22 Dec 2009 21:29:07 +0000 (13:29 -0800)]
backtrace: fix #includes for ppc

15 years agohash: use native appropriately sized hash for word, not native host word size
Sage Weil [Tue, 22 Dec 2009 21:26:47 +0000 (13:26 -0800)]
hash: use native appropriately sized hash for word, not native host word size

These shouldn't be used over the wire or on disk, but just in case.

Also, i suspect the 64-bit hash is probably faster than the 32bit one
twice?

15 years agochange LP64 ifdefs to casts for printf formatting
Sage Weil [Tue, 22 Dec 2009 21:25:46 +0000 (13:25 -0800)]
change LP64 ifdefs to casts for printf formatting

15 years agologger: cleanup 64
Sage Weil [Tue, 22 Dec 2009 21:22:56 +0000 (13:22 -0800)]
logger: cleanup 64

15 years agotodo, confs
Sage Weil [Tue, 22 Dec 2009 21:21:33 +0000 (13:21 -0800)]
todo, confs

15 years agomsgr: include features in connection handshake (protocol change)
Sage Weil [Tue, 22 Dec 2009 19:42:29 +0000 (11:42 -0800)]
msgr: include features in connection handshake (protocol change)

15 years agomsgr: put tid in ceph_msg_header (protocol change)
Sage Weil [Tue, 22 Dec 2009 19:41:47 +0000 (11:41 -0800)]
msgr: put tid in ceph_msg_header (protocol change)

15 years agotodo more bugs
Sage Weil [Tue, 22 Dec 2009 00:46:05 +0000 (16:46 -0800)]
todo more bugs

15 years agoassert: leave cruft off top of assert failure backtrace
Sage Weil [Tue, 22 Dec 2009 00:28:27 +0000 (16:28 -0800)]
assert: leave cruft off top of assert failure backtrace

no more
 1: (__ceph_assert_fail(char const*, char const*, int, char const*)+0x34) [0x7ea7ea]

15 years agobacktrace: demangle c++ names
Sage Weil [Tue, 22 Dec 2009 00:26:07 +0000 (16:26 -0800)]
backtrace: demangle c++ names

Finally!

15 years agotodo bugs
Sage Weil [Sun, 20 Dec 2009 05:09:23 +0000 (21:09 -0800)]
todo bugs

15 years agomds: new commands!
Greg Farnum [Sat, 19 Dec 2009 00:13:42 +0000 (16:13 -0800)]
mds: new commands!
issue_caps inodenumber calls locker->issue_caps
try_eval inodenumber mask calls locker->try_eval

15 years agomds: new command kill session xxxx ends that client session
Greg Farnum [Thu, 17 Dec 2009 22:29:13 +0000 (14:29 -0800)]
mds: new command kill session xxxx ends that client session

15 years agocreate a new function end_session to end client sessions
Greg Farnum [Thu, 17 Dec 2009 22:27:26 +0000 (14:27 -0800)]
create a new function end_session to end client sessions

15 years agovstart: allow -o 'some option for config file = whatever'
Sage Weil [Wed, 16 Dec 2009 22:06:01 +0000 (14:06 -0800)]
vstart: allow -o 'some option for config file = whatever'

15 years agoosd: fix PG print log bound check
Sage Weil [Tue, 15 Dec 2009 22:27:56 +0000 (14:27 -0800)]
osd: fix PG print log bound check

15 years agotodo (bugs)
Sage Weil [Thu, 17 Dec 2009 19:32:21 +0000 (11:32 -0800)]
todo (bugs)

15 years agoMake a more flexible 'tell' command to replace injectargs
Greg Farnum [Tue, 15 Dec 2009 23:50:00 +0000 (15:50 -0800)]
Make a more flexible 'tell' command to replace injectargs
osd/mds: make a handle_command function; don't parse all MMonCommands as config

mon: Send injectargs to osd/mds in new format;
accept tells for mds and osd

15 years agotodo (bugs, filestore notes)
Sage Weil [Tue, 15 Dec 2009 22:13:23 +0000 (14:13 -0800)]
todo (bugs, filestore notes)

15 years agoosd: include last_epoch_split in PG::Info::History
Sage Weil [Tue, 15 Dec 2009 22:13:12 +0000 (14:13 -0800)]
osd: include last_epoch_split in PG::Info::History

Also drop backward compat encoding for same_up_since;
overall osd format as reved since then.

15 years agomsgr: don't keep sent messages on lossy connections
Sage Weil [Tue, 15 Dec 2009 22:11:16 +0000 (14:11 -0800)]
msgr: don't keep sent messages on lossy connections

15 years agomds: log client timeouts
Sage Weil [Tue, 15 Dec 2009 22:10:37 +0000 (14:10 -0800)]
mds: log client timeouts

15 years agomds: don't croak on stray ACK
Sage Weil [Mon, 14 Dec 2009 22:14:10 +0000 (14:14 -0800)]
mds: don't croak on stray ACK

This can happen after replay:

- AGREE and update op in journal
- table resends AGREE
- client resends COMMIT
- client gets AGREE, resends COMMIT
- table gets 2 COMMITS, replies with 2 ACKs
- second ACK can be ignored.

15 years agoqa: Copy the output of each test to a log file
Greg Farnum [Tue, 15 Dec 2009 21:23:23 +0000 (13:23 -0800)]
qa: Copy the output of each test to a log file