diff options
author | Bart Van Assche <bvanassche@acm.org> | 2018-11-28 02:52:04 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-08 05:22:55 +0300 |
commit | 3ad9800231d4f070c580e3e3894940892a4308d0 (patch) | |
tree | bc966b5ae2dadab0cd04a79e88bc1c17dc70ba8b /drivers/target/target_core_alua.c | |
parent | 2c9fa49e100f962af988f1c0529231bf14905cda (diff) | |
download | linux-3ad9800231d4f070c580e3e3894940892a4308d0.tar.xz |
scsi: target/core: Reduce the amount of code executed with a spinlock held
Due to the "make ABORT and LUN RESET handling synchronous" patch, cmd->work
is only modified from the regular command execution path and no longer
asynchronously by the code that executes task management functions. Since
the regular command execution code is sequential per command, no locking is
required to manipulate cmd->work. Hence stop protecting cmd->work
manipulations with locking.
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: David Disseldorp <ddiss@suse.de>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/target_core_alua.c')
0 files changed, 0 insertions, 0 deletions