Skip to content
Commit 1bab0de0 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by James Bottomley
Browse files

dm-mpath, scsi_dh: don't let dm detach device handlers



While allowing dm-mpath to attach device handlers is a functionality we need
for backwards compatibility reason there is no reason to reference count
them and detach them if dm-mpath stops using the device for some reason.

If the device handler works for the given device it can just stay attached,
and we can take the retain_hw_handler codepath.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarMike Snitzer <snitzer@redhat.com>
Acked-by: default avatarHannes Reinecke <hare@Suse.de>
Signed-off-by: default avatarJames Bottomley <JBottomley@Odin.com>
parent 36dd5acd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment