]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PrimaryLogPG: fix sparse read won't trigger repair correctly
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 24 Aug 2017 07:53:23 +0000 (15:53 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 24 Aug 2017 08:03:44 +0000 (16:03 +0800)
commit4ad25c346215dc2ddc4b1a43948b6fe01316edf2
treedc614a8ce561559de549135c5db5f9f26c14d3e6
parent270f1edaae41d0a9eb17e5c37295621f9259e8a0
osd/PrimaryLogPG: fix sparse read won't trigger repair correctly

Normal reads instead of hole-reads should trigger auto-repair.
Also we shall quit on successfully triggering a repair, or else
we are at risk of doing the op multiple times.

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