]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kclient: track and kick flushing caps per-mds
authorSage Weil <sage@newdream.net>
Wed, 8 Jul 2009 22:55:03 +0000 (15:55 -0700)
committerSage Weil <sage@newdream.net>
Wed, 8 Jul 2009 22:55:03 +0000 (15:55 -0700)
commit5b2b455e24923acea9a228f443cf1704f8231433
tree41a32d50aad7f8e2240a28e83fc352652d8545a8
parentfeca5cd4c6f3e1367874360362554167789b422a
kclient: track and kick flushing caps per-mds

After an MDS restarts, we need to resend cap flush messages we
were trying to write back.  So, track flushing caps per-session,
with a global counter to make ceph_mdsc_sync simple.  When the
MDS goes active, re-flush anything that was flushing.

Also change old 'sync' terminology to more descriptive 'flushing'.
src/kernel/caps.c
src/kernel/inode.c
src/kernel/mds_client.c
src/kernel/mds_client.h
src/kernel/super.h