diff options
author | Javier González <jg@lightnvm.io> | 2017-05-03 11:19:04 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-05-04 07:53:04 -0600 |
commit | 2e13f33a2464fc3aa7783022a90309cabeca8935 (patch) | |
tree | db025603a0572b86538f0e15a1d131cfb5d8e268 /drivers/dca | |
parent | 2719aa217e0d025dbfce74ac777815776ccec072 (diff) | |
download | linux-2e13f33a2464fc3aa7783022a90309cabeca8935.tar.bz2 |
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>
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions