commit | 42b9f5c58aa8c59c91ead0254f0c193e3438b020 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Thu Dec 14 20:56:18 2017 -0500 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Tue Jan 16 11:19:42 2018 -0500 |
tree | 09913cced38a56763951c91023d94d5e381c4154 | |
parent | d698c4a02ee02053bbebe051322ff427a2dad56a [diff] |
xprtrdma: Eliminate unnecessary lock cycle in xprt_rdma_send_request The rpcrdma_req is not shared yet, and its associated Send hasn't been posted, thus RMW should be safe. There's no need for the expense of a lock cycle here. Fixes: 0ba6f37012db ("xprtrdma: Refactor rpcrdma_deferred_completion") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>