[GIT PULL] Btrfs fixes fro 6.19-rc8

From: David Sterba

Date: Thu Jan 29 2026 - 09:25:29 EST


Hi,

please pull two fixes for bugs with serious consequences. Thanks.

- fix leaked folio refcount on s390x when using hw zlib compression
acceleration

- remove own threshold from ->writepages() which could collide with
cgroup limits and lead to a deadlock when metadadata are not written
because the amount is under the internal limit

----------------------------------------------------------------
The following changes since commit 34308187395ff01f2d54007eb8b222f843bdf445:

btrfs: add extra device item checks at mount (2026-01-20 17:18:48 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.19-rc7-tag

for you to fetch changes up to 0d0f1314e8f86f5205f71f9e31e272a1d008e40b:

btrfs: zlib: fix the folio leak on S390 hardware acceleration (2026-01-21 19:35:41 +0100)

----------------------------------------------------------------
Qu Wenruo (2):
btrfs: do not strictly require dirty metadata threshold for metadata writepages
btrfs: zlib: fix the folio leak on S390 hardware acceleration

fs/btrfs/disk-io.c | 22 ----------------------
fs/btrfs/extent_io.c | 3 +--
fs/btrfs/extent_io.h | 3 +--
fs/btrfs/zlib.c | 1 +
4 files changed, 3 insertions(+), 26 deletions(-)