Commit f5ebec96 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Nicholas Bellinger
Browse files

Target/iser: Wait for proper cleanup before unloading

disconnected_handler works are scheduled on system_wq.
When attempting to unload, first make sure all works
have cleaned up.
Signed-off-by: default avatarSagi Grimberg <>
Cc: # 3.10+
Signed-off-by: default avatarNicholas Bellinger <>
parent 88c4015f
...@@ -3287,6 +3287,7 @@ static int __init isert_init(void) ...@@ -3287,6 +3287,7 @@ static int __init isert_init(void)
static void __exit isert_exit(void) static void __exit isert_exit(void)
{ {
destroy_workqueue(isert_comp_wq); destroy_workqueue(isert_comp_wq);
destroy_workqueue(isert_rx_wq); destroy_workqueue(isert_rx_wq);
iscsit_unregister_transport(&iser_target_transport); iscsit_unregister_transport(&iser_target_transport);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment