On Fri, Nov 15, 2019 at 10:09:00AM +0800, Qu Wenruo wrote: ... > Signed-off-by: Qu Wenruo <wqu@xxxxxxxx> > > --- > This version is based on v5.4-rc1, for a commonly known commit hash. > It would cause conflicts due to > btrfs_block_group_cache -> btrfs_block_group refactor. > > The conflicts should be easy to solve. > > Changelog: > v2: > - Fix a bug that previous verion never do chunk pre-allocation. > - Avoid chunk pre-allocation from check_system_chunk() > - Use extra parameter @do_chunk_alloc other than new function with > "_force" suffix. > - Skip unnecessary update_block_group_flags() call completely for > do_chunk_alloc=false case. Added to misc-next, thanks.
