git: 9front

Download patch

ref: d9e105d98c2ea8fe903fbcd7476ae80d857c7970
parent: 5a4c5ba24704db87f226761ac690a97d2a9252a5
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Nov 28 20:45:17 EST 2025

gefs: reduce delay before warning on stalled epoch

~10 minutes is a bit too long, if we haven't done shit in
45s, we're proably too slow.

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