Re: bcache strategies for consistency in case of powerloss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Florian,

On 10/25/2013 11:44 AM, Florian Weimer wrote:
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.

I don't have the expertise myself to answer your question, so I hereby forward this question to Kent and Gabriel and the bcache mail list.

Rolf
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux