From c58d13eebae64ad6a1d0a2caadc819e0e4a83fa4 Mon Sep 17 00:00:00 2001 From: Liu Bo Date: Tue, 27 Jun 2017 15:25:45 -0600 Subject: 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 --- Documentation/mkfs.btrfs.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation/mkfs.btrfs.asciidoc') 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 *:: 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 -- cgit v1.2.3