]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: make mds requests killable, not interruptible
authorSage Weil <sage@newdream.net>
Mon, 24 May 2010 18:15:51 +0000 (11:15 -0700)
committerSage Weil <sage@newdream.net>
Sat, 29 May 2010 16:12:35 +0000 (09:12 -0700)
commit4e079b130f09d1497cbc173faaa47e6fcda0f1c0
tree6a5ff908ecb2732d891baa4bac52b5690130e887
parent925ac3699e5fd4528dbdb3d78f3ae2675aa20bb4
ceph: make mds requests killable, not interruptible

The underlying problem is that many mds requests can't be restarted.  For
example, a restarted create() would return -EEXIST if the original request
succeeds.  However, we do not want a hung MDS to hang the client too.  So,
use the _killable wait_for_completion variants to abort on SIGKILL but
nothing else.

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