From: Sage Weil Date: Fri, 14 May 2010 16:35:38 +0000 (-0700) Subject: ceph: invalidate affected dentry leases on aborted requests X-Git-Tag: v2.6.35-rc1~419^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81a6cf2d30eac5d790f53cdff110892f7b18c7fe;p=pandora-kernel.git ceph: invalidate affected dentry leases on aborted requests If we abort a request, we return to caller, but the request may still complete. And if we hold the dir FILE_EXCL bit, we may not release a lease when sending a request. A simple un-tar, control-c, un-tar again will reproduce the bug (manifested as a 'Cannot open: File exists'). Ensure we invalidate affected dentry leases (as well dir I_COMPLETE) so we don't have valid (but incorrect) leases. Do the same, consistently, at other sites where I_COMPLETE is similarly cleared. Signed-off-by: Sage Weil --- Reading git-diff-tree failed