diff options
author | 2023-12-17 17:53:55 +0100 | |
---|---|---|
committer | 2023-12-19 20:17:43 -0700 | |
commit | 77360cadaae562f437b3e98dc3af748d8d75bdc2 (patch) | |
tree | f423d9ab807674fb3a1b8091c3bcf51c3cbc66a5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'md-next-20231219' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into for-6.8/block (diff) | |
download | wireguard-linux-77360cadaae562f437b3e98dc3af748d8d75bdc2.tar.xz wireguard-linux-77360cadaae562f437b3e98dc3af748d8d75bdc2.zip |
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 <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20231217165359.604246-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions