linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BTRFS - Write Barriers
@ 2015-12-31  9:01 fugazzi®
  2015-12-31  9:34 ` Duncan
  0 siblings, 1 reply; 3+ messages in thread
From: fugazzi® @ 2015-12-31  9:01 UTC (permalink / raw)
  To: Btrfs mailing list

Hi everyone :-)

Just one question for the gurus here. 

I was wondering: if I disable write barriers in btrfs with the mount option 
nobarrier I just disable the periodic flushes of the hardware disk cache or 
I'm disabling also the order of the writes directed to the hard disk?

What I mean is: is it safe to disable write barrier with a UPS with which I 
will likely have the hardware always powered even in the event of a kernel 
crash, freeze, etc?

I'm asking because if also the ordering of the write is no more guaranteed I 
guess it would not be safe to disable write barrier even if the possibility of 
an unexpected power down of the HD was remote because in the case of a crash 
the order of the write would be messed up anyway and we could boot up with a 
completely corrupted fs.

Thank you very much for your kinds answers.
Warm Regards,
Mario

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

end of thread, other threads:[~2015-12-31 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-31  9:01 BTRFS - Write Barriers fugazzi®
2015-12-31  9:34 ` Duncan
2015-12-31 10:26   ` fugazzi®

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).