Re: Linux 2.6.29

Mark Lord
2009-03-30T13:48:56Z

Ric Wheeler wrote:
>
> People keep forgetting that storage (even on your commodity s-ata class
> of drives) has very large & volatile cache. The disk firmware can hold
> writes in that cache as long as it wants, reorder its writes into
> anything that makes sense and has no explicit ordering promises.
..

Hi Ric,

No, we don't forget about those drive caches. But in practice,
for nearly everyone, they don't actually matter.

The kernel can crash, and the drives, in practice, will still
flush their caches to media by themselves. Within a second or two.

Sure, there are cases where this might not happen (total power fail),
but those are quite rare for desktop users -- and especially for the
most common variety of desktop user: notebook users (whose machines
have built-in UPSs).

Cheers