[lkml]   [2005]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: raid over sata - write barrier
    On Friday December 16, wrote:
    > I've found that ext3 + sata + kernel 2.6.12 supports the write barrier mount
    > option (-o barrier=1)
    > (found it here:
    > is write barrier supported with RAID (md) over sata, with ext3? (which
    > kernel version?)
    > (or we have to disable write cache in HD in this case?)

    From 2.6.14 md has at least minimal support for write barriers.
    'Minimal support' means that it will tell the filesystem, that write
    barriers aren't supported so it should do explicit cache flushes
    (however I don't believe that all filesystems to the explicit cache
    flushes that they should).

    From 2.6.15, md/raid1 has better support for write barriers, in that
    if every underlying device supports them, it will preserve the
    write-barrier flag in requests passed down.

    So you should be ok with the write cache if you use raid1 and 2.6.15
    (which isn't out yet, I know, but a late -rc should be fine). But if
    you want a different raid level, you should ask the ext3 developers
    if there is a reason they don't call blkdev_issue_flush if barriers
    aren't supported...

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-12-18 21:51    [W:0.019 / U:50.104 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site