OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3070-g9607d0e
Gerrit Code Review
gerrit@openafs.org
Mon, 29 Oct 2012 13:37:43 -0700 (PDT)
The following commit has been merged in the master branch:
commit 9607d0e7993f3dee7f70ae747ea9d0b8ba1404af
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Oct 26 15:37:52 2012 +0100
rx: Move transmit queue clearing
When the client receives a data packet from the server, it means that
the server has completed processing the client's request. This, in turn,
implies that the transmit queue can be cleared. However, we were doing
this with every incoming data packet.
Move the transmit queue clearing to the code which handles the rest of
the data packet, and make the function only run if the transmit queue
is non-empty.
Now that there's no client specific logic in the ReceiveCall section,
clean up this code to reduce duplication.
Change-Id: Ia4f9024720c676cbcc6d8426d4b94a0acded20bc
Reviewed-on: http://gerrit.openafs.org/8301
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/rx/rx.c | 24 ++++++++++--------------
1 files changed, 10 insertions(+), 14 deletions(-)
--
OpenAFS Master Repository