On Tue, 16 Oct 2007 11:18:57 -0400 Pete Wyckoff <[EMAIL PROTECTED]> wrote:
> For RDMA, it is often nice to use data from a pool of pre-registered > buffers. To do this, the transport allocates memory for a response and > passes it down to the devices to fill. Some operations, though, > allocate their own buffers and return that new memory instead. These > are usually small and the allocation is just done for convenience to > avoid length bounds checking. Copy the data into the provided transport > buffer instead. I killed memory allocation in scsi device code (spc, mmc, sbc, smc) and kill all the hacky memory management code. Now LLDs allocate and free buffer for data transfer. scsi device code just uses buffer that iSER passes to. TODO: add length checking to scsi device code and kill hack in iscsi_scsi_cmd_rx_start. _______________________________________________ Stgt-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/stgt-devel
