From 4c87a00f5f576863e53f23eaa0e18741f9a45b48 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Mon, 10 Apr 2017 17:40:58 -0500 Subject: [PATCH] xfs.5: document barrier deprecation in xfs Since kernel v4.10, the barrier mount option is deprecated: 2291dab2 xfs: Always flush caches when integrity is required 4cf4573d xfs: deprecate barrier/nobarrier mount option Document this fact in the xfs(5) manpage. Signed-off-by: Eric Sandeen Reviewed-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- man/man5/xfs.5 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man/man5/xfs.5 b/man/man5/xfs.5 index c7fb78028..745dad4b6 100644 --- a/man/man5/xfs.5 +++ b/man/man5/xfs.5 @@ -133,6 +133,12 @@ CRC enabled filesystems always use the attr2 format, and so will reject the noattr2 mount option if it is set. .TP .BR barrier | nobarrier +Note: This option has been +.B deprecated +as of kernel v4.10; in that version, integrity operations are +always performed and the mount option is ignored. These mount +options will be removed no earlier than kernel v4.15. +.sp Enables/disables the use of block layer write barriers for writes into the journal and for data integrity operations. This allows for drive level write caching to be enabled, for -- 2.47.2