Re: [PATCH] btrfs: Move qgroup rescan on quota enable to btrfs_quota_enable

2018-02-12 Thread David Sterba
On Sat, Feb 03, 2018 at 11:30:42AM +0800, Qu Wenruo wrote: > > > On 2018年01月31日 16:52, Nikolay Borisov wrote: > > Currently btrfs_run_qgroups is doing a bit too much. Not only is it > > responsible for synchronizing in-memory state of qgroups to disk but > > it also contains code to trigger the

Re: [PATCH] btrfs: Move qgroup rescan on quota enable to btrfs_quota_enable

2018-02-02 Thread Qu Wenruo
On 2018年01月31日 16:52, Nikolay Borisov wrote: > Currently btrfs_run_qgroups is doing a bit too much. Not only is it > responsible for synchronizing in-memory state of qgroups to disk but > it also contains code to trigger the initial qgroup rescan when > quota is enabled initially. This condition