Re: [PATCH 23/26] block: Remove zone write locking

Hannes Reinecke
2024-02-04T12:38:56Z

On 2/2/24 15:31, Damien Le Moal wrote:
> Zone write locking is now unused and replaced with zone write plugging.
> Remove all code that was implementing zone write locking, that is, the
> various helper functions controlling request zone write locking and
> the gendisk attached zone bitmaps.
>
> The "zone_wlock" mq-debugfs entry that was listing zones that are
> write-locked is replaced with the zone_plugged_wplugs entry which lists
> the number of zones that have a zone write plug throttling write
> operations.
>
> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
> ---
> block/blk-mq-debugfs.c | 3 +-
> block/blk-mq-debugfs.h | 4 +-
> block/blk-zoned.c | 98 ++++++---------------------------------
> include/linux/blk-mq.h | 83 ---------------------------------
> include/linux/blk_types.h | 1 -
> include/linux/blkdev.h | 36 ++------------
> 6 files changed, 21 insertions(+), 204 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Ivo Totev, Andrew McDonald,
Werner Knoblich