]> git.apps.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)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 4 Jan 2018 02:25:35 +0000 (21:25 -0500)
commitce7cd1d5e6e2c97e44de069be75607b7ce2caddf
tree47aefb80ec57180412fb98ff64694862404bb53e
parent371683a15eccd26441ed5374fb38cb70d7fa52f4
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)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_cache.cc
src/rgw/rgw_cache.h
src/rgw/rgw_rados.h