WSL2-Linux-Kernel/drivers/nvme/host
Christoph Hellwig d86c4d8ef3 nvme: move reset workqueue handling to common code
This moves the nvme_reset function from the PCIe driver to common code,
renaming it to nvme_reset_ctrl in the process.  Additionally a new
helper nvme_reset_ctrl_sync is added for the case where we want to
wait for the reset.  To facilitate that the reset_work work structure is
move to the common nvme_ctrl structure and the ->reset_ctrl method is
removed.  For now the drivers initialize the reset_work with their own
callback, but longer term we should move to callouts for specific
parts of the reset process and move even more code to the core.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
2017-06-15 15:48:34 +02:00
..
Kconfig nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
Makefile nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
core.c nvme: move reset workqueue handling to common code 2017-06-15 15:48:34 +02:00
fabrics.c nvmf: keep track of nvmet connect error status 2017-06-15 14:30:27 +02:00
fabrics.h nvme: move nr_reconnects to nvme_ctrl 2017-06-15 14:29:49 +02:00
fc.c nvme: move reset workqueue handling to common code 2017-06-15 15:48:34 +02:00
lightnvm.c nvmet: use NVME_IDENTIFY_DATA_SIZE 2017-06-15 14:30:15 +02:00
nvme.h nvme: move reset workqueue handling to common code 2017-06-15 15:48:34 +02:00
pci.c nvme: move reset workqueue handling to common code 2017-06-15 15:48:34 +02:00
rdma.c nvme: move reset workqueue handling to common code 2017-06-15 15:48:34 +02:00
scsi.c nvme-scsi: remove nvme_trans_security_protocol 2017-04-27 08:39:32 +02:00