OpenCloudOS-Kernel/drivers/scsi/device_handler
Mike Snitzer 7e8a74b177 [SCSI] scsi_dh: add scsi_dh_attached_handler_name
Introduce scsi_dh_attached_handler_name() to retrieve the name of the
scsi_dh that is attached to the scsi_device associated with the provided
request queue.  Returns NULL if a scsi_dh is not attached.

Also, fix scsi_dh_{attach,detach} function header comments to document
@q rather than @sdev.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Tested-by: Babu Moger <babu.moger@netapp.com>
Reviewed-by: Chandra Seetharaman <sekharan@us.ibm.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-07-20 08:58:42 +01:00
..
Kconfig [SCSI] scsi_dh: add generic SPC-3 alua handler 2008-07-26 15:14:52 -04:00
Makefile [SCSI] scsi_dh: add generic SPC-3 alua handler 2008-07-26 15:14:52 -04:00
scsi_dh.c [SCSI] scsi_dh: add scsi_dh_attached_handler_name 2012-07-20 08:58:42 +01:00
scsi_dh_alua.c [SCSI] scsi_dh_alua: Re-enable STPG for unavailable ports 2012-07-20 08:58:36 +01:00
scsi_dh_emc.c [SCSI] scsi_dh_emc: Add a match function for emc device handler 2011-12-15 10:55:00 +04:00
scsi_dh_hp_sw.c [SCSI] scsi_dh_hp_sw: Adding the match function for hp_sw device handler 2011-12-15 10:55:00 +04:00
scsi_dh_rdac.c [SCSI] scsi_dh_rdac: Fix for unbalanced reference count 2012-02-22 12:15:19 -06:00