]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd/migration: move away from util::create_ioctx() in NativeFormat
authorIlya Dryomov <idryomov@gmail.com>
Mon, 5 Aug 2024 15:52:10 +0000 (17:52 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 18 Aug 2024 19:34:09 +0000 (21:34 +0200)
commit7986662157491419d366de3dd0070553abb9e1c8
treed809d766eb4582b733bb2871d27d561ca99331d4
parent57a8c535ccad35a9f6e11e8976bc32f390ad341c
librbd/migration: move away from util::create_ioctx() in NativeFormat

This is another step towards supporting migration from external
clusters, where creating an IoCtx from a Rados instance that has
nothing to do with dst_io_ctx would be needed.  It also allows to
get rid of a pool lookup in the middle of parsing code.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/migration/NativeFormat.cc