Bcache: Caching beyond just RAM
Bcache: Caching beyond just RAM
Posted Jul 8, 2010 23:16 UTC (Thu) by koverstreet (✭ supporter ✭, #4296)In reply to: Bcache: Caching beyond just RAM by sflintham
Parent article: Bcache: Caching beyond just RAM
I am looking into invalidating the cache contents if a filesystem was already opened read write, or perhaps checking if the first page or so matches what it previously had - this would catch it provided the filesystem superblock changed. But the real performance gains are to be had with write behind caching, and none of this really matters there, since the cached device is now inconsistent if you use it without the cache. By the time bcache saw the cache was out of date it'd be too late to do anything.