diff options
author | neilbrown <neilbrown> | 2004-12-06 01:24:46 +0000 |
---|---|---|
committer | neilbrown <neilbrown> | 2004-12-06 01:24:46 +0000 |
commit | 2a8ca391fcc5f34aa02aa985a17823f6f7a4ad9f (patch) | |
tree | 7f8ef5204c93efca01413f3b3d69f72aef9612d8 /utils | |
parent | 8d926d3defedf7bb82c2f3f9fd1746fb0d0b968a (diff) | |
download | nfs-utils-2a8ca391fcc5f34aa02aa985a17823f6f7a4ad9f.tar.gz nfs-utils-2a8ca391fcc5f34aa02aa985a17823f6f7a4ad9f.tar.xz nfs-utils-2a8ca391fcc5f34aa02aa985a17823f6f7a4ad9f.zip |
HA statd updates
Diffstat (limited to 'utils')
-rw-r--r-- | utils/statd/statd.c | 3 | ||||
-rw-r--r-- | utils/statd/svc_run.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/utils/statd/statd.c b/utils/statd/statd.c index 3f64115..48362c0 100644 --- a/utils/statd/statd.c +++ b/utils/statd/statd.c @@ -111,7 +111,8 @@ killer (int sig) static void sigusr (int sig) { - dprintf (N_DEBUG, "Caught signal %d, re-reading notify list.", sig); + dprintf (N_DEBUG, "Caught signal %d, re-notifying (state %d).", sig, + MY_STATE); re_notify = 1; } diff --git a/utils/statd/svc_run.c b/utils/statd/svc_run.c index 7b69dc8..f6bcbb9 100644 --- a/utils/statd/svc_run.c +++ b/utils/statd/svc_run.c @@ -88,6 +88,9 @@ my_svc_run(void) if (svc_stop) return; if (re_notify) { + change_state(); + dprintf(N_DEBUG, "Notifying...(new state %d)", + MY_STATE); notify_hosts(); re_notify = 0; } |