]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: use correct ioctx for namespace 59774/head
authorN Balachandran <nibalach@redhat.com>
Thu, 22 Aug 2024 08:15:36 +0000 (13:45 +0530)
committerN Balachandran <nibalach@redhat.com>
Fri, 13 Sep 2024 03:32:36 +0000 (09:02 +0530)
commit989149041426433cc6fc60f4e97f54e3b6917a6d
tree87bc4cc2d28d36c916295e64d20a5def2c8f7538
parenteb16b97b08b1a378bbb6cbc2dadc21f07d8ac10b
rbd-mirror: use correct ioctx for namespace

The PoolReplayer uses the ioctx for the default namespace
to check if other namespaces are enabled for mirroring, causing
it to incorrectly conclude that they are all enabled.

Fixes: https://tracker.ceph.com/issues/67676
Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit 2346cd912ee2c5aefe5b203cc872e0528fc96a49)
src/test/rbd_mirror/test_mock_PoolReplayer.cc
src/tools/rbd_mirror/PoolReplayer.cc