]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: fix default pool handling for krbd map/unmap
authorIlya Dryomov <idryomov@gmail.com>
Wed, 26 Aug 2020 12:12:29 +0000 (14:12 +0200)
committerMykola Golub <mgolub@suse.com>
Mon, 19 Jul 2021 09:47:24 +0000 (12:47 +0300)
commit7431dfeb53cdaa46dfe95ee8922340ed74f15264
tree6b25d81affe4d47fa72bc3404a71af36653ee26a
parent1380c9938d69fad0707ef33ce7262a31d5fcaadc
rbd: fix default pool handling for krbd map/unmap

The default pool name does not get passed to the kernel since commit
96f05a7956b3 ("rbd: delay determination of default pool name").  The
kernel ends up interpreting the image name as the pool name (and the
snapshot name as the image name).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit c06338f33c9c8535562c99b6f2b779fbedbba058)
src/tools/rbd/action/Kernel.cc