git: 9front

Download patch

ref: 389adc25764a27ff5feffabd185573e64ecbebed
parent: d22a54d5a59d6617a584ff2219c9c8865577b94a
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Nov 28 10:50:40 EST 2025

gefs: only print 'stalled epoch' once after 500 seconds

--- a/sys/src/cmd/gefs/blk.c
+++ b/sys/src/cmd/gefs/blk.c
@@ -884,9 +884,7 @@
 	for(i = 0; i < agetl(&fs->nworker); i++){
 		e = agetl(&fs->lepoch[i]);
 		if((e & Eactive) && e != (ge | Eactive)){
-			if(delay < 1000)
-				delay++;
-			else
+			if(delay == 1000)
 				fprint(2, "stalled epoch %lx [worker %d]\n", e, i);
 			sleep(delay);
 			goto Again;
--