]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: always remove the snap we are trimming
authorSage Weil <sage@redhat.com>
Mon, 10 Jun 2019 22:31:08 +0000 (17:31 -0500)
committerSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 13:37:50 +0000 (08:37 -0500)
commit7628474723489d9bb5ef97e35a2e102a8ae04d63
tree20c248041a957e1e08aff755309c5a59d1908c6d
parent8d9a27f5ea9d860f2c407346b8b7ef7b99afcbce
osd/PrimaryLogPG: always remove the snap we are trimming

This doesn't change behavior (yet), since we only trim snaps that are
marked for removal in the OSDMap.

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