]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: do not invalidate clear_regions of missing item at boot
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 17 Jun 2019 03:05:31 +0000 (11:05 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 20 Aug 2019 05:27:34 +0000 (13:27 +0800)
commit1c582b7dd1d112f0e28f60a0dcc2dd03627deda6
treec7c77b10896fd8d4224dc8d0549fdad2f16503c8
parent122c17f55fad81b9c868460b959126b5d99e2eff
osd: do not invalidate clear_regions of missing item at boot

Seems we'll always mark clear_regions as all dirty
when reading pg logs and missing items off the disk,
which as a result turns incremental recovery off by default.
Also using std::move seems to be a bit more efficient
and robust here.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PGLog.h
src/osd/osd_types.h