Commit [931700] Maximize Restore History

9pnet_rdma: add cancelled()

Take into account posted recv buffers that will never receive their

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 <>
Signed-off-by: Eric Van Hensbergen <>

Simon Derr Simon Derr 2014-03-10

Eric Van Hensbergen Eric Van Hensbergen 2014-03-25

changed net
changed net/9p
changed net/9p/trans_rdma.c
net/9p/trans_rdma.c Diff Switch to side-by-side view