From 4d0e48f2d236d9bb37555a9e6ab00a4f19cbd198 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 17 Aug 2009 15:35:13 +0200 Subject: [PATCH] mount: add info about ext{3,4} barriers to mount.8 Signed-off-by: Karel Zak --- mount/mount.8 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mount/mount.8 b/mount/mount.8 index 3d451000..f4ef7e86 100644 --- a/mount/mount.8 +++ b/mount/mount.8 @@ -1246,6 +1246,10 @@ internal file system integrity, however it can allow old data to appear in files after a crash and journal recovery. .RE .TP +.BR barrier=0 " / " barrier=1 " +This enables/disables barriers. barrier=0 disables it, barrier=1 enables it. +The ext3 does not enable write barriers by default. +.TP .BI commit= nrsec Sync all data and metadata every .I nrsec @@ -1296,6 +1300,8 @@ penalty. If your disks are battery-backed in one way or another, disabling barriers may safely improve performance. The mount options "barrier" and "nobarrier" can also be used to enable or disable barriers, for consistency with other ext4 mount options. + +The ext4 enables write barriers by default. .TP .BI inode_readahead= n This tuning parameter controls the maximum number of inode table blocks that -- 2.39.5