]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
scsi_dh: move device matching to the core code
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Aug 2015 12:16:58 +0000 (14:16 +0200)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 28 Aug 2015 20:14:56 +0000 (13:14 -0700)
commitd95dbff2a41e934cd8789734b34dc591e78ba11c
treeca293978ae9c923ba143a5c1d00aba07616a8ef1
parent086b91d052ebe4ead5d28021afe3bdfd70af15bf
scsi_dh: move device matching to the core code

Add a single list of devices that need non-ALUA device handlers to the core
scsi_dh code so that we can autoload the modules for them at probe time.

While this is a little ugly in terms of architecture it actually
significantly simplifies the code in addition to the new autoloading
functionality.

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/device_handler/scsi_dh_alua.c
drivers/scsi/device_handler/scsi_dh_emc.c
drivers/scsi/device_handler/scsi_dh_hp_sw.c
drivers/scsi/device_handler/scsi_dh_rdac.c
drivers/scsi/scsi_dh.c
include/scsi/scsi_device.h