Thread (30 messages) 30 messages, 4 authors, 2026-09-15

Re: [PATCH v7 04/16] block: refactor disk_update_zone_resources()

flat view

From: Hannes Reinecke <hare@suse.de>
Date: 2026-09-09 09:09:51

On 9/8/26 10:57 AM, Damien Le Moal wrote:
Since the function disk_update_zone_resources() does a lot of checks
beside updating a zoned disk limits and resources, rename this function
to disk_revalidate_zone_resources().

To keep all the checks together, move the capacity checks (including the
check on the end sector of the last zone of the disk) in
blk_revalidate_disk_zones() to this function.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
---
  block/blk-zoned.c | 64 ++++++++++++++++++++++++++---------------------
  1 file changed, 35 insertions(+), 29 deletions(-)
Reviewed-by: Hannes Reinecke <hare@kernel.org>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help