aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_qdio.c
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2010-09-08 14:39:56 +0200
committerJames Bottomley <James.Bottomley@suse.de>2010-09-16 22:54:18 -0400
commitf8210e34887e1feb977a9b6b8caa086855af40c9 (patch)
treeb9b2fe4f289f326334ac7327d7764f0943cc1229 /drivers/s390/scsi/zfcp_qdio.c
parent[SCSI] zfcp: Use SCSI device data zfcp_scsi_dev instead of zfcp_unit (diff)
downloadlinux-dev-f8210e34887e1feb977a9b6b8caa086855af40c9.tar.xz
linux-dev-f8210e34887e1feb977a9b6b8caa086855af40c9.zip
[SCSI] zfcp: Allow midlayer to scan for LUNs when running in NPIV mode
Enable the LUN scanning mechanism in the SCSI midlayer: - Do not set the disable_target_scan bit in the FC transport class. - Set max_lun to 0xFFFFFFFF to allow the midlayer scan to include the two-level hierachical LUNs (like 0x40XX40XX00000000, but in SCSI midlayer LUN format). - Set max_id to a high value to allow triggering the SCSI device rescan from sysfs. When running in NPIV mode, zfcp accepts all LUNs in slave_attach. When running in non-NPIV mode, the list of zfcp_unit structs determines which SCSI devices are allowed on the current system. Reviewed-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions