On 10/15/2013 09:13 PM, Rolf Fokkens wrote:
On 10/14/2013 10:08 AM, Florian Weimer wrote:
Is there a write-up somewhere documenting what strategies are
implemented by bcache to keep the SSD and the hard disk contents in
sync even in the event of a sudden power loss?
This is good place to start: http://bcache.evilpiepirate.org/

It doesn't actually address this as far as I can see. It only describes how the data structure integrity is maintained on the SSD side. Even that doesn't seem to address torn writes (which are problem for cheap-to-medium-grade SSDs). The code contains "propagate barriers" as a to-do item (see the beginning of drivers/md/bcache/btree.c). I couldn't find anything that discusses write ordering issues which can occur in write-through mode.

--
Florian Weimer / Red Hat Product Security Team
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to