summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_tmr.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2013-06-06 01:35:18 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2013-06-20 14:10:39 -0700
commit862e6389a78992d4ee44bf4f60051fe560470320 (patch)
tree0b0cceedf17564748ca12e5b25d37ff1f9ac050f /drivers/target/target_core_tmr.c
parent670caa9f762647802a1b19749f127ac28949ca5a (diff)
downloadlinux-stable-862e6389a78992d4ee44bf4f60051fe560470320.tar.gz
linux-stable-862e6389a78992d4ee44bf4f60051fe560470320.tar.bz2
linux-stable-862e6389a78992d4ee44bf4f60051fe560470320.zip
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 'drivers/target/target_core_tmr.c')
0 files changed, 0 insertions, 0 deletions