aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-11-01 16:00:38 +0100
committerJens Axboe <axboe@kernel.dk>2022-11-02 08:35:19 -0600
commit0ffc7e98bfaa45380b800deeb9b65ce0371c652d (patch)
treefd4f578880e2f4621993156044f90ef16a5a6925 /tools/perf/scripts/python
parentblock: set the disk capacity to 0 in blk_mark_disk_dead (diff)
downloadlinux-0ffc7e98bfaa45380b800deeb9b65ce0371c652d.tar.gz
linux-0ffc7e98bfaa45380b800deeb9b65ce0371c652d.zip
nvme-pci: refactor the tagset handling in nvme_reset_work
The code to create, update or delete a tagset and namespaces in nvme_reset_work is a bit convoluted. Refactor it with a two high-level conditionals for first probe vs reset and I/O queues vs no I/O queues to make the code flow more clear. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20221101150050.3510-3-hch@lst.de [axboe: fix whitespace issue] Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions