diff options
| author | Christoph Hellwig <[email protected]> | 2023-12-17 17:53:55 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-12-19 20:17:43 -0700 |
| commit | 77360cadaae562f437b3e98dc3af748d8d75bdc2 (patch) | |
| tree | f423d9ab807674fb3a1b8091c3bcf51c3cbc66a5 /tools/perf/scripts/python | |
| parent | 0bd7c5d802586e9d86c09f79cbf5ca8fdbec57ec (diff) | |
virtio_blk: cleanup zoned device probing
Move reading and checking the zoned model from virtblk_probe_zoned_device
into the caller, leaving only the code to perform the actual setup for
host managed zoned devices in virtblk_probe_zoned_device.
This allows to share the model reading and sharing between builds with
and without CONFIG_BLK_DEV_ZONED, and improve it for the
!CONFIG_BLK_DEV_ZONED case.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Stefan Hajnoczi <[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')
0 files changed, 0 insertions, 0 deletions