linux-stable/drivers/nvme/target
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
..
admin-cmd.c nvmet: implement namespace identify descriptor list 2017-06-15 14:30:21 +02:00
configfs.c nvmet: allow overriding the NVMe VS via configfs 2017-06-15 14:30:23 +02:00
core.c nvmet: implement namespace identify descriptor list 2017-06-15 14:30:21 +02:00
discovery.c nvmet: use NVME_IDENTIFY_DATA_SIZE 2017-06-15 14:30:15 +02:00
fabrics-cmd.c nvmet: convert from kmap to nvmet_copy_from_sgl 2017-04-21 16:41:47 +02:00
fc.c nvmet-fc: remove target cpu scheduling flag 2017-05-20 10:11:34 -06:00
fcloop.c nvmet-fc: Remove a set-but-not-used variable 2017-06-15 14:30:25 +02:00
io-cmd.c block: switch bios to blk_status_t 2017-06-09 09:27:32 -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: move reset workqueue handling to common code 2017-06-15 15:48:34 +02:00
Makefile nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
nvmet.h nvmet: implement namespace identify descriptor list 2017-06-15 14:30:21 +02:00
rdma.c nvmet: release the sq ref on rdma read errors 2017-05-20 10:11:34 -06:00