diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-12-19 10:59:33 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-01-02 12:05:18 -0500 |
commit | 92f4433e567a034d87e1e2c9e5402ff5f58b545b (patch) | |
tree | 8ca69ff854e2ab207d652132ad63c0e9403f8be6 /net/sunrpc/stats.c | |
parent | 236b0943d1f21335a0fc4324f3bcc455cf99dfb7 (diff) |
xprtrdma: Simplify locking that protects the rl_allreqs list
Clean up: There's little chance of contention between the use of
rb_lock and rb_reqslock, so merge the two. This avoids having to
take both in some (possibly future) cases.
Transport tear-down is already serialized, thus there is no need for
locking at all when destroying rpcrdma_reqs.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/stats.c')
0 files changed, 0 insertions, 0 deletions