public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* cache+barriers vs cache+nobarriers vs disabled cache+barriers vs disabled cache+nobarriers
@ 2007-03-15  9:16 Leon Kolchinsky
  2007-03-15 12:39 ` Martin Steigerwald
  0 siblings, 1 reply; 5+ messages in thread
From: Leon Kolchinsky @ 2007-03-15  9:16 UTC (permalink / raw)
  To: xfs

Hello All,


After reading http://oss.sgi.com/projects/xfs/faq.html#wcache 
and some posts on the list I've got the following question:

If I have disabled write cache on the disk (hdparm -W0 /dev/hda) and by
default FS is mounted with "barrier" enabled, Is there any taste in enabling
"barrier"(by default) because write cache is disabled anyway or may be it's
a good idea to mount with "nobarriers" in this case?

Or may be I'm wrong here and write cache has nothing to do with "barrier"
option?

I thought that "barrier" is on by default to somewhat minimize potential
dangers of enabled write cache? But if write cache is disabled, would
"barrier" option just slow down the FS performance (which is already slowed
down by "hdparm -W0 /dev/had" anyway)?

Any inside wisdom on the subject of this mail would be much appreciated :)



Best Regards,
Leon Kolchinsky

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-18 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15  9:16 cache+barriers vs cache+nobarriers vs disabled cache+barriers vs disabled cache+nobarriers Leon Kolchinsky
2007-03-15 12:39 ` Martin Steigerwald
2007-03-15 13:07   ` Martin Steigerwald
2007-03-18 10:07   ` Leon Kolchinsky
2007-03-18 21:33     ` Chris Wedgwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox