target: remove the execute list
authorChristoph Hellwig <hch@infradead.org>
Sun, 20 May 2012 18:34:44 +0000 (14:34 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:29:11 +0000 (17:29 -0700)
commit5f41a31d0a49a014adb1588edd0cc7f7e30cc55b
tree6ee74b84c59a0473aba1257d2e762fa6935c4066
parenta3785c8740c5b56b49ec336b59be996393d83332
target: remove the execute list

Since "target: Drop se_device TCQ queue_depth usage from I/O path" we always
submit all commands (or back then, tasks) from __transport_execute_tasks.

That means the the execute list has lots its purpose, as we can simply
submit the commands that are restarted in transport_complete_task_attr
directly while we walk the list.  In fact doing so also solves a race
in the way it currently walks to delayed_cmd_list as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_internal.h
drivers/target/target_core_tmr.c
drivers/target/target_core_transport.c
include/target/target_core_base.h