]> git.baikalelectronics.ru Git - kernel.git/commit
target: make more use of the task_flags field in se_task
authorChristoph Hellwig <hch@infradead.org>
Wed, 12 Oct 2011 15:07:03 +0000 (11:07 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:21:06 +0000 (03:21 +0000)
commit2576088a66c9f331d85f9a4e7c29fcaff5c85f83
treee9b739b4fb28ae7e2be2fdf400dc4772d63360b8
parent64dc76531f3d5d23b70a81bbbaa367fada0ea8e1
target: make more use of the task_flags field in se_task

Replace various atomic_t variables that were mostly under t_state_lock
with new flags in task_flags.  Note that the execution error path
didn't take t_state_lock before, so add it there.

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