Re: [PATCH 0/3] Bcache: version 4

From: Kent Overstreet
Date: Sat May 01 2010 - 14:43:39 EST


On 05/01/2010 05:01 AM, Valdis.Kletnieks@xxxxxx wrote:
On Fri, 30 Apr 2010 16:12:13 -0800, Kent Overstreet said:

Most of the basic functionality is now there; the most visible thing is
it's now correctly saving all the metadata, so you can unload a cache
and then reload it, and everything will still be there.

If you unload a cache and then reload it, what prevents it from serving
up now-stale data from an extent that was modified while the cache was
unloaded?

(Telling me "Get some caffeine, it's about halfway down in patch 2" or
"We'll add that in Version 6 of the patch" are both acceptable answers" :)

The plan is check if any devices are open read write on cache load and unload, and invalidate their cached data if so. Not implemented yet, though.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/