]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ceph: wake up 'safe' waiters when unregistering request
authorYan, Zheng <zheng.z.yan@intel.com>
Thu, 31 Oct 2013 01:10:47 +0000 (09:10 +0800)
committerSage Weil <sage@inktank.com>
Sat, 23 Nov 2013 19:01:05 +0000 (11:01 -0800)
commitfc55d2c9448b34218ca58733a6f51fbede09575b
tree3aacd587707e00cd58ae7db659d73993ef7703ef
parenteb1b8af33c2e42a9a57fc0a7588f4a7b255d2e79
ceph: wake up 'safe' waiters when unregistering request

We also need to wake up 'safe' waiters if error occurs or request
aborted. Otherwise sync(2)/fsync(2) may hang forever.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Sage Weil <sage@inktank.com>
fs/ceph/mds_client.c