Re: [PATCH] Btrfs: do not create empty block group if we have allocated data

2016-04-12 Thread Liu Bo
On Mon, Apr 11, 2016 at 05:02:18PM +0200, David Sterba wrote: > On Mon, Dec 14, 2015 at 06:29:32PM -0800, Liu Bo wrote: > > Now we force to create empty block group to keep data profile alive, > > however, in the below example, we eventually get an empty block group > > while we're trying to get

Re: [PATCH] Btrfs: do not create empty block group if we have allocated data

2016-04-11 Thread David Sterba
On Mon, Dec 14, 2015 at 06:29:32PM -0800, Liu Bo wrote: > Now we force to create empty block group to keep data profile alive, > however, in the below example, we eventually get an empty block group > while we're trying to get more space for other types (metadata/system), > > - Before, > block

[PATCH] Btrfs: do not create empty block group if we have allocated data

2015-12-14 Thread Liu Bo
Now we force to create empty block group to keep data profile alive, however, in the below example, we eventually get an empty block group while we're trying to get more space for other types (metadata/system), - Before, block group "A": size=2G, used=1.2G block group "B": size=2G, used=512M -