]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PG: perfer EC async_recovery_targets in reverse order of cost
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 23 Apr 2018 00:50:21 +0000 (08:50 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 23 Apr 2018 01:08:09 +0000 (09:08 +0800)
commit441876f4d2211dee54a5f5af21149163f1166eaf
tree774a4b8636fca55685c1f97ce1c8a69a0d52b8d7
parent735d5fd414323a218d38af1900aa9ab818c43502
osd/PG: perfer EC async_recovery_targets in reverse order of cost

This is a follow-up fix of https://github.com/ceph/ceph/pull/21578,
in which I forget that erasure-coded-pools share the same logic
when determining the async_recovery_targets..

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PG.cc