diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-05-24 01:48:41 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-07-07 08:11:25 +0200 |
commit | 75f141aaf48e13812b4fee914a66f6fce28b543f (patch) | |
tree | 3ecfd65403e2abfbe710ed9113cb5b81a9a7ab20 /drivers/vhost | |
parent | target/tcm_loop: Replace a waitqueue and a counter by a completion (diff) | |
download | linux-75f141aaf48e13812b4fee914a66f6fce28b543f.tar.xz linux-75f141aaf48e13812b4fee914a66f6fce28b543f.zip |
target/tcm_loop: Use target_submit_tmr() instead of open-coding this function
Use target_submit_tmr() instead of open-coding this function. The
only functional change is that TMFs are now added to sess_cmd_list,
something the current code does not do. This behavior change is a
bug fix because it makes LUN RESETs wait for other TMFs that are in
progress for the same LUN.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: David Disseldorp <ddiss@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions