diff options
author | Damien Le Moal <[email protected]> | 2021-01-28 13:47:28 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-02-10 07:44:40 -0700 |
commit | 5752dc78a18118ae143962e10e5c28344d8ab731 (patch) | |
tree | 2fdbc705c5a2ce5d1d43768ac069b8d15eb44173 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 73d90386b559d6f4c3c5db5e6bb1b68aae8fd3e7 (diff) |
nullb: use blk_queue_set_zoned() to setup zoned devices
Use blk_queue_set_zoned() to set a nullb device zone model instead of
directly assigning the device queue zoned limit. This initialization of
the devicve zoned model as well as the setup of the queue flag
QUEUE_FLAG_ZONE_RESETALL and of the device queue elevator feature are
moved from null_init_zoned_dev() to null_register_zoned_dev() so that
the initialization of the queue limits is done when the gendisk of the
nullb device is available.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions