[Stgt-devel] [PATCH 04/20] iser bidi alloc read buf
Sat Oct 27 16:56:17 CEST 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
Where do you free bidi buffer?
Please don't forget that bidi support isn't only for iSER. everyone
The current buffer management is not clean so feel free to rewrite it
before iSER if you want.
> 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.
We need to change task->data allocation since we need aligned buffer
for DIO. The iSCSI driver uses page cache buf IET experience tells
me that we need to support DIO too.
More information about the stgt