Skip to contentSkip to conversation

zfcp: Disable LUN scanning from the FC transport class

PATCH New Swen Schillig 1 participant 1 message Aug 28, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 9/10 zfcp: Disable LUN scanning from the FC transport class

From: Christof Schmitt <[email protected]>

zfcp manages the valid SCSI units currently on its own. So we don't want the FC transport class to issue scans for units.

---

 drivers/s390/scsi/zfcp_scsi.c |    1 +
 1 file changed, 1 insertion(+)
drivers/s390/scsi/zfcp_scsi.c +1 -0
diff -urpN linux-2.6/drivers/s390/scsi/zfcp_scsi.c linux-2.6-patched/drivers/s390/scsi/zfcp_scsi.c
@@ -800,6 +800,7 @@ struct fc_function_template zfcp_transpo
 	.show_host_port_type = 1,
 	.show_host_speed = 1,
 	.show_host_port_id = 1,
+	.disable_target_scan = 1,
 };
 
 /**