]> www.infradead.org Git - users/hch/block.git/commit
sd: cleanup zoned queue limits initialization
authorChristoph Hellwig <hch@lst.de>
Wed, 22 May 2024 00:06:42 +0000 (17:06 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 31 May 2024 07:29:23 +0000 (09:29 +0200)
commit3746fac27747b78162454b4db87affc4b9998a6c
treeb26e702192ed264ae13a376a2e1c90a9ec08e892
parent37fc933784f81b440a94dc8b9dcc32858389125b
sd: cleanup zoned queue limits initialization

Consolidate setting zone-related queue limits in sd_zbc_read_zones
instead of splitting them between sd_zbc_revalidate_zones and
sd_zbc_read_zones, and move the early_zone_information initialization
in sd_zbc_read_zones above setting up the queue limits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
drivers/scsi/sd_zbc.c