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>