summaryrefslogtreecommitdiffstats
path: root/include/target/target_core_base.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-05-20 14:34:44 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-06-12 21:38:43 -0700
commit1833874fb62bfa0e4a308c054798dddf7f147c33 (patch)
tree06c7d6b0d8e8e11c0c2170950ea2f2f109e8dd82 /include/target/target_core_base.h
parente86487e035a33709e5161e50b93e7dce21853665 (diff)
downloadlinux-1833874fb62bfa0e4a308c054798dddf7f147c33.tar.gz
linux-1833874fb62bfa0e4a308c054798dddf7f147c33.tar.xz
linux-1833874fb62bfa0e4a308c054798dddf7f147c33.zip
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>
Diffstat (limited to 'include/target/target_core_base.h')
-rw-r--r--include/target/target_core_base.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index abda19d6cbd2..6e99dc5a5f6b 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -572,7 +572,6 @@ struct se_cmd {
struct scatterlist *t_bidi_data_sg;
unsigned int t_bidi_data_nents;
- struct list_head execute_list;
struct list_head state_list;
bool state_active;
@@ -777,7 +776,6 @@ struct se_device {
/* Active commands on this virtual SE device */
atomic_t simple_cmds;
atomic_t dev_ordered_id;
- atomic_t execute_tasks;
atomic_t dev_ordered_sync;
atomic_t dev_qf_count;
struct se_obj dev_obj;
@@ -803,7 +801,6 @@ struct se_device {
struct task_struct *process_thread;
struct work_struct qf_work_queue;
struct list_head delayed_cmd_list;
- struct list_head execute_list;
struct list_head state_list;
struct list_head qf_cmd_list;
/* Pointer to associated SE HBA */