]> git.baikalelectronics.ru Git - kernel.git/commit
scsi_dh: don't try to load a device handler during async probing
authorChristoph Hellwig <hch@lst.de>
Thu, 8 Oct 2015 08:25:32 +0000 (09:25 +0100)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 27 Oct 2015 06:03:31 +0000 (15:03 +0900)
commit6d0176c67695cb497f31dc56bde2db48087d38d9
tree7b6294273236934d703758c623f7059ff67d7479
parentcdea9d3ad1d192675e172c3e591d76badbfdf1fa
scsi_dh: don't try to load a device handler during async probing

Request_module gets really unhappy when called from async probing, so
revert to not auto load device handler modules during the SCSI bus
scan.  While autoloading would be really useful we never did this
until 4.3-rc and it turns out that functionality doesn't actually
work.

Fixes: 566079 ("dm-mpath, scsi_dh: request scsi_dh modules in scsi_dh, not dm-mpath")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Paul Mackerras <paulus@ozlabs.org>
Tested-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/scsi_dh.c