Re: [PATCH 1/2] lightnvm: create cmd before allocating request

From: Christoph Hellwig
Date: Thu May 04 2017 - 07:27:48 EST


On Wed, May 03, 2017 at 11:19:04AM +0200, Javier González wrote:
> Create nvme command before allocating a request using
> nvme_alloc_request, which uses the command direction. Up until now, the
> command has been zeroized, so all commands have been allocated as a
> read operation.

Hah.. Looks fine:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>