Changes to 'timeout4'
by David Teigland
New branch 'timeout4' available with the following commits:
commit d48b7eeec1f3542360c8413b53da1920d0accaa9
Author: David Teigland <teigland(a)redhat.com>
Date: Tue Jul 31 13:41:28 2012 -0500
daemon: extend grace time
Increase the default grace time for a killpath instance
from 30 to 40 seconds based on a corrected analysis of
the recovery sequence. The period during which the
watchdog may fire is determined by the wdmd check
interval (10 seconds), not the sanlock renewal interval.
Signed-off-by: David Teigland <teigland(a)redhat.com>
commit d9aa0220d281c133c9e6ab7273d20a52d5d2d6c8
Author: David Teigland <teigland(a)redhat.com>
Date: Mon Jul 23 08:58:57 2012 -0500
sanlock: adjustable io timeouts
New sanlock_add_lockspace_timeout() api to allow
the timeout to be specified per lockspace.
Also correctly handle nodes that may be using
different timeouts in the same lockspace.
Signed-off-by: David Teigland <teigland(a)redhat.com>
commit a0bd483c5339bd323a6a89cb5eee8548b7cf236d
Author: David Teigland <teigland(a)redhat.com>
Date: Thu Jul 26 15:35:02 2012 -0500
daemon: log kill pid messages
Put messages in syslog when pids are being killed
for a failed lockspace, and when all pids have been
cleared from a failed lockspace.
Signed-off-by: David Teigland <teigland(a)redhat.com>
11 years, 9 months
wdmd/main.c
by David Teigland
wdmd/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3a2ba2d0fbe78f4eacd438b708ceff6e96903d37
Author: David Teigland <teigland(a)redhat.com>
Date: Wed Aug 1 17:00:53 2012 -0500
wdmd: use lockfile mode 644
Signed-off-by: David Teigland <teigland(a)redhat.com>
diff --git a/wdmd/main.c b/wdmd/main.c
index 63ae2bc..f053de4 100644
--- a/wdmd/main.c
+++ b/wdmd/main.c
@@ -817,7 +817,7 @@ static int lockfile(void)
sprintf(lockfile_path, "%s/wdmd.pid", WDMD_RUN_DIR);
- fd = open(lockfile_path, O_CREAT|O_WRONLY|O_CLOEXEC, 0666);
+ fd = open(lockfile_path, O_CREAT|O_WRONLY|O_CLOEXEC, 0644);
if (fd < 0) {
log_error("lockfile open error %s: %s",
lockfile_path, strerror(errno));
11 years, 9 months