]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ceph: send cap release message early on failed revoke.
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 6 Oct 2010 22:46:30 +0000 (15:46 -0700)
committerSage Weil <sage@newdream.net>
Thu, 7 Oct 2010 15:00:24 +0000 (08:00 -0700)
commit21b559de56695d36b3f0819b7e2454737db254f8
tree41559b37754818d637d11aec1b61a138d7a8efb5
parentbba0cd0e3d97472855840af817b766e3f632a501
ceph: send cap release message early on failed revoke.

If an MDS tries to revoke caps that we don't have, we want to send
releases early since they probably contain the caps message the MDS
is looking for.

Previously, we only sent the messages if we didn't have the inode either. But
in a multi-mds system we can retain the inode after dropping all caps for
a single MDS.

Signed-off-by: Greg Farnum <gregf@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c