commit | 92f4433e567a034d87e1e2c9e5402ff5f58b545b | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Wed Dec 19 10:59:33 2018 -0500 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Wed Jan 02 12:05:18 2019 -0500 |
tree | 8ca69ff854e2ab207d652132ad63c0e9403f8be6 | |
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>