diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-12-31 11:42:31 -0500 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2026-01-04 23:03:24 -0500 |
| commit | cce0be6eb4971456b703aaeafd571650d314bcca (patch) | |
| tree | 2d3741ca0b4b4c6e1f538534ac603da5d74834c6 /include/linux/platform_data/git@git.tavy.me:linux.git | |
| parent | 857bf9056291a16785ae3be1d291026b2437fc48 (diff) | |
NFS: Fix a deadlock involving nfs_release_folio()
Wang Zhaolong reports a deadlock involving NFSv4.1 state recovery
waiting on kthreadd, which is attempting to reclaim memory by calling
nfs_release_folio(). The latter cannot make progress due to state
recovery being needed.
It seems that the only safe thing to do here is to kick off a writeback
of the folio, without waiting for completion, or else kicking off an
asynchronous commit.
Reported-by: Wang Zhaolong <wangzhaolong@huaweicloud.com>
Fixes: 96780ca55e3c ("NFS: fix up nfs_release_folio() to try to release the page")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/platform_data/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
