9P/RDMA: count posted buffers without a pending request
authorSimon Derr <simon.derr@bull.net>
Fri, 21 Jun 2013 13:32:42 +0000 (15:32 +0200)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 8 Jul 2013 03:04:36 +0000 (22:04 -0500)
commit1cff33069a4a1ac9ed080756113ecd17ad408282
treebc7c5e50fb6ad102b16b93da9263fc36506d5d32
parent2f52d07cb75d96fcbb5b9ab72938590fa9ffb19d
9P/RDMA: count posted buffers without a pending request

In rdma_request():

If an error occurs between posting the recv and the send,
there will be a reply context posted without a pending
request.
Since there is no way to "un-post" it, we remember it and
skip post_recv() for the next request.

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