]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: preserve CEPH_OSD_FLAG_FULL_TRY in create_ioctx()
authorIlya Dryomov <idryomov@gmail.com>
Sat, 16 Oct 2021 19:08:55 +0000 (21:08 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 17 Oct 2021 15:24:41 +0000 (17:24 +0200)
commit7cc7efae2a64196db1866ce1c5a5a3305d0f5771
treeebb5c628d1263fcc089dac643f5f27923ade0aae
parentc19250ce3cb30a5a0409e3ebd4142dad6191642e
librbd: preserve CEPH_OSD_FLAG_FULL_TRY in create_ioctx()

The obvious use case is an image with a separate data pool but it could
be useful in other places too.

While at it, set_namespace() call in handle_v2_get_data_pool() is
redundant since create_ioctx() already takes care of it.

Fixes: https://tracker.ceph.com/issues/52961
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/Utils.cc
src/librbd/image/OpenRequest.cc
src/test/librbd/test_librbd.cc