summaryrefslogtreecommitdiff
path: root/drivers/block/null_blk
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2023-07-03 05:48:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-07-06 04:58:10 +0300
commitd226b0a2b683e27fce060669dc7cb8d6917b785a (patch)
treead4b7e08cee9901008cc5d686a8d728abf05c2a9 /drivers/block/null_blk
parentf79846ca2f04c9744627c24034d675c88f0da3a0 (diff)
downloadlinux-d226b0a2b683e27fce060669dc7cb8d6917b785a.tar.xz
scsi: nvme: zns: Set zone limits before revalidating zones
In nvme_revalidate_zones(), execute blk_queue_chunk_sectors() and blk_queue_max_zone_append_sectors() to respectively set a ZNS namespace zone size and maximum zone append sector limit before executing blk_revalidate_disk_zones(). This is to allow the block layer zone reavlidation to check these device characteristics prior to checking all zones of the device. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20230703024812.76778-3-dlemoal@kernel.org Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/block/null_blk')
0 files changed, 0 insertions, 0 deletions