]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: use correct ioctx for namespace
authorN Balachandran <nibalach@redhat.com>
Thu, 22 Aug 2024 08:15:36 +0000 (13:45 +0530)
committerN Balachandran <nibalach@redhat.com>
Tue, 27 Aug 2024 05:56:38 +0000 (11:26 +0530)
commit2346cd912ee2c5aefe5b203cc872e0528fc96a49
tree84e0c2daf443813941c6532eb906d77d877bdecc
parent64f5bff3791df7656457f2462cf8b6aeb824549f
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>
src/test/rbd_mirror/test_mock_PoolReplayer.cc
src/tools/rbd_mirror/PoolReplayer.cc