pNFS/flexfiles: Ensure pNFS allocation modes are consistent with nfsiod
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 21 Mar 2022 19:34:22 +0000 (15:34 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 22 Mar 2022 19:52:56 +0000 (15:52 -0400)
commit3e5f151e94c190c31a240d9458677caab4f6c44e
treeb9e0aac1a74c5dce3e36a66f9ea1093f72024fe3
parent63d8a41b1dbf24dfc2480cb28236e2f6844d89b9
pNFS/flexfiles: Ensure pNFS allocation modes are consistent with nfsiod

Ensure that pNFS flexfile allocations in rpciod/nfsiod callbacks 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/flexfilelayout/flexfilelayout.c