krbd: optionally skip waiting for udev events
Add support for noudev option to allow mapping and unmapping images
from a privileged container in a non-initial network namespace (e.g.
when using Multus CNI).
Fixes: https://tracker.ceph.com/issues/47128
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
2e657d134a1af489dcf623d207be259ce3dda9bc)
Conflicts:
doc/man/8/rbd.rst [ crush_location, read_from_replica and
compression_hint map options not in nautilus ]
src/krbd.cc [ commits
08bf0b628803 ("krbd: do away with
explicit memory management") and
1e67e240f4dd ("krbd: misc
cleanups") not in nautilus ]
src/tools/rbd/action/Kernel.cc [ commits
34f539d8af33 ("rbd:
delay parsing of default kernel map options") and
da4ffd834fb8
("rbd: rename some MapOptions instances to unmap_options") not
in nautilus ]