OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4212-gd820af6
Gerrit Code Review
gerrit@openafs.org
Wed, 9 Apr 2014 07:12:03 -0700 (PDT)
The following commit has been merged in the master branch:
commit 0ec67b0a9a175af14e360da75d1f5429c6c97b24
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Feb 21 15:30:49 2014 -0600
rx: Avoid rxi_Delay on RXS_CheckResponse failure
Currently we rxi_Delay whenever RXS_CheckResponse fails for any
reason. This can result in disastrous performance degradations if a
client keeps sending "bad" responses, since rxi_Delay'ing here will
delay the Rx listener thread. This means we cannot receive any packets
for about a second, which can easily cause us to drop a lot of
incoming packets.
Instead, send the abort after 1 second by scheduling an event. This
will retain existing behavior from the point of view of the client
(it will get the abort after 1 second), but avoids hanging the Rx
listener thread.
FIXES 131802
Change-Id: Id8f9fc46902ae3cf019dd0ece0a96133b9b9d07c
src/rx/rx.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository