Commit Diff


commit - b98ae9bf71e83bc6fdee9a263ed062b9537b54a9
commit + eacc220a040de32a873340274f09b8e0498ff85f
blob - 394641d40d4b6c3ce29ff035900a219db4fe9437
blob + 2ce96ee9130b99ddad0ffd43042d1abd52adfa16
--- src/libventi/cache.c
+++ src/libventi/cache.c
@@ -384,6 +384,8 @@ vtcacheglobal(VtCache *c, uchar score[VtScoreSize], in
 		qlock(&b->lk);
 		b->nlock = 1;
 		if(b->iostate == BioVentiError){
+			if(chattyventi)
+				fprint(2, "cached read error for %V\n", score);
 			werrstr("venti i/o error");
 			vtblockput(b);
 			return nil;
@@ -420,7 +422,8 @@ vtcacheglobal(VtCache *c, uchar score[VtScoreSize], in
 	n = vtread(c->z, score, type, b->data, c->blocksize);
 	if(n < 0){
 		werrstr("vtread %V: %r", score);
-abort();
+		if(chattyventi)
+			fprint(2, "read %V: %r\n", score);
 		b->iostate = BioVentiError;
 		vtblockput(b);
 		return nil;