]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: make ErasureCodeIsaTableCache drop entries according to LRU 4114/head
authorAndreas Peters <Andreas.Joachim.Peters@cern.ch>
Fri, 20 Mar 2015 09:21:26 +0000 (10:21 +0100)
committerAndreas Peters <Andreas.Joachim.Peters@cern.ch>
Fri, 20 Mar 2015 09:56:46 +0000 (10:56 +0100)
commit99992383964182f12fed2d9dea125186a3c28c10
tree8d5146b4343bf383752a3fa6c04503091d1efae6
parentb5e82bb8c5fd351c2fe586ab44f7028b481975b7
erasure-code: make ErasureCodeIsaTableCache drop entries according to LRU

There was a bug in the arguments used by the splice function to move elements from the LRU list to the head of the list.
To simplify the implementation the direction of the LRU list has been changed e.g. newest entries are pushed in front.

Signed-off-by: Andreas-Joachim Peters <andreas.joachim.peters@cern.ch>
src/erasure-code/isa/ErasureCodeIsaTableCache.cc