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)
commitaa91647c898d62e869fcf35e977ab3c533be8fc1
tree6a5ff908ecb2732d891baa4bac52b5690130e887
parent0aa12fb439838a85802ab8b7fbb9bcfc3e6e05cb
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