From: Ilya Dryomov Date: Thu, 19 Jun 2014 07:38:14 +0000 (+0400) Subject: rbd: rbd_obj_request_wait() should cancel the request if interrupted X-Git-Tag: omap-for-v3.17/fixes-against-rc2~85^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c20a066f1a4ee1339db0efb58290fbb62e62f2;p=pandora-kernel.git rbd: rbd_obj_request_wait() should cancel the request if interrupted rbd_obj_request_wait() should cancel the underlying OSD request if interrupted. Otherwise libceph will hold onto it indefinitely, causing assert failures or leaking the original object request. This also adds an rbd wrapper around ceph_osdc_cancel_request() to match rbd_obj_request_submit() and rbd_obj_request_wait(). Signed-off-by: Ilya Dryomov Reviewed-by: Alex Elder --- Reading git-diff-tree failed