commit | 515dcdcd48736576c6f5c197814da6f81c60a21e | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Mar 21 12:34:19 2022 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Tue Mar 22 15:52:56 2022 -0400 |
tree | 1e60066cbf650cf06a95386681744d867490156b | |
parent | b2648015d4521de21ed3c9f48f718e023860b8c1 [diff] |
NFS: nfsiod should not block forever in mempool_alloc() The concern is that since nfsiod is sometimes required to kick off a commit, it can get locked up waiting forever in mempool_alloc() instead of failing gracefully and leaving the commit until later. Try to allocate from the slab first, with GFP_KERNEL | __GFP_NORETRY, then fall back to a non-blocking attempt to allocate from the memory pool. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>