diff options
author | Christoph Hellwig <hch@lst.de> | 2023-12-17 19:53:55 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-12-20 06:17:43 +0300 |
commit | 77360cadaae562f437b3e98dc3af748d8d75bdc2 (patch) | |
tree | f423d9ab807674fb3a1b8091c3bcf51c3cbc66a5 /scripts/lib/kdoc/kdoc_files.py | |
parent | 0bd7c5d802586e9d86c09f79cbf5ca8fdbec57ec (diff) | |
download | linux-77360cadaae562f437b3e98dc3af748d8d75bdc2.tar.xz |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions