]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2d7cd60da0742505d5a007baf1bcdd998924289
treeb9e0aac1a74c5dce3e36a66f9ea1093f72024fe3
parentf96dd299bc49bd416fb630f2caad78721dbbbc35
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