diff options
author | 2011-11-30 18:18:33 -0800 | |
---|---|---|
committer | 2011-12-14 11:48:46 +0000 | |
commit | 4d2300ccffd22d1d0213b6a8e4d685eb6ca069c0 (patch) | |
tree | a76817aa4aaba5a6ffb05b3e6a0ea9ca654a0519 /lib/mpi/mpiutil.c | |
parent | target: Drop se_device TCQ queue_depth usage from I/O path (diff) | |
download | wireguard-linux-4d2300ccffd22d1d0213b6a8e4d685eb6ca069c0.tar.xz wireguard-linux-4d2300ccffd22d1d0213b6a8e4d685eb6ca069c0.zip |
target: Remove extra se_device->execute_task_lock access in fast path
This patch makes __transport_execute_tasks() perform the addition of
tasks to dev->execute_task_list via __transport_add_tasks_from_cmd()
while holding dev->execute_task_lock during normal I/O fast path
submission.
It effectively removes the unnecessary re-acquire of dev->execute_task_lock
during transport_execute_tasks() -> transport_add_tasks_from_cmd() ahead
of calling __transport_execute_tasks() to queue tasks for the passed
*se_cmd descriptor.
(v2: Re-add goto check_depth usage for multi-task submission for now..)
Cc: Christoph Hellwig <hch@lst.de>
Cc: Roland Dreier <roland@purestorage.com>
Cc: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions