diff options
author | Nicholas Bellinger <[email protected]> | 2017-09-29 16:43:11 -0700 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2017-11-07 19:45:28 -0800 |
commit | 9574a497df2bbc0a676b609ce0dd24d237cee3a6 (patch) | |
tree | 73459de4d7ed7b76647ee6b4c2dc896c2f1c8941 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fd2f928b0ddd2fe8876d4f1344df2ace2b715a4d (diff) |
target: Fix quiese during transport_write_pending_qf endless loop
This patch fixes a potential end-less loop during QUEUE_FULL,
where cmd->se_tfo->write_pending() callback fails repeatedly
but __transport_wait_for_tasks() has already been invoked to
quiese the outstanding se_cmd descriptor.
To address this bug, this patch adds a CMD_T_STOP|CMD_T_ABORTED
check within transport_write_pending_qf() and invokes the
existing se_cmd->t_transport_stop_comp to signal quiese
completion back to __transport_wait_for_tasks().
Cc: Mike Christie <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Bryant G. Ly <[email protected]>
Cc: Michael Cyr <[email protected]>
Cc: Potnuri Bharat Teja <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: [email protected] # 4.11+
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions