]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: fix hiwat behavior 13405/head
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 13 Feb 2017 01:18:26 +0000 (20:18 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Mon, 13 Feb 2017 21:28:20 +0000 (16:28 -0500)
commitb8791b2217e9ca87b2d17b51f283fa14bd68b581
treefd67ff683ea6003a404d8d73b08e7046aa2d4792
parentbeaeff059375b44188160dbde8a81dd4f4f8c6eb
rgw_file: fix hiwat behavior

Removed logic to skip reclaim processing conditionally on hiwat,
this probably meant to be related to a lowat value, which does
not exist.

Having exercised the hiwat reclaim behavior, noticed that the
path which moves unreachable objects to LRU, could and probably
should remove them altogether when q.size exceeds hiwat.  Now
the max unreachable float is lane hiwat, for all lanes.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/common/cohort_lru.h