linux/drivers/nvme/target
Damien Le Moal ad91308d3b nvmet: pci-epf: cleanup link state management
Since the link_up boolean field of struct nvmet_pci_epf_ctrl is always
set to true when nvmet_pci_epf_start_ctrl() is called, assign true to
this field in nvmet_pci_epf_start_ctrl(). Conversely, since this field
is set to false when nvmet_pci_epf_stop_ctrl() is called, set this field
to false directly inside that function.

While at it, also add information messages to notify the user of the PCI
link state changes to help troubleshoot any link stability issues
without needing to enable debug messages.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
History 2025-04-16 07:37:37 +02:00
..
admin-cmd.c nvme fixes for Linux 6.14 2025-02-03 09:19:03 -07:00
auth.c nvmet: auth: use NULL to clear a pointer in nvmet_auth_sq_free() 2025-04-16 07:37:36 +02:00
configfs.c for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
core.c for-6.15/block-20250322 2025-03-26 18:08:55 -07:00
debugfs.c These are objtool fixes and updates by Josh Poimboeuf, centered 2025-04-02 10:30:10 -07:00
debugfs.h nvmet: add debugfs support 2024-06-24 12:53:42 -07:00
discovery.c nvmet: Introduce nvmet_req_transfer_len() 2025-01-10 19:30:47 -08:00
fabrics-cmd-auth.c nvmet-tcp: support secure channel concatenation 2025-03-20 16:53:54 -07:00
fabrics-cmd.c nvmet-tcp: support secure channel concatenation 2025-03-20 16:53:54 -07:00
fc.c nvmet-fc: put ref when assoc->del_work is already scheduled 2025-04-09 13:03:56 +02:00
fcloop.c nvmet-fcloop: add ref counting to lport 2025-04-09 13:03:55 +02:00
io-cmd-bdev.c nvme fixes for Linux 6.14 2025-02-03 09:19:03 -07:00
io-cmd-file.c nvmet: use bvec_set_page to initialize bvecs 2023-02-03 08:20:55 -07:00
Kconfig nvmet: New NVMe PCI endpoint function target driver 2025-01-10 19:30:49 -08:00
loop.c block: remove unused parameter 'q' parameter in __blk_rq_map_sg() 2025-03-13 05:46:19 -06:00
Makefile nvmet: New NVMe PCI endpoint function target driver 2025-01-10 19:30:49 -08:00
nvmet.h for-6.15/block-20250322 2025-03-26 18:08:55 -07:00
passthru.c block: remove bio_add_pc_page 2025-01-04 15:27:35 -07:00
pci-epf.c nvmet: pci-epf: cleanup link state management 2025-04-16 07:37:37 +02:00
pr.c nvmet-loop: avoid using mutex in IO hotpath 2024-12-27 13:24:00 -08:00
rdma.c nvmet-rdma: recheck queue state is LIVE in state lock in recv done 2025-02-18 07:22:55 -08:00
tcp.c for-6.15/block-20250322 2025-03-26 18:08:55 -07:00
trace.c nvmet: add tracing of reservation commands 2024-11-13 08:51:24 -08:00
trace.h nvme: trace: avoid memcpy overflow warning 2024-01-05 13:16:18 -08:00
zns.c block: remove bio_add_pc_page 2025-01-04 15:27:35 -07:00