linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: default mount options
@ 2016-11-29 23:51 L.A. Walsh
  2016-11-30  0:14 ` Eric Sandeen
  0 siblings, 1 reply; 9+ messages in thread
From: L.A. Walsh @ 2016-11-29 23:51 UTC (permalink / raw)
  To: linux-xfs


Is it possible for the 'mount' man page to be enhanced to show
what the defaults are?  Or if that's not possible,
maybe the xfs(5) manpage?

Also, I'm again "unclear" on barriers.

The xfs(5) man page says:

 "barrier|nobarrier - Enables/disables the use of block layer write
 barriers... this allows for drive level write caching to be enabled.
 Barriers are enabled by default.

This seems to say that barriers are enabled.  Does that mean
the the barriers are implemented in the HW of the disk, or that
SW adds "barriers" for disks that don't have them implemented in HW?

It also says drives may enable write-caching -- but this should
only be done if they support write barriers.  How is this "decided"?
I.e is it done "automatically" in HW? in SW? 
Or should the user "know"?

Is this related to whether or not the drives support "state" over
power interruptions?  By having non-volatile "write-cache" memory,
battery-backed cache, or backed by a UPS?  Wouldn't SSD's be
considers safe for this purpose (because their state is non-volatile?).

I seem to "get" this topic periodically, but after some time passes,
and upon rereading the associated manpages, I realize I'm not
real clear which way is what and realize the lack of defaults
being specified and whether or not SSD's and/or UPS-backed disks
were safe whether barriers were present or not was still vague.


Thanks!
-linda









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

end of thread, other threads:[~2016-12-01 10:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-29 23:51 Fwd: default mount options L.A. Walsh
2016-11-30  0:14 ` Eric Sandeen
2016-11-30 19:27   ` L A Walsh
2016-11-30 19:50     ` Eric Sandeen
2016-11-30 20:04       ` L A Walsh
2016-11-30 20:13         ` Eric Sandeen
2016-11-30 22:18         ` Dave Chinner
2016-12-01  4:04           ` L A Walsh
2016-12-01 10:50             ` Dave Chinner

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).