]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: snapshot remove request now handles clone v2
authorJason Dillaman <dillaman@redhat.com>
Tue, 30 Jan 2018 03:15:11 +0000 (22:15 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 5 Feb 2018 16:12:00 +0000 (11:12 -0500)
commite22db4ec76819a4adec3694cbb087e278faa5ab0
tree370f378c5e6aeb0b252a0aee2eb1a7965313845d
parenta3b2d82c2410957f912b4742198c6e2bc2277fd6
librbd: snapshot remove request now handles clone v2

The state machine was converted to the current style and the
final removal of the snapshot was delayed until the end to
permit the retry of a previously failed snapshot removal.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/operation/SnapshotRemoveRequest.cc
src/librbd/operation/SnapshotRemoveRequest.h
src/test/librbd/operation/test_mock_SnapshotRemoveRequest.cc