diff options
author | Christoph Hellwig <[email protected]> | 2024-02-13 08:34:22 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-02-13 08:56:59 -0700 |
commit | 8b837256560c783415b42748959900befcde2d00 (patch) | |
tree | e21a562260bf9a3083272f4650505a47501093be /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 718628adfcfdc80466eb42cd9c615d1d5514f74c (diff) |
virtio_blk: pass queue_limits to blk_mq_alloc_disk
Call virtblk_read_limits and most of virtblk_probe_zoned_device before
allocating the gendisk and thus request_queue and make them read into
a queue_limits structure instead. Pass this initialized queue_limits
to blk_mq_alloc_disk to set the queue up with the right parameters
from the start and only leave a few final touches for zoned devices
to be done just before adding the disk.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions