linux/drivers/nvme/host
Javier González 2e13f33a24 lightnvm: create cmd before allocating request
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.

Signed-off-by: Javier González <javier@cnexlabs.com>
Reviewed-by: Matias Bjørling <matias@cnexlabs.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-05-04 07:53:04 -06:00
..
core.c nvme: Add nvme_core.force_apst to ignore the NO_APST quirk 2017-04-24 22:03:46 -06:00
fabrics.c nvme-fabrics: Allow ctrl loss timeout configuration 2017-04-04 09:48:23 -06:00
fabrics.h nvme-fabrics: Allow ctrl loss timeout configuration 2017-04-04 09:48:23 -06:00
fc.c blk-mq: update ->init_request and ->exit_request prototypes 2017-05-02 07:52:08 -06:00
Kconfig nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
lightnvm.c lightnvm: create cmd before allocating request 2017-05-04 07:53:04 -06:00
Makefile nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
nvme.h Merge branch 'master' into for-4.12/post-merge 2017-04-24 22:03:14 -06:00
pci.c blk-mq: update ->init_request and ->exit_request prototypes 2017-05-02 07:52:08 -06:00
rdma.c blk-mq: update ->init_request and ->exit_request prototypes 2017-05-02 07:52:08 -06:00
scsi.c nvme-scsi: remove nvme_trans_security_protocol 2017-04-27 08:39:32 +02:00