]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: change ObjectCache::lru from deque back to list
authorCasey Bodley <cbodley@redhat.com>
Wed, 3 Jan 2018 19:34:41 +0000 (14:34 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 3 Jan 2018 19:39:03 +0000 (14:39 -0500)
commit3fa6a3fadcbf7be764bac60484c8b4b39d4c74e5
tree1ac0d69535e64b6ef619cc62faa259a33f5272ae
parent819a3578fa8a6b5c9208b324eaabaef2c312234d
rgw: change ObjectCache::lru from deque back to list

ObjectCacheEntry stores an lru_iter into this lru, and depends on that
iterator remaining valid as other entries are inserted/erased

Fixes: http://tracker.ceph.com/issues/22560
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_cache.cc
src/rgw/rgw_cache.h