btrfs-progs: mkfs: Don't use custom chunk allocator for rootdir
authorQu Wenruo <wqu@suse.com>
Thu, 19 Oct 2017 07:36:57 +0000 (15:36 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Jan 2018 17:14:33 +0000 (18:14 +0100)
commitc7bc72264aed05e00edcb4f0575abf841d621dc8
tree9e36e9d87178a3a345b4b15dfa0ba59a9ffebed2
parent2fd0f3a98040a9744869d7c50f744250b1cac6fe
btrfs-progs: mkfs: Don't use custom chunk allocator for rootdir

Remove the custom chunk allocator for mkfs. It is buggy in connection to
the --rootdir option and puts file data to the reerved 1M area. The
feature of the custom allocator was to reserve only minimal amount of
blockgroup space. This will temporarily stop working and will need an
explicit request by option, added by following patches.

Use the generic chunk allocator.

Signed-off-by: Qu Wenruo <wqu@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
mkfs/main.c