Re: [PATCH 11/13] block: add zone write plug condition to debugfs zone_wplugs

Bart Van Assche
2025-10-31T21:55:37Z

On 10/30/25 11:13 PM, Damien Le Moal wrote:
> - seq_printf(m, "%u 0x%x %u %u %u\n", zwp_zone_no, zwp_flags, zwp_ref,
> - zwp_wp_offset, zwp_bio_list_size);
> + seq_printf(m, "%u 0x%x %u 0x%x %u %u\n",
> + zwp_zone_no, zwp_flags, zwp_ref,
> + zwp_cond, zwp_wp_offset, zwp_bio_list_size);

The debugfs output is incomprehensible for anyone who has not memorized
the source code of queue_zone_wplug_show(). Please expand the debugfs
output such that it becomes easier to comprehend. See e.g. the
queue_zone_wplug_show() changes in
https://lore.kernel.org/linux-block/20251014215428.3686084-15-bvanassche@acm.org/.

Thanks,

Bart.