]> git.baikalelectronics.ru Git - kernel.git/commit
target: cleanup iblock bio submission
authorChristoph Hellwig <hch@infradead.org>
Sun, 25 Sep 2011 18:56:24 +0000 (14:56 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:20:43 +0000 (03:20 +0000)
commit3b7387b7e25ad3e1c846b5165be326b380ae1012
tree4cb6f91946d2229c7eb521fa460bc0c2407107a5
parentaaa1e416f57244ffa937872b83c50363b5422305
target: cleanup iblock bio submission

Move the entirely bio allocation, mapping and submission into ->do_task.
This

 a) avoids blocking the I/O submission thread unessecarily, and
 b) simplifies the code greatly

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