From: Sagi Grimberg Date: Sun, 7 Dec 2014 11:12:01 +0000 (+0200) Subject: iser-target: Fix logout sequence X-Git-Tag: omap-for-v3.20/drop-legacy-3517~16^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=991bb7640d7e0971c360b6166cbca84a7f502312;p=pandora-kernel.git iser-target: Fix logout sequence We don't want to wait for conn_logout_comp from isert_comp_wq context as this blocks further completions from being processed. Instead we wait for it conditionally (if logout response was actually posted) in wait_conn. This wait should normally happen immediately as it occurs after we consumed all the completions (including flush errors) and conn_logout_comp should have been completed. Signed-off-by: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed