]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: do either flush or evict but not both in agent_work 5627/head
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Fri, 21 Aug 2015 02:56:51 +0000 (10:56 +0800)
committerZhiqiang Wang <zhiqiang.wang@intel.com>
Fri, 21 Aug 2015 02:56:51 +0000 (10:56 +0800)
commit1546d57d71e5ce65c8c0b000882176724ce1a5b2
tree15455b72ea88bae553be16deaade53a8004c22c3
parent5eb80b81c8d635934f0c18ca0b61794550801f12
osd: do either flush or evict but not both in agent_work

An cache pool object is either dirty or not. It's unlikely the agent
will do both flush and evict at the same time for an object.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
src/osd/ReplicatedPG.cc