]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/osd_types: fix ideal lower bound object-id of pg
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 4 Apr 2018 08:50:08 +0000 (16:50 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 4 Apr 2018 08:50:08 +0000 (16:50 +0800)
commit33caa2488991c3132912da59a08859320eb3cfd2
tree3b3ea959363626bddbd4b40990c21ad22049a18b
parent4eb4d4fb0f59d963ca36543d107922992c44ac2f
osd/osd_types: fix ideal lower bound object-id of pg

CEPH_NOSNAP is translated into a large unsigned 64-bit integer
which is bigger than any valid snap-id. So the ideal smallest
object of a specific PG would be a clone of snap-id 0, not a head object.

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