+2
−1
+3
−0
+33
−0
+1
−0
Loading
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: 96780ca5 ("NFS: fix up nfs_release_folio() to try to release the page") Signed-off-by:
Trond Myklebust <trond.myklebust@hammerspace.com>