]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs.5: document barrier deprecation in xfs
authorEric Sandeen <sandeen@redhat.com>
Mon, 10 Apr 2017 22:40:58 +0000 (17:40 -0500)
committerEric Sandeen <sandeen@redhat.com>
Mon, 10 Apr 2017 22:40:58 +0000 (17:40 -0500)
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 <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
man/man5/xfs.5

index c7fb7802881fe927ad36e07b1ce0da4183cc9c79..745dad4b6884d9a5cc07dc7894f739d8e0008f4c 100644 (file)
@@ -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