[PATCH v2 0/2] tcm/tcm_loop: Add BIDI-COMMAND support

From: Nicholas A. Bellinger
Date: Wed Sep 15 2010 - 18:41:54 EST


From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Greetings Boaz and Co,

This is the rebased TCM Core + TCM_Loop module BIDI-COMMAND v2 patch series to
address Boaz's comments about the proper usage of DMA_BIDIRECTIONAL within
TCM Core and TCM_Loop and his other points. I have already pushed the follow up
patches into lio-core-2.6.git/lio-4.0, and this is a follow up series for Boaz
to add comments w/o the original incorrect DMA_BIDIRECTIONAL usage in the v1 code.

So far this has been tested with the same custom XDWRITE_READ_10 BSG userspace
code as the v1 patch and things are functioning as expected so far. I will also
be testing with an BIDI capable sg_raw patch from Doug Gilbert. (Thanks Doug!)

Many thank go to Boaz for sharing his knowledge of BIDI for adding proper support
into TCM Core and TCM_Loop code!

Best,

Signed-off-by: Nicholas A. Bellinger <nab@xxxxxxxxxxxxxxx>

Nicholas Bellinger (2):
tcm: Add support for BIDI-COMMANDS and XDWRITE_READ_10 emulation
tcm_loop: Add BIDI-COMMAND CDB support

drivers/target/target_core_pr.c | 3 +-
drivers/target/target_core_transport.c | 278 ++++++++++++++++++++----
drivers/target/tcm_loop/tcm_loop_fabric_scsi.c | 47 +++-
include/target/target_core_base.h | 10 +-
include/target/target_core_transport.h | 10 +-
5 files changed, 288 insertions(+), 60 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/