]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: use get_ssc_as_of for snapc for flushing clones
authorSage Weil <sage@redhat.com>
Wed, 12 Jun 2019 15:37:51 +0000 (10:37 -0500)
committerSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 13:37:49 +0000 (08:37 -0500)
commitf58f5cfc5197e283bb1b1b0f234a6133b9a7feaa
tree70a8bac48df0818aa41c84406874853eb1bb73cc
parentd7c343eebff1b40bb7f0ecb7ca91ca2d10ed3c2f
osd/PrimaryLogPG: use get_ssc_as_of for snapc for flushing clones

We will stop maintaining SnapSet::snaps shortly.  Instead, generate this
snapc using the existing SnapSet::get_ssc_as_of() method, which will now
derive the snap list from the clone_snaps member.

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