]> 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)
commitf0871e67eba057ea26467c3b3b8bc9b2456d1bfd
tree99bdfc7335a3223985b033404fb06fc58cb754f0
parent96344b2c0158024432c41b8aff4187792cba754c
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