]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: use fh_hook::is_linked() to check residence 13703/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 28 Feb 2017 20:49:06 +0000 (15:49 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 28 Feb 2017 20:56:40 +0000 (15:56 -0500)
commitc0aa515f8d8c57ec5ee09e3b60df3cac60453c40
treeb7623becac582b17f95b24250dad062ae47cd576
parent7884fbff04e8c0c0cc81923c21eb4a62350c332f
rgw_file:  use fh_hook::is_linked() to check residence

Previously we assumed that !deleted handles were resident--there
is an observed case where a !deleted handle is !linked.  Since
we currently use safe_link mode, an is_linked() check is
available, and exhaustive.

Fixes: http://tracker.ceph.com/issues/19111
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.cc