Skip to contentSkip to conversation

Documentation: btrfs-man5: Remove nonexistent nousebackuproot option

PATCH In review Marcos Paulo de Souza 5 participants 7 messages Aug 3, 2020 – Aug 11, 2020

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

PATCH 1/1 Documentation: btrfs-man5: Remove nonexistent nousebackuproot option

From: Marcos Paulo de Souza <[email protected]>

Since it's inclusion in b3751c131 ("btrfs-progs: docs: update btrfs-man5"), this option was never available in kernel, we can only enable this option using usebackuproot.

---
 Documentation/btrfs-man5.asciidoc | 1 -
 1 file changed, 1 deletion(-)
Documentation/btrfs-man5.asciidoc +0 -1
index 064312ed..2edf721c 100644
@@ -471,7 +471,6 @@ The tree log could contain new files/directories, these would not exist on
 a mounted filesystem if the log is not replayed.
 
 *usebackuproot*::
-*nousebackuproot*::
 (since: 4.6, default: off)
 +
 Enable autorecovery attempts if a bad tree root is found at mount time.
Signature · 1 line
2.27.0
#1 lore raw
Quoted 25 lines · Marcos Paulo de Souza

From: Marcos Paulo de Souza <[email protected]>

Since it's inclusion in b3751c131 ("btrfs-progs: docs: update btrfs-man5"), this option was never available in kernel, we can only enable this option using usebackuproot.

---
 Documentation/btrfs-man5.asciidoc | 1 -
 1 file changed, 1 deletion(-)
Documentation/btrfs-man5.asciidoc +0 -2
index 064312ed..2edf721c 100644
@@ -471,7 +471,6 @@ The tree log could contain new files/directories, these would not exist on
 a mounted filesystem if the log is not replayed.
 
 *usebackuproot*::
-*nousebackuproot*::
 (since: 4.6, default: off)
 +
 Enable autorecovery attempts if a bad tree root is found at mount time.
--
Quoted 2 lines

2.27.0

Shouldn't this option be plumbed through instead?

Signature · 1 line
真実はいつも一つ!/ Always, there's only one truth!
#2 lore raw
Quoted 29 lines · Neal Gompa
Quoted 5 lines · Marcos Paulo de Souza

From: Marcos Paulo de Souza <[email protected]>

Since it's inclusion in b3751c131 ("btrfs-progs: docs: update btrfs-man5"), this option was never available in kernel, we can

only

Review

Quoted 8 lines

enable this option using usebackuproot.

---
 Documentation/btrfs-man5.asciidoc | 1 -
 1 file changed, 1 deletion(-)
(quoted diff) +0 -0

b/Documentation/btrfs-man5.asciidoc

Documentation/btrfs-man5.asciidoc The tree log could contain new

Quoted 4 lines

index 064312ed..2edf721c 100644

Documentation/btrfs-man5.asciidoc +0 -0
@@ -471,7 +471,6 @@ The tree log could contain new

files/directories, these would not exist on

Documentation/btrfs-man5.asciidoc The tree log could contain new files/directories, these would not exist on

Quoted 7 lines
Documentation/btrfs-man5.asciidoc +0 -1
 a mounted filesystem if the log is not replayed.
 
 *usebackuproot*::
-*nousebackuproot*::
 (since: 4.6, default: off)
 +
 Enable autorecovery attempts if a bad tree root is found at mount
Quoted 6 lines

time.

Quoted 3 lines

--
2.27.0

Shouldn't this option be plumbed through instead?

As this option is only used at mount time, I don't see why we should be able to disable using remount for example. Am I missing something?

Thanks,
Marcos

#3 lore raw
Quoted 31 lines · Marcos Paulo de Souza
Quoted 30 lines · Neal Gompa
Quoted 5 lines · Marcos Paulo de Souza

From: Marcos Paulo de Souza <[email protected]>

Since it's inclusion in b3751c131 ("btrfs-progs: docs: update btrfs-man5"), this option was never available in kernel, we can

only

Review

Quoted 8 lines

enable this option using usebackuproot.

---
 Documentation/btrfs-man5.asciidoc | 1 -
 1 file changed, 1 deletion(-)
(quoted diff) +0 -0

b/Documentation/btrfs-man5.asciidoc

Documentation/btrfs-man5.asciidoc The tree log could contain new

Quoted 4 lines

index 064312ed..2edf721c 100644

Documentation/btrfs-man5.asciidoc +0 -0
@@ -471,7 +471,6 @@ The tree log could contain new

files/directories, these would not exist on

Documentation/btrfs-man5.asciidoc The tree log could contain new files/directories, these would not exist on

Quoted 7 lines
Documentation/btrfs-man5.asciidoc +0 -1
 a mounted filesystem if the log is not replayed.
 
 *usebackuproot*::
-*nousebackuproot*::
 (since: 4.6, default: off)
 +
 Enable autorecovery attempts if a bad tree root is found at mount

time.

Quoted 9 lines
Quoted 5 lines
Quoted 3 lines

--
2.27.0

Shouldn't this option be plumbed through instead?

As this option is only used at mount time, I don't see why we should be able to disable using remount for example. Am I missing something?

The default is to not use backup roots, so there's no point in having it as an explicit option.

Quoted 3 lines

Thanks,
Marcos

Reviewed-by on v1 1/1
#5 lore raw
In reply to Marcos Paulo de Souza
Quoted 25 lines · Marcos Paulo de Souza

From: Marcos Paulo de Souza <[email protected]>

Since it's inclusion in b3751c131 ("btrfs-progs: docs: update btrfs-man5"), this option was never available in kernel, we can only enable this option using usebackuproot.

---
 Documentation/btrfs-man5.asciidoc | 1 -
 1 file changed, 1 deletion(-)
Documentation/btrfs-man5.asciidoc +0 -2
index 064312ed..2edf721c 100644
@@ -471,7 +471,6 @@ The tree log could contain new files/directories, these would not exist on
 a mounted filesystem if the log is not replayed.
 
 *usebackuproot*::
-*nousebackuproot*::
 (since: 4.6, default: off)
 +
 Enable autorecovery attempts if a bad tree root is found at mount time.
--
Quoted 2 lines

2.27.0

Signature · 1 line
真実はいつも一つ!/ Always, there's only one truth!