summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2022-10-25 01:54:01 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2022-11-01 17:56:02 -0700
commit6047de5482c33d5f912cdc907336fde9ebc5714e (patch)
tree9268c76a74061e980602e45bcc2dc9677aa6e7d1 /Documentation/filesystems
parentb5f1a218ae5e4339130d6e733f0e63d623e09a2c (diff)
downloadlinux-6047de5482c33d5f912cdc907336fde9ebc5714e.tar.bz2
f2fs: add barrier mount option
This patch adds a mount option, barrier, in f2fs. The barrier option is the opposite of nobarrier. If this option is set, cache_flush commands are allowed to be issued. Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/f2fs.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/filesystems/f2fs.rst b/Documentation/filesystems/f2fs.rst
index b797e8ec96ed..6e67c5e6c7c3 100644
--- a/Documentation/filesystems/f2fs.rst
+++ b/Documentation/filesystems/f2fs.rst
@@ -154,6 +154,8 @@ nobarrier This option can be used if underlying storage guarantees
If this option is set, no cache_flush commands are issued
but f2fs still guarantees the write ordering of all the
data writes.
+barrier If this option is set, cache_flush commands are allowed to be
+ issued.
fastboot This option is used when a system wants to reduce mount
time as much as possible, even though normal performance
can be sacrificed.