OSDN Git Service

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)
commit0bae835b63c53f86cdc524f5962e39409585b22c
tree73501fafdba321ea8424aec4349c707b3d081bc6
parent515dcdcd48736576c6f5c197814da6f81c60a21e
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