Re: [PATCH] btrfs: qgroup: Fix a regression in qgroup reserved space.

2015-08-06 Thread Chris Mason
On Thu, Aug 06, 2015 at 04:42:41PM +0800, Qu Wenruo wrote: Hi Chris, Would you please consider including this patch into v4.2 if it is still possible? Although the fix is still not perfect and just a hotfix, as qgroup reserve parts still have a lot of problems from design and a lot of

[PATCH] btrfs: qgroup: Fix a regression in qgroup reserved space.

2015-08-03 Thread Qu Wenruo
During the change to new btrfs extent-oriented qgroup implement, due to it doesn't use the old __qgroup_excl_accounting() for exclusive extent, it didn't free the reserved bytes. The bug will cause limit function go crazy as the reserved space is never freed, increasing limit will have no effect