On 2/2/24 15:31, Damien Le Moal wrote:
Add the zone_active_wplugs debugfs entry to list the zone number and
write pointer offset of zones that have an active zone write plug.

This helps ensure that struct blk_zone_active_wplug are reclaimed as
zones become empty or full and allows observing which zones are being
written by the block device user.

Signed-off-by: Damien Le Moal <dlem...@kernel.org>
---
  block/blk-mq-debugfs.c |  1 +
  block/blk-mq-debugfs.h |  5 +++++
  block/blk-zoned.c      | 27 +++++++++++++++++++++++++++
  3 files changed, 33 insertions(+)

Reviewed-by: Hannes Reinecke <h...@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
h...@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


Reply via email to