]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: release cap on import if we don't have the inode
authorSage Weil <sage@newdream.net>
Wed, 9 Jun 2010 23:47:10 +0000 (16:47 -0700)
committerSage Weil <sage@newdream.net>
Thu, 10 Jun 2010 20:30:07 +0000 (13:30 -0700)
commit0d517f5a316bf00897a155141fc8e249f16b1bca
treec633b938f72dcd39c84f2430c7d4025331ab4369
parent2e2c9a558803b8e7b758e3593195cf4e042b20ac
ceph: release cap on import if we don't have the inode

If we get an IMPORT that give us a cap, but we don't have the inode, queue
a release (and try to send it immediately) so that the MDS doesn't get
stuck waiting for us.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h