kernel-ark/drivers/s390/scsi
Christof Schmitt f8210e3488 [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>
2010-09-16 22:54:18 -04:00
..
Makefile [SCSI] zfcp: Move code for managing zfcp_unit devices to new file 2010-09-16 22:54:15 -04:00
zfcp_aux.c [SCSI] zfcp: Move code for managing zfcp_unit devices to new file 2010-09-16 22:54:15 -04:00
zfcp_ccw.c [SCSI] zfcp: Rename sysfs_device attribute to dev in zfcp_unit and zfcp_port 2010-02-17 17:46:30 -06:00
zfcp_cfdc.c [SCSI] zfcp: Use memdup_user and kstrdup 2010-07-28 09:48:45 -05:00
zfcp_dbf.c [SCSI] zfcp: Use SCSI device data zfcp_scsi_dev instead of zfcp_unit 2010-09-16 22:54:17 -04:00
zfcp_dbf.h [SCSI] zfcp: Use SCSI device data zfcp_scsi_dev instead of zfcp_unit 2010-09-16 22:54:17 -04:00
zfcp_def.h [SCSI] zfcp: Use SCSI device data zfcp_scsi_dev instead of zfcp_unit 2010-09-16 22:54:17 -04:00
zfcp_erp.c [SCSI] zfcp: Use SCSI device data zfcp_scsi_dev instead of zfcp_unit 2010-09-16 22:54:17 -04:00
zfcp_ext.h [SCSI] zfcp: Use SCSI device data zfcp_scsi_dev instead of zfcp_unit 2010-09-16 22:54:17 -04:00
zfcp_fc.c [SCSI] zfcp: Post events through FC transport class 2010-07-28 09:48:52 -05:00
zfcp_fc.h [SCSI] zfcp: Introduce experimental support for DIF/DIX 2010-07-28 09:48:56 -05:00
zfcp_fsf.c [SCSI] zfcp: Use SCSI device data zfcp_scsi_dev instead of zfcp_unit 2010-09-16 22:54:17 -04:00
zfcp_fsf.h [SCSI] zfcp: Introduce experimental support for DIF/DIX 2010-07-28 09:48:56 -05:00
zfcp_qdio.c [SCSI] zfcp: Trigger logging in the FCP channel on qdio error conditions 2010-07-28 09:48:58 -05:00
zfcp_qdio.h [SCSI] zfcp: Introduce experimental support for DIF/DIX 2010-07-28 09:48:56 -05:00
zfcp_reqlist.h [SCSI] zfcp: Move FSF request tracking code to new file 2010-02-17 17:46:19 -06:00
zfcp_scsi.c [SCSI] zfcp: Allow midlayer to scan for LUNs when running in NPIV mode 2010-09-16 22:54:18 -04:00
zfcp_sysfs.c [SCSI] zfcp: Use SCSI device data zfcp_scsi_dev instead of zfcp_unit 2010-09-16 22:54:17 -04:00
zfcp_unit.c [SCSI] zfcp: Use SCSI device data zfcp_scsi_dev instead of zfcp_unit 2010-09-16 22:54:17 -04:00