]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
9pnet_rdma: add cancelled()
authorSimon Derr <simon.derr@bull.net>
Mon, 10 Mar 2014 15:38:51 +0000 (16:38 +0100)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 25 Mar 2014 21:38:13 +0000 (16:38 -0500)
commit931700d26bf17c583805f52121a41231e64868f3
treeee248fd27429ab8a3736825966a68f4396d929d4
parent3f9d5b8dfdc7b013287caaa847b378912b013f77
9pnet_rdma: add cancelled()

Take into account posted recv buffers that will never receive their
reply.

The RDMA code posts a recv buffer for each request that it sends.
When a request is flushed, it is possible that this request will
never receive a reply, and that one recv buffer will stay unused on
the recv queue.

It is then possible, if this scenario happens several times, to have the
recv queue full, and have the 9pnet_rmda module unable to send new requests.

Signed-off-by: Simon Derr <simon.derr@bull.net>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/trans_rdma.c