]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/ObjectCacher: make trim() trim Objects
authorSage Weil <sage@inktank.com>
Tue, 23 Oct 2012 16:20:35 +0000 (09:20 -0700)
committerSage Weil <sage@inktank.com>
Fri, 26 Oct 2012 18:31:45 +0000 (11:31 -0700)
commit8920f417bf71af98e9dd89613e39ddc140c2123c
tree91b9b6f975362ad94561b763e4aeb508d4afc5df
parentf241e22f529c60b9563770f61f5cdadccfff5d79
osdc/ObjectCacher: make trim() trim Objects

Pull unpinned objects off the LRU in trim().  This never happens currently
due to all the explicit calls to close_object()...

Signed-off-by: Sage Weil <sage@inktank.com>
src/client/Client.cc
src/common/config_opts.h
src/librbd/ImageCtx.cc
src/osdc/ObjectCacher.cc
src/osdc/ObjectCacher.h