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
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux