mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user