]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: optionally move parent image to trash on remove 27521/head
authorMykola Golub <mgolub@suse.com>
Mon, 15 Apr 2019 10:35:53 +0000 (11:35 +0100)
committerMykola Golub <mgolub@suse.com>
Fri, 19 Apr 2019 07:53:38 +0000 (08:53 +0100)
commit6e1434eefc3dd4c815359a85d9d51a798983d9a2
tree8760a664a22353ebec28f5e441a152f47f383f18
parentbf8a67f3b8bde4c8759c6b7251358148a85f63d4
librbd: optionally move parent image to trash on remove

and auto-delete when the last clone is detached

Signed-off-by: Mykola Golub <mgolub@suse.com>
13 files changed:
qa/workunits/rbd/cli_generic.sh
src/cls/rbd/cls_rbd_types.h
src/common/options.cc
src/include/rbd/librbd.h
src/librbd/api/Image.cc
src/librbd/image/DetachChildRequest.cc
src/librbd/image/DetachChildRequest.h
src/librbd/image/PreRemoveRequest.cc
src/librbd/image/PreRemoveRequest.h
src/librbd/image/RemoveRequest.cc
src/librbd/operation/SnapshotRemoveRequest.cc
src/test/librbd/image/test_mock_DetachChildRequest.cc
src/tools/rbd/action/Trash.cc