shithub: gefs

Download patch

ref: 39d119309f93dedbcd10f9004633c7a69c1f891d
parent: 58653486425b0d3bbcf8e2c6c8c3d444ceb1e20c
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Oct 17 17:48:38 EDT 2023

freplay: show number of writes replayed

--- a/test/freplay.c
+++ b/test/freplay.c
@@ -51,6 +51,7 @@
 		sysfatal("operation exceeds buffer size");
 	if(readn(fd, membuf + o, n) != n)
 		sysfatal("read op: %r");
+	nwrites++;
 	return 1;
 }