]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: fix sparse read won't trigger repair correctly 17475/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 24 Aug 2017 07:53:23 +0000 (15:53 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 5 Sep 2017 09:39:41 +0000 (11:39 +0200)
commita656a38d285acb413d07c5b8b3d0ea90d491ed53
treea797c224eac1cca92dec3cfeadbefeede4299c1b
parent823585311c41729309809690a7df5cb83c4ece12
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>
(cherry picked from commit 4ad25c346215dc2ddc4b1a43948b6fe01316edf2)
src/osd/PrimaryLogPG.cc