]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iscsi-target: Avoid unnecessary t_state_lock during unsolicited data-out check
authorNicholas Bellinger <nab@linux-iscsi.org>
Thu, 6 Jun 2013 08:58:49 +0000 (01:58 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 14 Jun 2013 07:28:29 +0000 (00:28 -0700)
commitc119b67de763de7629967881502f933b6af31fbd
tree7ad4192f303a8f5d829f8cc8a6a343831c796bb1
parent3e585a74cf33e5f8a6e547b94f0c93f48f754c28
iscsi-target: Avoid unnecessary t_state_lock during unsolicited data-out check

In modern iscsi-target code, the setup and I/O submission is done within a
single process context, so there is no need to acquire se_cmd->t_state_lock while
checking SCF_SUPPORTED_SAM_OPCODE for determining when unsolicited data-out
should be dumped.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Roland Dreier <roland@kernel.org>
Cc: Kent Overstreet <koverstreet@google.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Moussa Ba <moussaba@micron.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c