]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache 13712/head
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 1 Mar 2017 01:24:12 +0000 (20:24 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 3 Mar 2017 15:55:20 +0000 (10:55 -0500)
commitd51a3b1224ba62bb53c6c2c7751fcf7853c35a4b
tree930ba2f49375b621d84266ef098f3a5f0751d8d5
parent01f010c9b564c0c17422befd582303b363b6b459
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>
src/rgw/rgw_file.cc