diff options
| author | Christoph Hellwig <[email protected]> | 2023-12-17 17:53:59 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-12-19 20:17:43 -0700 |
| commit | 5cc99b89785c55430a5674b32ad0d9e57a8ec251 (patch) | |
| tree | 62081b59beb5a7a433d97644b852b024b619193d /tools/perf/scripts/python/task-analyzer.py | |
| parent | d73e93b4dfab10c80688b061c30048df05585c7e (diff) | |
sd: only call disk_clear_zoned when needed
disk_clear_zoned only needs to be called when a device reported zone
managed mode first and we clear it. Add a check so that disk_clear_zoned
isn't called on devices that were never zoned.
This avoids a fairly expensive queue freezing when revalidating
conventional devices.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions