]> git.michaelhowe.org Git - packages/o/openafs.git/commit
rx: Fix test for end of call queue for LWP
authorAndrew Deason <adeason@sinenomine.net>
Thu, 26 Sep 2019 18:35:51 +0000 (13:35 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Sun, 26 Jan 2020 17:58:25 +0000 (12:58 -0500)
commitdace4163c169f879c4054e1f3e9071b8b0ab3226
tree88f36f52505377b5ce6979288aef76c9d5f69595
parentb3ce4c493a6920b160e7ecd251fcc694891d3446
rx: Fix test for end of call queue for LWP

Commit 6ad3d646 (rx: Correctly test for end of call queue) fixed a
broken end-of-queue check in rx_GetCall, but it only fixed the
RX_ENABLE_LOCKS version of rx_GetCall. The non-locks version (i.e. the
LWP version) still had this bug. Fix it for the LWP case, to avoid
some rare cases where an Rx call can get stuck in the incoming queue.

Also remove the comment added by commit 170dbb3c (rx: Use opr queues),
since we're fixing the mentioned problem.

Reviewed-on: https://gerrit.openafs.org/13880
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit d9fc4890f01a41fa5a63f97f2446b3afc35b473f)

Change-Id: I2e0106b63a8bf09634500944490dfae2e86c18b9
Reviewed-on: https://gerrit.openafs.org/13892
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/rx/rx.c