#1151267 zfs-linux: backport upstream fix for ZIL deadlock

Package:
src:zfs-linux
Source:
src:zfs-linux
Submitter:
Jaromir Hamala
Date:
2026-10-19 10:55:02 UTC
Severity:
normal
Tags:
#1151267#5
Date:
2026-10-19 10:53:57 UTC
From:
To:
Hello,

Could you include the attached fix in the next unstable upload?

Upstream PR #19253 fixes a deadlock in zfs_xattr_owner_unlinked() that
can prevent a pool from syncing. It was reviewed by Brian Behlendorf
and merged upstream on 8 October.

The patch applies unchanged to 2.4.4-1, touches one file, and makes no
ABI or on-disk format changes.

I built the patched Debian packages in an unstable/amd64 Docker
container and tested them in a sid VM on Linux 7.2.11+deb14-amd64.
Both release and debug modules passed Debian's kernel smoke suite,
all 24 test cases in the tmpfile/xattr/mmap groups, and mmap/xattr/unlink
stress with xattr=sa and xattr=dir. Pool sync, export and reimport
completed without errors.

Both patched and unpatched builds report the same strlcat checkabi
failures; direct ABI comparisons between their libraries pass.

I can provide build/test logs or a Salsa merge request if helpful.

Thanks,
Jaromir Hamala