[Stgt-devel] [PATCH 08/20] iser virtualize malloc

FUJITA Tomonori tomof
Mon Nov 12 15:14:35 CET 2007


On Tue, 16 Oct 2007 11:20:21 -0400
Pete Wyckoff <pw at osc.edu> wrote:

> Virtualize malloc and free when dealing with memory that the
> transport will use.  It must be per-connection for RDMA.

I modified and merged this.

As I said, we need aligned buffer for data transfer so I added
alloc/free_data_buf to iscsi_transport.

If you need pre-registered buffer for iscsi_task too (for sense, I
guess), you can add alloc/free_task to iscsi_transport. But I think
that you don't need to use pre-registered buffer for sense and you can
register sense buffer when you need it.



More information about the stgt mailing list