OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-94-gf59e45e
Gerrit Code Review
gerrit@openafs.org
Wed, 23 Feb 2011 02:16:25 -0800 (PST)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit f59e45e2bdf1b2f0b9fd2edf10476bd5e463226d
Author: Andrew Deason <adeason@sinenomine.net>
Date: Wed May 12 13:59:06 2010 -0500
Solaris: stop NetIfPoller on shutdown
The NetIfPoller code that is enabled on AFS_SUN510_ENV never gets
shutdown properly. The current code looks as if it was intended for
NetIfPoller to recognize the appropriate termState and just return,
but we never wait for it, and so we can complete the shutdown sequence
without NetIfPoller ever knowing that we are shutting down. This can
cause the machine to panic, as we keep attempting to run NetIfPoller
even after libafs has been unloaded.
Since NetIfPoller is fired by default every 30 seconds, we probably do
not want to wait for it to fire during shutdown. Instead, just destroy
the necessary timeout and task queue, which will wait for NetIfPoller
to complete if running, and will just prevent it from running in the
future otherwise.
Reviewed-on: http://gerrit.openafs.org/1957
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 9562721b89a2a7a7f32a165762d7fba8540006a9)
Change-Id: Ie60503b17eac732e96fa64dcd2c910cc0592188d
Reviewed-on: http://gerrit.openafs.org/3589
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_call.c | 10 ++++++++--
src/rx/SOLARIS/rx_knet.c | 39 +++++++++++++++++++++++++++++----------
src/rx/rx_prototypes.h | 1 +
3 files changed, 38 insertions(+), 12 deletions(-)
--
OpenAFS Master Repository