]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: unwind canceled flock state
authorSage Weil <sage@newdream.net>
Wed, 25 May 2011 21:56:12 +0000 (14:56 -0700)
committerSage Weil <sage@newdream.net>
Wed, 8 Jun 2011 04:36:45 +0000 (21:36 -0700)
commit55a686edb9c9f6f4a14a94e112e7f03fde2eb575
tree5058e4c66a16e2c1d808ce66317ef2c9fdb21590
parent2d7f79d0644330e04b2e6355fa37115093dbe634
ceph: unwind canceled flock state

If we request a lock and then abort (e.g., ^C), we need to send a matching
unlock request to the MDS to unwind our lock attempt to avoid indefinitely
blocking other clients.

Reported-by: Brian Chrisman <brchrisman@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/locks.c