diff options
| author | Chuck Lever <[email protected]> | 2016-11-29 16:04:50 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2016-11-30 22:31:13 +0000 |
| commit | e4eb42cecc6dc546aac888ee4913d59121e886ee (patch) | |
| tree | d78a0e21882dfb0ba3046a6f6962285d3efac9ef /net/unix/af_unix.c | |
| parent | svcrdma: Renovate sendto chunk list parsing (diff) | |
| download | kernel-e4eb42cecc6dc546aac888ee4913d59121e886ee.tar.gz kernel-e4eb42cecc6dc546aac888ee4913d59121e886ee.zip | |
svcrdma: Remove BH-disabled spin locking in svc_rdma_send()
svcrdma's current SQ accounting algorithm takes sc_lock and disables
bottom-halves while posting all RDMA Read, Write, and Send WRs.
This is relatively heavyweight serialization. And note that Write and
Send are already fully serialized by the xpt_mutex.
Using a single atomic_t should be all that is necessary to guarantee
that ib_post_send() is called only when there is enough space on the
send queue. This is what the other RDMA-enabled storage targets do.
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
