]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PrimaryLogPG: do not pull-up snapc to snapset
authorSage Weil <sage@redhat.com>
Fri, 3 Nov 2017 20:52:13 +0000 (15:52 -0500)
committerSage Weil <sage@redhat.com>
Fri, 3 Nov 2017 20:56:25 +0000 (15:56 -0500)
commit4f30e677857fbe26b86aacf33c1b0f35fe65f555
tree10100b7a677c96de41278a717aaf916a5f8c5bc9
parentbb0d8e28282f3321bcbfe2911ba158a91170db9c
osd/PrimaryLogPG: do not pull-up snapc to snapset

make_writeable() had some logic to pull old request snapcs forward to
what was in the SnapSet.  This has no effect: if we pull forward, the
main block of make_writeable does not trigger, because no clone is
generated when snapc =~ snapset.

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