Progress toward fixing writes >8192 bytes
Add cache invalidation, various minor fixes
Add cache invalidation, change LOG() behavior when logging disabled
Fix LOG() in ntreg.c