]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls/rbd: added clean_since_snap_id to MirrorSnapshotNamespace
authorJason Dillaman <dillaman@redhat.com>
Tue, 21 Apr 2020 15:07:30 +0000 (11:07 -0400)
committerNathan Cutler <ncutler@suse.com>
Wed, 29 Apr 2020 12:06:58 +0000 (14:06 +0200)
commit6716ecc393503b501793f4f921942fde1f417daa
treede0fa88a2a84f0cdc34d1256e9b7d69fef3ea1ac
parentd7e7b630e02e6fa92f61452fd9ad20b8ef9d5f82
cls/rbd: added clean_since_snap_id to MirrorSnapshotNamespace

It is only valid for primary snapshots so we can re-use the space
previously used by the primary_snap_id without the need to bump the
version id.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 50702eece0b1d7535d387bdf923b88cd4bbfee37)
src/cls/rbd/cls_rbd_types.cc
src/cls/rbd/cls_rbd_types.h