Re: [PATCH] btrfs: fix exhaustion of the system chunk array due to concurrent allocations

2021-04-01 Thread David Sterba
On Wed, Mar 31, 2021 at 11:55:50AM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > When we are running out of space for updating the chunk tree, that is, > when we are low on available space in the system space info, if we have > many task concurrently allocating block groups, via fal

[PATCH] btrfs: fix exhaustion of the system chunk array due to concurrent allocations

2021-03-31 Thread fdmanana
From: Filipe Manana When we are running out of space for updating the chunk tree, that is, when we are low on available space in the system space info, if we have many task concurrently allocating block groups, via fallocate for example, many of them can end up all allocating new system chunks wh