]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix lease revocation when seq doesn't match
authorSage Weil <sage@newdream.net>
Fri, 4 Jun 2010 17:05:40 +0000 (10:05 -0700)
committerSage Weil <sage@newdream.net>
Fri, 4 Jun 2010 17:05:40 +0000 (10:05 -0700)
commit44df9a7a4a7f8c1f334e6e42fca5b4d1c335d44d
treed7a09a153c3b00add2eee343d8584bc90b1cb848
parentce358189fe888e976e01f4d958016dd72d7a2bb1
ceph: fix lease revocation when seq doesn't match

If the client revokes a lease with a higher seq than what we have, keep
the mds's seq, so that it honors our release.  Otherwise, we can hang
indefinitely.

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