]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitaf8772926f019b7bddd7477b8de5f3b0f12bad21
tree99bdfc7335a3223985b033404fb06fc58cb754f0
parentf314643751450a582c1ca40a54558240ef7cd4bf
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