diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2024-06-04 15:45:27 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2024-07-08 13:47:24 -0400 |
commit | 0e13dd9ea8be46f980a46c3ffd8cb786f3e2fb5b (patch) | |
tree | c0f6cbbaca3c27d32d0e12cbc59ce30e87eb5282 /net/sunrpc/clnt.c | |
parent | 9d53378c2c145991fb5bc986c82eb9030212c2ea (diff) |
xprtrdma: Remove temp allocation of rpcrdma_rep objects
The original code was designed so that most calls to
rpcrdma_rep_create() would occur on the NUMA node that the device
preferred. There are a few cases where that's not possible, so
those reps are marked as temporary.
However, we have the device (and its preferred node) already in
rpcrdma_rep_create(), so let's use that to guarantee the memory
is allocated from the correct node.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
0 files changed, 0 insertions, 0 deletions