From 99755b45b1cf5c0aecd15e58e2f974b26a7805ef Mon Sep 17 00:00:00 2001 From: Brian M Date: Mon, 4 Nov 2024 10:47:40 -0800 Subject: [PATCH] Reenable some initialization code for Fibre Channel --- scstadmin/scstadmin.sysfs/scstadmin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scstadmin/scstadmin.sysfs/scstadmin b/scstadmin/scstadmin.sysfs/scstadmin index 9bfbe5f02..68c2767a2 100755 --- a/scstadmin/scstadmin.sysfs/scstadmin +++ b/scstadmin/scstadmin.sysfs/scstadmin @@ -3033,7 +3033,7 @@ sub addVirtualTarget { # Disable this code. Never used but gets expensive as the # target count climbs. - if (0) { + if ($driver ne "iscsi") { # Enable all hardware targets before creating virtual ones ($targets, $errorString) = $SCST->targets($driver); foreach my $_target (@{$targets}) {