path: root/Documentation/mkfs.btrfs.asciidoc
diff options
authorLiu Bo <>2017-06-27 15:25:45 -0600
committerDavid Sterba <>2017-06-30 16:31:02 +0200
commitc58d13eebae64ad6a1d0a2caadc819e0e4a83fa4 (patch)
tree98c3f24bedd860c7c3c14dbceca250ddefd6577d /Documentation/mkfs.btrfs.asciidoc
parentbf95b303f41aa416d62fb7a5beb6761329ec9034 (diff)
Btrfs-progs: man: nodesize must be power of 2 now
This updates mkfs.btrfs's man page with the new limitation that nodesize must be a power of 2 as well. Signed-off-by: Liu Bo <> Signed-off-by: David Sterba <>
Diffstat (limited to 'Documentation/mkfs.btrfs.asciidoc')
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/mkfs.btrfs.asciidoc b/Documentation/mkfs.btrfs.asciidoc
index 46a4d2d5..d53d9e26 100644
--- a/Documentation/mkfs.btrfs.asciidoc
+++ b/Documentation/mkfs.btrfs.asciidoc
@@ -76,8 +76,8 @@ Alias for --nodesize. Deprecated.
*-n|--nodesize <size>*::
Specify the nodesize, the tree block size in which btrfs stores metadata. The
default value is 16KiB (16384) or the page size, whichever is bigger. Must be a
-multiple of the sectorsize, but not larger than 64KiB (65536). Leafsize always
-equals nodesize and the options are aliases.
+multiple of the sectorsize and a power of 2, but not larger than 64KiB (65536).
+Leafsize always equals nodesize and the options are aliases.
Smaller node size increases fragmentation but lead to higher b-trees which in
turn leads to lower locking contention. Higher node sizes give better packing