]> git.ipfire.org Git - thirdparty/linux.git/commit
writeback: Add logging for slow writeback (exceeds sysctl_hung_task_timeout_secs)
authorJulian Sun <sunjunchao@bytedance.com>
Tue, 30 Sep 2025 07:18:29 +0000 (15:18 +0800)
committerChristian Brauner <brauner@kernel.org>
Mon, 20 Oct 2025 18:22:39 +0000 (20:22 +0200)
commitd6e6215907640801b1f407dc9e871b19ca5a3805
tree8395a9f976b2d27e8b52734f85a2fc130d298cd8
parent1888635532fbbd6be4a4368621085c3a197279f8
writeback: Add logging for slow writeback (exceeds sysctl_hung_task_timeout_secs)

When a writeback work lasts for sysctl_hung_task_timeout_secs, we want
to identify that there are tasks waiting for a long time-this helps us
pinpoint potential issues.

Additionally, recording the starting jiffies is useful when debugging a
crashed vmcore.

Signed-off-by: Julian Sun <sunjunchao@bytedance.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/fs-writeback.c
include/linux/backing-dev-defs.h