]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-viced-qsort-cba-before-multibreakcallback-to-avoid-lockup-20080218
authorDerrick Brashear <shadow@dementia.org>
Mon, 18 Feb 2008 19:20:52 +0000 (19:20 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 18 Feb 2008 19:20:52 +0000 (19:20 +0000)
commit3c3d21728908bbfb89c243e88f7adf09221ceb8f
treefd296f26635fd87c58844398d14f950944361d40
parente389d8f964380f7e381de7c32e05b14a44122e3a
DEVEL15-viced-qsort-cba-before-multibreakcallback-to-avoid-lockup-20080218

LICENSE IPL10

my code, though, this is a result of a problem reported by Chaskiel Grundman and analysis by him, Jeff Altman and myself.

I'm just checking in my implementation. In any case, the issue this addresses
is one where we can end up in makecall_waiting in rx on multiple connections
when we multibreakcallback because the lists are sorted differently and each has "pending" calls on a different connection. by sorting by index we will not
block on another caller while also holding what they're after

(cherry picked from commit 7421feda944d5fa05f5223528a69f23a7bb0b724)
src/packaging/RedHat/mockbuild.pl [new file with mode: 0755]
src/viced/callback.c