Re: [PATCH 0/3] Suppress undesirable hung task warnings.

From: Christoph Hellwig

Date: Mon Sep 22 2025 - 14:08:35 EST


On Mon, Sep 22, 2025 at 03:27:18PM +0200, Peter Zijlstra wrote:
> > Julian Sun (3):
> > sched: Introduce a new flag PF_DONT_HUNG.
> > writeback: Introduce wb_wait_for_completion_no_hung().
> > memcg: Don't trigger hung task when memcg is releasing.
>
> This is all quite terrible. I'm not at all sure why a task that is
> genuinely not making progress and isn't killable should not be reported.

The hung device detector is way to aggressive for very slow I/O.
See blk_wait_io, which has been around for a long time to work
around just that. Given that this series targets writeback I suspect
it is about an overloaded device as well.

>
---end quoted text---