]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Avoid writeback threads getting stuck in mempool_alloc()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 21 Mar 2022 17:48:36 +0000 (13:48 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 22 Mar 2022 19:52:56 +0000 (15:52 -0400)
commit846f4e6e0a0939133e2b003e92be5abccc745258
tree73501fafdba321ea8424aec4349c707b3d081bc6
parenta895a72ae02e2afd39c246647720d0caee097206
NFS: Avoid writeback threads getting stuck in mempool_alloc()

In a low memory situation, allow the NFS writeback code to fail without
getting stuck in infinite loops in mempool_alloc().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pagelist.c
fs/nfs/write.c