Commit Diff


commit - a1882dc1d0eeb8eb15614b28d3c11a3697bcd185
commit + b98ae9bf71e83bc6fdee9a263ed062b9537b54a9
blob - 0ea07c4c915c5228286dc0f11a3c2040af5d0faf
blob + 889f86d313de1bfb173cc1687609db7c469ef0f4
--- include/venti.h
+++ include/venti.h
@@ -387,6 +387,7 @@ void vtcachefree(VtCache*);
 VtBlock *vtcachelocal(VtCache*, u32int addr, int type);
 VtBlock *vtcacheglobal(VtCache*, uchar[VtScoreSize], int type);
 VtBlock *vtcacheallocblock(VtCache*, int type);
+void vtcachesetwrite(VtCache*, int(*)(VtConn*,uchar[VtScoreSize],uint,uchar*,int));
 void vtblockput(VtBlock*);
 u32int vtcacheblocksize(VtCache*);
 int vtblockwrite(VtBlock*);