]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
krbd: modprobe before calling build_map_buf() 30978/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 17 Oct 2019 14:23:41 +0000 (16:23 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 17 Oct 2019 14:52:43 +0000 (16:52 +0200)
commit286bdbfe248e4d7a4a621cf39f01e010719f6ce8
tree118af20bfce80300ef12a4c0f4a20480449a4039
parentc9cedb735ce0e336900d0b34c0a6288bf91848ed
krbd: modprobe before calling build_map_buf()

Otherwise add_key() in set_kernel_secret() fails as if running against
an ancient kernel and we fall back to secret= in options for the first
image being mapped on the machine.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
qa/rbd/krbd_modprobe.t [new file with mode: 0644]
qa/suites/krbd/basic/tasks/krbd_modprobe.yaml [new file with mode: 0644]
src/krbd.cc