summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Derr <simon.derr@bull.net>2013-06-21 15:32:39 +0200
committerEric Van Hensbergen <ericvh@gmail.com>2013-07-07 22:02:29 -0500
commitfd453d0ed6c1dacef8eff466df473d62d63db1e9 (patch)
treed1858110c400fc20cf403e2798a5a3d1546dcbaf /drivers
parent47229ff85e5a0b0613df2288d212938aeb9687da (diff)
9P/RDMA: Use a semaphore to protect the RQ
The current code keeps track of the number of buffers posted in the RQ, and will prevent it from overflowing. But it does so by simply dropping post requests (And leaking memory in the process). When this happens there will actually be too few buffers posted, and soon the 9P server will complain about 'RNR retry counter exceeded' errors. Instead, use a semaphore, and block until the RQ is ready for another buffer to be posted. Signed-off-by: Simon Derr <simon.derr@bull.net> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions