public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* write back cache and barriers
@ 2006-07-28 19:45 calembour
  2006-07-30  3:52 ` Eric Sandeen
  0 siblings, 1 reply; 5+ messages in thread
From: calembour @ 2006-07-28 19:45 UTC (permalink / raw)
  To: xfs


Hi,
I don't have a deep knowledge about filesystems and I've few experiences
with 
raid configuration, so I need someone who can answer some questions about 
write back cache and barriers.

I have two sata hd (sda, sdb) configured in bios-raid 0 and relative device 
created by dmraid on boot (nvidia_ihfaaicb).

(1) what should I do to know if the write back cache is enabled or not ?
(2) if the write cache is enabled on both sda and sdb this mean that is
enabled 
also on the raid device (/dev/mapper/nvidia_ihfaaicb) ?
(3) how should I do to enable/disable the write cache on the raid device ?

If I try mounting a xfs filesystem I get a message like "barriers are not 
supported by this device" but if I mount a ext3 or a reiserfs filesystem 
respectively with options barrier=1 and barrier=flush they don't complain.
If I mount the reiserfs I explicity get a message like "using barriers".
So who tells the truth ?? 

(4) is there a way to know if the raid device supports barrier or not ?
(5) is there a (not dangerous) test I can do to figure out if barriers are 
really enabled and used with ext3 and reiserfs filesystems ?

Thanks for reading the message
Marco
-- 
View this message in context: http://www.nabble.com/write-back-cache-and-barriers-tf2017234.html#a5545990
Sent from the Xfs - General forum at Nabble.com.

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

end of thread, other threads:[~2006-08-07  4:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-28 19:45 write back cache and barriers calembour
2006-07-30  3:52 ` Eric Sandeen
2006-08-01 11:30   ` calembour
2006-08-06  9:00   ` Martin Steigerwald
2006-08-07  2:31     ` Eric Sandeen

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