This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master in repository sanlock.
commit f88c4bc3d13fc988c753fa2e9bf044253912f48f Author: David Teigland teigland@redhat.com AuthorDate: Mon Mar 17 12:39:32 2025 -0500
sanlock: fix renewal history error and timeout
The error/timeout values were not being reset to zero, so when the renewal history wrapped around, the old values would be reported. --- src/lockspace.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/lockspace.c b/src/lockspace.c index 100bd44..bf83ac5 100644 --- a/src/lockspace.c +++ b/src/lockspace.c @@ -737,6 +737,8 @@ static void save_renewal_history(struct space *sp, int delta_result, hi->timestamp = last_success; hi->read_ms = rd_ms; hi->write_ms = wr_ms; + hi->next_timeouts = 0; + hi->next_errors = 0;
sp->renewal_history_prev = sp->renewal_history_next; sp->renewal_history_next++;
sanlock-devel@lists.fedorahosted.org