On Tue, Jun 16, 2020 at 02:32:28PM +0800, Qu Wenruo wrote: > There is a bug report that mkfs.btrfs with -b limit, -d dup, and > --rootdir with some contents filled, leads to unexpected ENOSPC. > > It turns out that, the new chunk allocation code is broken quite some > time ago, and by coincident we're using SINGLE data profile by default, > it doesn't get exposed through existing test cases. > > The patchset will fix it and add corresponding test case for it. > > Qu Wenruo (2): > btrfs-progs: fix wrong chunk profile for do_chunk_alloc() > btrfs-progs: mkfs-tests: Add test case to verify the --rootdir size > limit Thanks, added to devel.
