OSDN Git Service

NFSv4/pnfs: Ensure pNFS allocation modes are consistent with nfsiod
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 21 Mar 2022 19:32:09 +0000 (15:32 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 22 Mar 2022 19:52:56 +0000 (15:52 -0400)
commit63d8a41b1dbf24dfc2480cb28236e2f6844d89b9
treed468be3b6af9d9ecbb4be2f368db2a54ea3b685c
parent0bae835b63c53f86cdc524f5962e39409585b22c
NFSv4/pnfs: Ensure pNFS allocation modes are consistent with nfsiod

Ensure that pNFS allocations that can be called from rpciod/nfsiod
callback can fail in low memory mode, so that the threads don't block
and loop forever.

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