]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Get the currently atime of the object in cache pool for eviction
authorXinze Chi <xmdxcxz@gmail.com>
Wed, 29 Oct 2014 07:11:11 +0000 (07:11 +0000)
committerLoic Dachary <ldachary@redhat.com>
Wed, 11 Mar 2015 09:24:00 +0000 (10:24 +0100)
commit7831582026441abbd6066dd951db4b63ffb45402
tree2aa7ce51c8cba4d4bea6da83b34945685f53af46
parentbaa74b88a4f4b6073b99b7a9774692b37405b59e
Get the currently atime of the object in cache pool for eviction

Because if there are mutiple atime in agent_state for the same object, we should use the recently one.

Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
(cherry picked from commit 1fef4c3d541cba360738437420ebfa2447d5802e)
src/osd/ReplicatedPG.cc