[PATCH v4 25/28] block: Replace zone_wlock debugfs entry with zone_wplugs entry
Hannes Reinecke
hare at suse.de
Tue Apr 2 23:43:17 PDT 2024
On 4/2/24 14:39, Damien Le Moal wrote:
> In preparation to completely remove zone write locking, replace the
> "zone_wlock" mq-debugfs entry that was listing zones that are
> write-locked with the zone_wplugs entry which lists the zones that
> currently have a write plug allocated.
>
> The write plug information provided is: the zone number, the zone write
> plug flags, the zone write plug write pointer offset and the number of
> BIOs currently waiting for execution in the zone write plug BIO list.
>
> Signed-off-by: Damien Le Moal <dlemoal at kernel.org>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Bart Van Assche <bvanassche at acm.org>
> ---
> block/blk-mq-debugfs.c | 2 +-
> block/blk-mq-debugfs.h | 4 ++--
> block/blk-zoned.c | 31 ++++++++++++++++++++++++-------
> 3 files changed, 27 insertions(+), 10 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at 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
More information about the Linux-nvme
mailing list