]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache 14231/head
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 1 Mar 2017 01:24:12 +0000 (20:24 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 29 Mar 2017 16:59:17 +0000 (12:59 -0400)
commiteedb9f7d2d2a4047b473f23c5a6956c40a3da126
tree1b44e34e8e7b49364248ce19451f722a384e7ba1
parent6a175f27961bd4f0fda8f94c200458f17865c9f9
rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache

Formerly masked in part by the reclaim() action, direct-delete now
substitutes for reclaim() iff its LRU lane is over its high-water
mark, and in particular, like reclaim() the destructor is certain
to see handles still interned on the FHcache when nfs-ganesha is
recycling objects from its own LRU.

Fixes: http://tracker.ceph.com/issues/19112
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit d51a3b1224ba62bb53c6c2c7751fcf7853c35a4b)
src/rgw/rgw_file.cc