* raid over sata - write barrier
@ 2005-12-16 12:55 Szloboda Zsolt
2005-12-18 20:47 ` Neil Brown
0 siblings, 1 reply; 6+ messages in thread
From: Szloboda Zsolt @ 2005-12-16 12:55 UTC (permalink / raw)
To: linux-kernel
I've found that ext3 + sata + kernel 2.6.12 supports the write barrier mount
option (-o barrier=1)
(found it here: http://marc.10east.com/?l=linux-scsi&m=112019898711806)
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?)
thanks
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid over sata - write barrier
2005-12-16 12:55 raid over sata - write barrier Szloboda Zsolt
@ 2005-12-18 20:47 ` Neil Brown
2005-12-18 21:24 ` Szloboda Zsolt
0 siblings, 1 reply; 6+ messages in thread
From: Neil Brown @ 2005-12-18 20:47 UTC (permalink / raw)
To: Szloboda Zsolt; +Cc: linux-kernel
On Friday December 16, slobo@t-online.hu wrote:
> I've found that ext3 + sata + kernel 2.6.12 supports the write barrier mount
> option (-o barrier=1)
> (found it here: http://marc.10east.com/?l=linux-scsi&m=112019898711806)
>
> 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...
NeilBrown
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-02-25 11:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-16 12:55 raid over sata - write barrier Szloboda Zsolt
2005-12-18 20:47 ` Neil Brown
2005-12-18 21:24 ` Szloboda Zsolt
2005-12-18 22:26 ` Neil Brown
2006-02-25 2:43 ` Szloboda Zsolt
2006-02-25 11:25 ` Sander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome