[PATCH v2 12/14] cxlflash: Cleanup queuecommand()
Uma Krishnan
ukrishn at linux.vnet.ibm.com
Thu Dec 1 09:13:23 AEDT 2016
> From: "Matthew R. Ochs" <mrochs at linux.vnet.ibm.com>
>
> The queuecommand routine is disorganized where it populates the
> private command and also contains some logic/statements that are
> not needed given that cxlflash devices do not (and likely never
> will) support scatter-gather.
>
> Restructure the code to remove the unnecessary logic and create an
> organized flow:
>
> handle state -> DMA map -> populate command -> send command
>
> Signed-off-by: Matthew R. Ochs <mrochs at linux.vnet.ibm.com>
Acked-by: Uma Krishnan <ukrishn at linux.vnet.ibm.com>
More information about the Linuxppc-dev
mailing list