mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
Commit r6420 broke scst unloading, since isert_scst must be unloaded before iscsi_scst. Additionally, fix another possible cause of failing to unload isert_scst. With iSER (RDMA CM to be exact) it may take up to about 50 seconds to receive disconnected event if the remote end is for some reason unreachable, e.g. becauase of a cable problem or power loss/forced reboot on initiator side. This is due to MAD send timeout. Signed-off-by: Yan Burman <yanb@mellanox.com> [bvanassche: modified this patch such that it uses unload_kmod()] git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6432 d57e44dd-8a1f-0410-8b47-8ef2f437770f