lkml.org 
[lkml]   [2009]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux 2.6.29
    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


    \
     
     \ /
      Last update: 2009-03-30 15:51    [W:5.104 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site