Skip to content

Commit ff13bf0

Browse files
committed
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.
1 parent 7ba3768 commit ff13bf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • scstadmin/init.d

scstadmin/init.d/scst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ unload_scst() {
190190
# seconds.
191191
unload_kmod isert_scst 90 || echo "Unloading isert_scst failed"
192192
193-
for m in isert_scst iscsi_scst fcst ib_srpt qla2xxx_scst qla2x00tgt \
193+
for m in isert_scst iscsi_scst fcst ib_srpt qla2x00tgt qla2xxx_scst \
194194
scst_local scst_disk scst_raid scst_tape scst_user scst_changer \
195195
scst_cdrom scst_vdisk scst_modisk scst_processor scst; do
196196
unload_kmod "$m" 30

0 commit comments

Comments
 (0)