]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: introduce LIST_WATCHERS_MIRROR_INSTANCES_ONLY flag
authorMykola Golub <mgolub@suse.com>
Wed, 4 Dec 2019 09:31:48 +0000 (09:31 +0000)
committerMykola Golub <mgolub@suse.com>
Tue, 10 Dec 2019 15:45:30 +0000 (15:45 +0000)
commit3c780822827911d3e61772e89bc91aa1b4c25686
treeb5b96059b0e55c18efc68a31da2532f3443716da
parentfe550f5e52d91eda27747ad539be9b6398f42471
librbd: introduce LIST_WATCHERS_MIRROR_INSTANCES_ONLY flag

Also, don't skip listing mirror watchers if the image has journaling
disabled -- it is not correct for snapshot mirror mode.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/librbd/image/ListWatchersRequest.cc
src/librbd/image/ListWatchersRequest.h