Skip to contentSkip to conversation

Documentation: filesystems: add new btrfs mount options

PATCH Superseded David Sterba 3 participants 4 messages Nov 20, 2013 – Nov 21, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Documentation: filesystems: add new btrfs mount options

Two new options were added in 3.12: commit and rescan_uuid_tree

---
 Documentation/filesystems/btrfs.txt | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
Documentation/filesystems/btrfs.txt +11 -1
index 9dae59407437..3744ec373db9 100644
@@ -70,6 +70,12 @@ Unless otherwise specified, all options default to off.
 
 	See comments at the top of fs/btrfs/check-integrity.c for more info.
 
+  commit=<seconds>
+	Set the interval of periodic commit, 30 seconds by default. Higher
+	values defer data being synced to permanent storage with obvious
+	consequences when the system crashes. The upper bound is not forced,
+	but a warning is printed if it's more than 300 seconds (5 minutes).
+
   compress
   compress=<type>
   compress-force
@@ -154,7 +160,11 @@ Unless otherwise specified, all options default to off.
 	Currently this scans a list of several previous tree roots and tries to 
 	use the first readable.
 
- skip_balance
+  rescan_uuid_tree
+	Force check and rebuild procedure of the UUID tree. This should not be
+	normally be needed.
+
+  skip_balance
 	Skip automatic resume of interrupted balance operation after mount.
 	May be resumed with "btrfs balance resume."
 
Signature · 1 line
1.8.4.2
#1 lore raw
Quoted 12 lines · David Sterba

Two new options were added in 3.12: commit and rescan_uuid_tree

---
 Documentation/filesystems/btrfs.txt | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
Documentation/filesystems/btrfs.txt +0 -0
index 9dae59407437..3744ec373db9 100644

[...]

Documentation/filesystems/btrfs.txt Unless otherwise specified, all options default to off. · line 165

Quoted 4 lines

- skip_balance

Documentation/filesystems/btrfs.txt +3 -0
+  rescan_uuid_tree
+	Force check and rebuild procedure of the UUID tree. This should not be
+	normally be needed.

"be" "be" twice is too much?

#2 lore raw

PATCH v2 1/2 Documentation: filesystems: add new btrfs mount options

In reply to David Sterba

Two new options were added in 3.12: commit and rescan_uuid_tree

---
v2: fix typo pointed out by Stefan

 Documentation/filesystems/btrfs.txt | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
Documentation/filesystems/btrfs.txt +11 -1
index 9dae59407437..81aaf1c1bbdc 100644
@@ -70,6 +70,12 @@ Unless otherwise specified, all options default to off.
 
 	See comments at the top of fs/btrfs/check-integrity.c for more info.
 
+  commit=<seconds>
+	Set the interval of periodic commit, 30 seconds by default. Higher
+	values defer data being synced to permanent storage with obvious
+	consequences when the system crashes. The upper bound is not forced,
+	but a warning is printed if it's more than 300 seconds (5 minutes).
+
   compress
   compress=<type>
   compress-force
@@ -154,7 +160,11 @@ Unless otherwise specified, all options default to off.
 	Currently this scans a list of several previous tree roots and tries to 
 	use the first readable.
 
- skip_balance
+  rescan_uuid_tree
+	Force check and rebuild procedure of the UUID tree. This should not be
+	normally needed.
+
+  skip_balance
 	Skip automatic resume of interrupted balance operation after mount.
 	May be resumed with "btrfs balance resume."
 
Signature · 1 line
1.8.4.2
#3 lore raw

Quoting David Sterba (2013-11-21 11:48:03)

Quoted 6 lines

Two new options were added in 3.12: commit and rescan_uuid_tree

---
v2: fix typo pointed out by Stefan

You just caught me before the pull request. V1 was already in for-linus, so I rebased this one in.

-chris