]> 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)
commitf8d02fca61ed76d32ed8747c02d2e30693b3509a
tree73501fafdba321ea8424aec4349c707b3d081bc6
parent2d57b3020085e13e674f0aef7fd16f449674a8b1
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