Re: [PATCH] xfs: fix skipped flushing items not counted in xfsaild_push()

From: MingTao Huang

Date: Wed Sep 23 2026 - 22:11:55 EST


Hi Dave,

Thank you for the detailed explanation.

> As the author of this code, I can say for certain that the
> intent of 'count' is to count the number of items we made
> pushing decisions about, not count the number of items we
> have iterated.

I wasn't aware that count tracks push decisions rather than
items visited. Thank you for clarifying this.

> Tell me how the delwri list got so long that it gets stuck
> inside xfs_buf_delwri_submit_nowait(). Whatever caused that
> is the bug that we need to understand and fix

I think your point is well taken. I will continue investigating
the root cause of this soft lockup and follow up when I have
more evidence.

Thanks,
MingTao