]> git.baikalelectronics.ru Git - kernel.git/commit
target: replace the processing thread with a TMR work queue
authorChristoph Hellwig <hch@infradead.org>
Sun, 8 Jul 2012 19:58:49 +0000 (15:58 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:35:21 +0000 (17:35 -0700)
commit5b71f959ad2f21c8288160c3d99864783350d381
tree99bdfc7335a3223985b033404fb06fc58cb754f0
parentab47fad4cbae30023242c87bc699846de8f072ad
target: replace the processing thread with a TMR work queue

The last functionality of the target processing thread is offloading possibly
long running task management requests from the submitter context.  To keep
TMR semantics the same we need a single threaded ordered queue, which can
be provided by a per-device workqueue with the right flags.

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