]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: respect rbd_default_snapshot_quiesce_mode in group_snap_create()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 21 Mar 2025 13:43:50 +0000 (14:43 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Apr 2025 07:08:08 +0000 (09:08 +0200)
commit396acc957e6fea09ce3b48558fd59197e434f4b7
tree30e8d6adffa01ba380fdc16c3aaa0fe9d12704b2
parentaa395e6f08e1523b2ffbdfcbb547af179e491d74
librbd: respect rbd_default_snapshot_quiesce_mode in group_snap_create()

Make group_snap_create() behave the same as snap_create() and
mirror_image_create_snapshot(): APIs that don't take RBD_SNAP_CREATE_
flags explicitly should respect rbd_default_snapshot_quiesce_mode
option.

Fixes: https://tracker.ceph.com/issues/70632
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b91ab48ccc621431b5327d0806137152e8fbb092)
src/librbd/Utils.cc
src/librbd/Utils.h
src/librbd/librbd.cc