SCSI Bidirectional data transfer

From: Maze Maze
Date: Thu Apr 06 2006 - 03:35:59 EST


Hi,

I am using redhate linux (kernel 2.4.20)

SCSI supports bidirectional data transfer. However, the two variants
request_bufflen and bufflen of a scsi_cmd are set to be the same in
the scsi_init_cmd_from_req(). I am wondering if i want to send and
receive data with different lengths, how do i pass the lengths to SCSI
layer? The scsi_wait_req() accepts only one length.... Can I make use
of extended CDB? Thanks!

Maze
-
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/