]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: filter implicit features and non-user snapshots from image state
authorJason Dillaman <dillaman@redhat.com>
Fri, 21 Feb 2020 14:44:06 +0000 (09:44 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 21 Feb 2020 15:00:56 +0000 (10:00 -0500)
commite99f516d3d5a30f7a4e6bafc5635f9bcb51cdd7b
treebb92a6a5590e322f77e7a321ab4cf584e62263bf
parent50d42bef49b9fcbc6bdd40e395ff1419b28cad0d
librbd: filter implicit features and non-user snapshots from image state

The implicit features are not controlled by the user so they should not
be mirrored. Similarly, trash snapshots are implicitly created by need
and group snapshots are not supported for mirroring.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/mirror/snapshot/SetImageStateRequest.cc
src/test/librbd/test_mirroring.cc