diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-06 01:35:18 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-20 14:10:39 -0700 |
commit | 862e6389a78992d4ee44bf4f60051fe560470320 (patch) | |
tree | 0b0cceedf17564748ca12e5b25d37ff1f9ac050f /include/target | |
parent | 670caa9f762647802a1b19749f127ac28949ca5a (diff) | |
download | linux-862e6389a78992d4ee44bf4f60051fe560470320.tar.bz2 |
target: Add transport_cmd_check_stop write_pending bit
This patch adds a new transport_cmd_check_stop() parameter for signaling
when TRANSPORT_WRITE_PENDING needs to be set.
This allows transport_generic_new_cmd() to avoid the extra lock acquire/release
of ->t_state_lock in the fast path for DMA_TO_DEVICE operations ahead of
transport_cmd_check_stop() + se_tfo->write_pending().
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>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions