]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Allow evict operations to be throttled 5463/head
authorYunchuan Wen <yunchuanwen@ubuntukylin.com>
Tue, 4 Aug 2015 08:47:05 +0000 (08:47 +0000)
committerYunchuan Wen <yunchuanwen@ubuntukylin.com>
Tue, 4 Aug 2015 09:10:41 +0000 (09:10 +0000)
commit09839d00c0e1c5bc0e9ee2e1a1d24cb2cf9a1118
tree39fd04bfd0201034173576b562ebfd1baa09a191
parentcaf98c83d2c42dce5c38c1c984076830df970c75
Allow evict operations to be throttled

In agent_work(), it did not touch agent_ops when
it started an evict operation, so evict operations
were not throttled. This patch fixes it.

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
Reviewed-by: Mingxin Liu <mingxinliu@ubuntukylin.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h