|
|
Log in / Subscribe / Register

Bcache: Caching beyond just RAM

Bcache: Caching beyond just RAM

Posted Jul 10, 2010 20:32 UTC (Sat) by dlang (guest, #313)
In reply to: Bcache: Caching beyond just RAM by MisterIO
Parent article: Bcache: Caching beyond just RAM

if the data isn't written to the bcache HD and you do not have battery backed cache on the system, the data will be lost. This is the same as with any storage/filesystem.

however (once the write behind features are in bcache) once the data is written to the bcache storage it should push those changes back to the real device after the next boot. If it doesn't the write-behind feature can't be considered done and useable ;-)


to post comments

Bcache: Caching beyond just RAM

Posted Jul 11, 2010 3:20 UTC (Sun) by koverstreet (✭ supporter ✭, #4296) [Link] (1 responses)

Yeah, that's all correct :)

Kernel bugs are a different matter entirely though - if a program doesn't do what you think it does, it could be doing anything. If it's buggy it could be overwriting all your important data with Rick Astley songs, or opening the door the the velociraptor cages. There's just no way to tell at that point.

You test everything as best you can, but software's complicated, there's always something lurking and no complete guarantees.

Bcache: Caching beyond just RAM

Posted Jul 12, 2010 0:14 UTC (Mon) by MisterIO (guest, #36192) [Link]

Well, with kernel bugs I meant kernel bugs not affecting this code and which by no means start writing random songs of some unknown guy(yeah, sorry, I don't know him) over your data, but still freeze the system. At that point basically the only real problem you could have is losing data on your hd(either just the data that didn't make it to the hd or the whole file you were writing at the time of the failure. The second case happened to me frequently with ext4 and I lost many normal data files because of it, while I was able instead to save some sources I was coding simply because I used git and I committed quite often).


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds