]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
scsi_dh: integrate into the core SCSI code
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Aug 2015 12:16:57 +0000 (14:16 +0200)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 28 Aug 2015 20:14:56 +0000 (13:14 -0700)
commit086b91d052ebe4ead5d28021afe3bdfd70af15bf
treef168084b13c2fbf924f45567c7b749962eff5f4d
parentdaaa858b7a6bb497f11c2aae555053b9c047824b
scsi_dh: integrate into the core SCSI code

Stop building scsi_dh as a separate module and integrate it fully into the
core SCSI code with explicit callouts at bus scan time.  For now the
callouts are placed at the same point as the old bus notifiers were called,
but in the future we will be able to look at ALUA INQUIRY data earlier on.

Note that this also means that the device handler modules need to be loaded
by the time we scan the bus.  The next patches will add support for
autoloading device handlers at bus scan time to make sure they are always
loaded if they are enabled in the kernel config.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/Makefile
drivers/scsi/device_handler/Kconfig
drivers/scsi/device_handler/Makefile
drivers/scsi/scsi_dh.c
drivers/scsi/scsi_priv.h
drivers/scsi/scsi_sysfs.c
include/scsi/scsi_dh.h