lightnvm: fail fast on passthrough commands
authorJavier González <javier@cnexlabs.com>
Fri, 13 Oct 2017 12:46:46 +0000 (14:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Oct 2017 14:34:57 +0000 (08:34 -0600)
commit1b839187db62aae22a9254fd9e3ce376149b0918
treef68b948e6efbcf0d6da9d5a5946d64a279e31344
parent8da10cce7c7f7f9f5edc77271cf6e0c45b762004
lightnvm: fail fast on passthrough commands

Make LightNVM passhtrough commands fail fast. User space will then take
care of re-submitting.

Fixes: 84d4add793c6 ('lightnvm: add ioctls for vector I/Os')
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/lightnvm.c