diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-04-28 21:46:01 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-07-11 01:00:53 +0200 |
commit | 4b8dbdfbc5f650095a8e105998e7a84b4d212495 (patch) | |
tree | eeb7f7baef36824ffe17bfb6a571b84e2db72e83 /net/sunrpc/sched.c | |
parent | Linux 5.19-rc6 (diff) | |
download | linux-4b8dbdfbc5f650095a8e105998e7a84b4d212495.tar.xz linux-4b8dbdfbc5f650095a8e105998e7a84b4d212495.zip |
SUNRPC: Fix an RPC/RDMA performance regression
Use the standard gfp mask instead of using GFP_NOWAIT. The latter causes
issues when under memory pressure.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/sched.c')
-rw-r--r-- | net/sunrpc/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index 7f70c1e608b7..25b9221950ff 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c @@ -63,6 +63,7 @@ gfp_t rpc_task_gfp_mask(void) return GFP_KERNEL | __GFP_NORETRY | __GFP_NOWARN; return GFP_KERNEL; } +EXPORT_SYMBOL_GPL(rpc_task_gfp_mask); unsigned long rpc_task_timeout(const struct rpc_task *task) |