rbd: add force close option
authorMike Christie <mchristi@redhat.com>
Thu, 18 Aug 2016 16:38:45 +0000 (18:38 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 24 Aug 2016 21:49:17 +0000 (23:49 +0200)
commit0276dca6c1ecb9a665645ff573e70685a57759af
tree36498244b9e8de7e3d51cc494d32d4979ae94191
parent0d6d1e9c2e970c26e8a1ec4932ffffacec90e0b4
rbd: add force close option

This adds a force close option, so we can force the unmapping
of a rbd device that is open. If a path/device is blacklisted, apps
like multipathd can map a new device and then unmap the old one.
The unmapping cleanup would then be handled by the generic hotunplug
code paths in multipahd like is done for iSCSI, FC/FCOE, SAS, etc.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Documentation/ABI/testing/sysfs-bus-rbd
drivers/block/rbd.c