From 02b1a7463420e1cebe86c6755c44d3bd9489829e Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Sun, 25 Sep 2011 14:56:32 -0400 Subject: [PATCH] target: cleanup pscsi request submission Move the entirely request allocation, mapping and submission into ->do_task. This a) avoids blocking the I/O submission thread unessecarily, and b) simplifies the code greatly Note that the code seems to have various error handling issues, mostly related to bidi handling in the current form. I've added comments about those but not tried to fix them in this commit. Signed-off-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-format-patch failed