On Mon, May 19, 2014 at 05:30:24PM +0200, Valentin Longchamp wrote: > Or are you talking about the initial memcpy call that fills up the local buffer > in both rw_trans() and cmd_trans() ? And maybe your second point with the > scatterlists is about replacing these memcpy calls ? We shouldn't need this copy at all and therefore there should be no need to make sure it is copying into an adequately sized buffer. The only thing I can think that the memcpy() is for is ensuring that the data is sent from a physically contiguous buffer but scatter/gather should handle that.
Attachment:
signature.asc
Description: Digital signature