target: remove SCF_EMULATE_CDB_ASYNC
authorChristoph Hellwig <hch@infradead.org>
Thu, 3 Nov 2011 21:50:44 +0000 (17:50 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 4 Nov 2011 10:43:35 +0000 (10:43 +0000)
commitd29a5b6acc4b63d4e05ff554509df6fbeaf527cd
treeedd94dc0420982dea35a811827757b3145689df0
parent6ed5a557905f1c4e9ca5f8a6d607303a12d097e1
target: remove SCF_EMULATE_CDB_ASYNC

All ->execute_task instances now need to complete the I/O explicitly,
which can either happen synchronously or asynchronously.

Note that a lot of the CDB emulations appear to return success even if
some lowlevel operations failed.  Given that this is an existing issue
this patch doesn't change that fact.

(nab: Adding missing switch breaks in PR-IN + PR_OUT)

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