From ff13bf073c6e8c677b82f07b8dedf5add252acd3 Mon Sep 17 00:00:00 2001 From: Brian M Date: Fri, 27 Feb 2026 12:56:30 -0800 Subject: [PATCH] scstadmin/init.d: unload qla2x00tgt before qla2xxx_scst qla2x00tgt holds a reference on qla2xxx_scst, so it must be unloaded first. The wrong order caused a 30-second timeout on every shutdown. --- scstadmin/init.d/scst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scstadmin/init.d/scst b/scstadmin/init.d/scst index 8b4497cb6..56f5e47c3 100755 --- a/scstadmin/init.d/scst +++ b/scstadmin/init.d/scst @@ -190,7 +190,7 @@ unload_scst() { # seconds. unload_kmod isert_scst 90 || echo "Unloading isert_scst failed" - for m in isert_scst iscsi_scst fcst ib_srpt qla2xxx_scst qla2x00tgt \ + for m in isert_scst iscsi_scst fcst ib_srpt qla2x00tgt qla2xxx_scst \ scst_local scst_disk scst_raid scst_tape scst_user scst_changer \ scst_cdrom scst_vdisk scst_modisk scst_processor scst; do unload_kmod "$m" 30