linux_dsm_epyc7002/drivers/nvme/target
Chaitanya Kulkarni e4a976254e nvmet: add error-log definitions
This patch adds necessary fields in the target data structures to
support error log page. For a target controller, we add a new error log
field to maintain the error log, at any given point we maintain error
entries equal to NVMET_ERROR_LOG_SLOTS for each controller. In the
following patch, we also update the error log page entry in the I/O
completion path so we introduce a spinlock for synchronization of the
log.

For nvmet_req, we add a new field error_loc to hold the location of
the error in the command when the actual error occurs for each request
and a starting LBA if applicable.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-12-13 09:59:02 +01:00
..
admin-cmd.c nvme: remove nvme_common command cdw10 array 2018-12-13 09:59:01 +01:00
configfs.c nvmet: allow configfs tcp trtype configuration 2018-12-13 09:58:58 +01:00
core.c nvmet: add error-log definitions 2018-12-13 09:59:02 +01:00
discovery.c nvme: remove nvme_common command cdw10 array 2018-12-13 09:59:01 +01:00
fabrics-cmd.c nvmet: Add install_queue callout 2018-12-13 09:58:55 +01:00
fc.c nvmet-fc: remove the IN_ISR deferred scheduling options 2018-12-07 22:26:57 -07:00
fcloop.c nvmet-fcloop: suppress a compiler warning 2018-10-17 08:58:31 +02:00
io-cmd-bdev.c nvmet: remove unused variable 2018-12-13 09:59:00 +01:00
io-cmd-file.c nvmet: use IOCB_NOWAIT for file-ns buffered I/O 2018-12-07 22:26:56 -07:00
Kconfig nvmet-tcp: add NVMe over TCP target driver 2018-12-13 09:58:57 +01:00
loop.c for-4.19/block-20180812 2018-08-14 10:23:25 -07:00
Makefile nvmet-tcp: add NVMe over TCP target driver 2018-12-13 09:58:57 +01:00
nvmet.h nvmet: add error-log definitions 2018-12-13 09:59:02 +01:00
rdma.c Linux 4.20-rc6 2018-12-09 17:45:40 -07:00
tcp.c nvmet-tcp: add NVMe over TCP target driver 2018-12-13 09:58:57 +01:00