]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: chunky_scrub: degeneralize end boundary condition to head
authorSage Weil <sage@redhat.com>
Fri, 1 Sep 2017 15:43:49 +0000 (11:43 -0400)
committerSage Weil <sage@redhat.com>
Mon, 11 Sep 2017 14:13:35 +0000 (09:13 -0500)
commita16968927ca5348b1d4d5cdca6a201e21f211ef0
tree88752af87c63b702ee291ba28204d57ec8b8560f
parent95c707706891f48b1129c1a4ed02f078ed346b46
osd/PG: chunky_scrub: degeneralize end boundary condition to head

We can swap has_snapset() for is_head(), and drop the get_head()
on hobject_t's we know are head.

(The original constraint on the scrub boundary is still needed;
the clones get created to the left of both head and snapdir.)

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PG.h