summaryrefslogtreecommitdiff
path: root/drivers/target/iscsi
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-06-09 23:36:51 +0000
committerJiri Slaby <jslaby@suse.cz>2014-07-02 12:06:30 +0200
commitab7f3e4697f12ad16c816fdb27e3e494809bad91 (patch)
tree0f7ed6de24446c85468cfc05b47872198e569c7b /drivers/target/iscsi
parenta08f9367aa469714683c41b0780c598945fa1099 (diff)
target: Use complete_all for se_cmd->t_transport_stop_comp
commit a95d6511303b848da45ee27b35018bb58087bdc6 upstream. This patch fixes a bug where multiple waiters on ->t_transport_stop_comp occurs due to a concurrent ABORT_TASK and session reset both invoking transport_wait_for_tasks(), while waiting for the associated se_cmd descriptor backend processing to complete. For this case, complete_all() should be invoked in order to wake up both waiters in core_tmr_abort_task() + transport_generic_free_cmd() process contexts. Cc: Thomas Glanzmann <thomas@glanzmann.de> Cc: Charalampos Pournaris <charpour@gmail.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/target/iscsi')
0 files changed, 0 insertions, 0 deletions