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>
Showing
- drivers/scsi/device_handler/scsi_dh_alua.c 0 additions, 6 deletionsdrivers/scsi/device_handler/scsi_dh_alua.c
- drivers/scsi/device_handler/scsi_dh_emc.c 0 additions, 29 deletionsdrivers/scsi/device_handler/scsi_dh_emc.c
- drivers/scsi/device_handler/scsi_dh_hp_sw.c 0 additions, 30 deletionsdrivers/scsi/device_handler/scsi_dh_hp_sw.c
- drivers/scsi/device_handler/scsi_dh_rdac.c 0 additions, 50 deletionsdrivers/scsi/device_handler/scsi_dh_rdac.c
- drivers/scsi/scsi_dh.c 66 additions, 18 deletionsdrivers/scsi/scsi_dh.c
- include/scsi/scsi_device.h 0 additions, 1 deletioninclude/scsi/scsi_device.h
Loading
Please register or sign in to comment