Skip to contentSkip to conversation

Wiki bug re. metadata_ratio mount option

DISCUSSION Holger Hoffstätte 1 participant 1 message Sep 27, 2014 Btrfs file system

lore
Share & tools
lore
#0 lore raw

The wiki page https://btrfs.wiki.kernel.org/index.php/Mount_options has outdated information regarding the "metadata-ratio" option.

It says:

metadata_ratio=number
Sets the number of data chunks that need to be allocated to force a metadata chunk allocation. By default this is set to 8 (meaning that data:metadata are 1:8).

Both the 'mount' man page and a look at the code (disk-io.c:open_ctree()) confirm that this is incorrect, and that forced metadata chunk allocation will be skipped by default.

Could someone with an account please update this?

Thanks,
Holger