]> git.baikalelectronics.ru Git - kernel.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)
commit7f11f1345def1343acf5de5e13666bb31b3ab77b
tree41559b37754818d637d11aec1b61a138d7a8efb5
parent4d90cfc55e6f5247198910ac8471fe8e0fc377a3
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