linux_dsm_epyc7002/drivers/nvme/target
Christoph Hellwig 27fa9bc545 nvme: split nvme status from block req->errors
We want our own clearly defined error field for NVMe passthrough commands,
and the request errors field is going away in its current form.

Just store the status and result field in the nvme_request field from
hardirq completion context (using a new helper) and then generate a
Linux errno for the block layer only when we actually need it.

Because we can't overload the status value with a negative error code
for cancelled command we now have a flags filed in struct nvme_request
that contains a bit for this condition.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-04-20 12:16:10 -06:00
..
admin-cmd.c Merge branch 'for-linus' into for-4.12/block 2017-04-07 12:45:20 -06:00
configfs.c nvmet: delete controllers deletion upon subsystem release 2017-01-26 17:44:22 +02:00
core.c nvmet: Introduced helper routine for controller status check. 2017-04-04 09:48:23 -06:00
discovery.c nvmet: Introduced helper routine for controller status check. 2017-04-04 09:48:23 -06:00
fabrics-cmd.c nvmet: Introduced helper routine for controller status check. 2017-04-04 09:48:23 -06:00
fc.c nvmet_fc: Clear SG list to avoid double frees 2017-04-04 09:48:23 -06:00
fcloop.c nvmet/fcloop: remove some logically dead code performing redundant ret checks 2016-12-21 11:34:28 +01:00
io-cmd.c block: add a flags argument to (__)blkdev_issue_zeroout 2017-04-08 11:25:38 -06:00
Kconfig nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
loop.c nvme: split nvme status from block req->errors 2017-04-20 12:16:10 -06:00
Makefile nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
nvmet.h nvmet: Introduced helper routine for controller status check. 2017-04-04 09:48:23 -06:00
rdma.c nvmet-rdma: use generic inet_pton_with_scope 2017-04-04 09:48:23 -06:00