Re: [Linux Kernel Bug] INFO: task hung in btrfs_writepages

From: Qu Wenruo

Date: Sun Dec 06 2026 - 01:36:17 EST




在 2026/12/6 17:03, Qu Wenruo 写道:


在 2026/12/6 16:50, Jiaming Zhang 写道:
Hi Linux kernel developers and maintainers,

We are writing to report a hung-task issue in the Btrfs subsystem,
reproducible on the latest version of Linux (v7.4-rc5, commit
fe6ff8d5d675).

It is triggered by mounting a Btrfs image with zstd compression
(requiring CAP_SYS_ADMIN to mount) when memory pressure causes workspace
preallocation to fail,

Test again on the latest for-next.

There is a patch changed the zstd workspace behavior:

btrfs: zstd: use a dedicated hidden max level workspace


And update the memory file for your agent to test against the development branch, fetched from MAINTAINERS file, before sending any report/bug fix.