WSL2-Linux-Kernel/drivers/nvme/host
Keith Busch 5d02a5c1d6 nvme: Remove ADMIN_ONLY state
The admin only state was intended to fence off actions that don't
apply to a non-IO capable controller. The only actual user of this is
the scan_work, and pci was the only transport to ever set this state.
The consequence of having this state is placing an additional burden on
every other action that applies to both live and admin only controllers.

Remove the admin only state and place the admin only burden on the only
place that actually cares: scan_work.

This also prepares to make it easier to temporarily pause a LIVE state
so that we don't need to remember which state the controller had been in
prior to the pause.

Tested-by: Edmund Nadolski <edmund.nadolski@intel.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
2019-10-14 23:21:44 +09:00
..
Kconfig nvme: tcp: selects CRYPTO_CRC32C for nvme-tcp 2019-08-29 12:55:01 -07:00
Makefile nvme-tcp: add NVMe over TCP host driver 2018-12-13 09:58:58 +01:00
core.c nvme: Remove ADMIN_ONLY state 2019-10-14 23:21:44 +09:00
fabrics.c nvme-fabrics: allow discovery subsystems accept a kato 2019-09-12 08:50:46 -07:00
fabrics.h nvme: Remove ADMIN_ONLY state 2019-10-14 23:21:44 +09:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme-fc: Fail transport errors with NVME_SC_HOST_PATH 2019-09-12 08:50:45 -07:00
lightnvm.c lightnvm: move metadata mapping to lower level driver 2019-08-06 08:20:10 -06:00
multipath.c for-5.4/block-2019-09-16 2019-09-17 16:57:47 -07:00
nvme.h nvme: Remove ADMIN_ONLY state 2019-10-14 23:21:44 +09:00
pci.c nvme: Remove ADMIN_ONLY state 2019-10-14 23:21:44 +09:00
rdma.c nvme-rdma: fix possible use-after-free in connect timeout 2019-09-27 10:24:53 -07:00
tcp.c nvme-tcp: fix wrong stop condition in io_work 2019-09-25 12:53:14 -07:00
trace.c nvme: trace: parse Get LBA Status command in detail 2019-08-29 12:55:01 -07:00
trace.h nvme-trace: print result and status in hex format 2019-06-21 11:12:37 +02:00