summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2025-04-11 04:42:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-02 09:02:12 +0300
commit4f06ba52bda6fded5bdb5b6b9208194a7e39f3a8 (patch)
treee8c23b34225627b250f8c53d154cc269859c6d59 /tools/perf/scripts/python/export-to-postgresql.py
parentd34368d57b543e40bd9f317562ce2af8b370e726 (diff)
downloadlinux-4f06ba52bda6fded5bdb5b6b9208194a7e39f3a8.tar.xz
nvmet: pci-epf: cleanup link state management
[ Upstream commit ad91308d3bdeb9d90ef4a400f379ce461f0fb6a7 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions