diff options
| author | Christoph Hellwig <hch@lst.de> | 2022-11-01 16:00:38 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-11-02 08:35:19 -0600 |
| commit | 0ffc7e98bfaa45380b800deeb9b65ce0371c652d (patch) | |
| tree | fd4f578880e2f4621993156044f90ef16a5a6925 /scripts/gdb/linux/config.py | |
| parent | 71b26083d59cd4ab22489829ffe7d4ead93f5546 (diff) | |
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 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions
