]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: use correct ioctx for namespace 59772/head
authorN Balachandran <nibalach@redhat.com>
Thu, 22 Aug 2024 08:15:36 +0000 (13:45 +0530)
committerN Balachandran <nibalach@redhat.com>
Thu, 12 Sep 2024 15:29:58 +0000 (20:59 +0530)
commit5daedab469467c76626529cb0128327c3945aba8
tree4c81cb9dc6d08b22928caa2017d52ef6034b51cb
parent2c01458affee2b2435cd231b6e392435c1c21661
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