[Stgt-devel] [PATCH 04/20] iser bidi alloc read buf
FUJITA Tomonori
tomof
Mon Nov 12 15:14:34 CET 2007
On Tue, 16 Oct 2007 11:19:03 -0400
Pete Wyckoff <pw at osc.edu> wrote:
> Allocate the read buffer for bidirectional commands in the transport to
> pass down to devices. A device can fill and return this buffer in
> task->uaddr, and thus choose to do the read or write processing in any
> order. Unfortunately, this allocation can not be combined with the task
> and task->data allocation as the bidi read size is not known until after
> AHS processing.
I've been cleaning up the code in preparation for bidi. For exmaple,
moving bidi stuff in iscsi_task (read_len, write_len, and
data_direction) to scsi_cmd so that everyone can use bidi.
I'll add bidi support like this when I finish the preparation.
More information about the stgt
mailing list