diff options
| author | Christoph Hellwig <[email protected]> | 2024-04-02 14:47:54 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2024-04-02 15:21:33 +0000 |
| commit | c85c9ab926a592e2f59f7d9a6ca7d6562843d8fa (patch) | |
| tree | 5f255a18b61a6c4417a1fc5e893830802dc10b94 /scripts/make_fit.py | |
| parent | nvme-multipath: don't inherit LBA-related fields for the multipath node (diff) | |
| download | kernel-c85c9ab926a592e2f59f7d9a6ca7d6562843d8fa.tar.gz kernel-c85c9ab926a592e2f59f7d9a6ca7d6562843d8fa.zip | |
nvme: split nvme_update_zone_info
nvme_update_zone_info does (admin queue) I/O to the device and can fail.
We fail to abort the queue limits update if that happen, but really
should avoid with the frozen I/O queue as much as possible anyway.
Split the logic into a helper to query the information that can be
called on an unfrozen queue and one to apply it to the queue limits.
Fixes: 9b130d681443 ("nvme: use the atomic queue limits update API")
Reported-by: Kanchan Joshi <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Kanchan Joshi <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'scripts/make_fit.py')
0 files changed, 0 insertions, 0 deletions
