Commit 53a5edaa authored by Alexander Aring's avatar Alexander Aring Committed by David Teigland

fs: dlm: flush othercon at close

This patch ensures we also flush the othercon writequeue when a lowcomms
close occurs.
Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 692f51c8
...@@ -1512,6 +1512,8 @@ int dlm_lowcomms_close(int nodeid) ...@@ -1512,6 +1512,8 @@ int dlm_lowcomms_close(int nodeid)
set_bit(CF_CLOSE, &con->flags); set_bit(CF_CLOSE, &con->flags);
close_connection(con, true, true, true); close_connection(con, true, true, true);
clean_one_writequeue(con); clean_one_writequeue(con);
if (con->othercon)
clean_one_writequeue(con->othercon);
} }
spin_lock(&dlm_node_addrs_spin); spin_lock(&dlm_node_addrs_spin);
......
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