]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Add expiration in the object cache
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 19 Dec 2017 21:47:09 +0000 (16:47 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 5 Jan 2018 16:11:56 +0000 (11:11 -0500)
commit5ceb7cb998b505d2fe0cd98b534a918424e4d809
tree0705e70392ce1f9d01225709f6bab707430c091a
parent767fec1e22247ec1c6010c308d51ba77dd31cb39
rgw: Add expiration in the object cache

We had it in the chained caches, but it doesn't do much good if
they just fetch objects out of the object cache.

Fixes: http://tracker.ceph.com/issues/22517
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 82a7e6ca31b416a7f0e41b5fda4c403d1d6be947)
src/rgw/rgw_cache.cc
src/rgw/rgw_cache.h