mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
target: Remove __transport_execute_tasks() for each processing context
This patch removes the original usage of __transport_execute_tasks() ahead of every transport_get_cmd_from_queue() call in transport_processing_thread(). This helps reduce se_device->execute_task_lock contention between qla2xxx wq with target_submit_cmd() for READs and transport_processing_thread() context servicing WRITEs with full payloads for I/O submission. It also adds a __transport_execute_tasks() to kick the task queue again without a *se_cmd descriptor with existing queue full logic, but this may end up not being necessary. Cc: Christoph Hellwig <[email protected]> Cc: Roland Dreier <[email protected]> Cc: Joern Engel <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
4d2300ccff
commit
beb55a0cc1
1 changed files with 0 additions and 2 deletions
|
|
@ -4655,8 +4655,6 @@ static int transport_processing_thread(void *param)
|
|||
goto out;
|
||||
|
||||
get_cmd:
|
||||
__transport_execute_tasks(dev, NULL);
|
||||
|
||||
cmd = transport_get_cmd_from_queue(&dev->dev_queue_obj);
|
||||
if (!cmd)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue