Re: writeback mode behaviour on proper shut down

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

 



On Tue, 26 Apr 2016, ching lu wrote:

> Hi all,
> 
> if i have 1 SSD caching 1 HDD using bcache, the cache mode is writeback
> 
> if the PC shutdown/unmount normally, will all dirty data in the cache
> be flushed to backing device before poweroff?

No, it will remain in the cache.  

> i am afraid that SSD lose data if left without power for a long time.
> e.g. hoilday.

Wouldn't your data be retained if you used the SSD alone?  SSDs should be 
stable in a powered off state unless it is a bad device.  

There exist RAM-based disks that may be volatile, but that is unlikely to 
be your situation.

--
Eric Wheeler

> 
> Thanks in advance,
> C
> --
> 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
> 
--
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