summaryrefslogtreecommitdiff
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2016-01-19 05:23:03 +0300
committerDavid Sterba <dsterba@suse.com>2016-02-12 17:14:49 +0300
commit96da09192cda57a356467bd7c91a3641a2e78490 (patch)
tree7b9e18344074d9bf9c1d71fd6fb0670922937283 /Documentation/filesystems
parent8dcddfa048de637c8bbfa20ffd22757aeab7c604 (diff)
downloadlinux-96da09192cda57a356467bd7c91a3641a2e78490.tar.xz
btrfs: Introduce new mount option to disable tree log replay
Introduce a new mount option "nologreplay" to co-operate with "ro" mount option to get real readonly mount, like "norecovery" in ext* and xfs. Since the new parse_options() need to check new flags at remount time, so add a new parameter for parse_options(). Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Reviewed-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Tested-by: Austin S. Hemmelgarn <ahferroin7@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/btrfs.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/filesystems/btrfs.txt b/Documentation/filesystems/btrfs.txt
index a2b1c508c32c..6593d2e415c5 100644
--- a/Documentation/filesystems/btrfs.txt
+++ b/Documentation/filesystems/btrfs.txt
@@ -168,6 +168,14 @@ Options with (*) are default options and will not show in the mount options.
notreelog
Enable/disable the tree logging used for fsync and O_SYNC writes.
+ nologreplay
+ Disable the log tree replay at mount time to prevent filesystem
+ from getting modified.
+ Must be used with 'ro' mount option.
+ A filesystem mounted with this option cannot transition to a
+ read-write mount via remount,rw - the filesystem must be unmounted
+ and mounted back again if read-write access is desired.
+
usebackuproot
Enable attempts to use backup tree roots if a bad tree root is found at
mount time.