Re: [PATCH] Btrfs: fix qgroup accounting when snapshotting

2016-05-06 Thread Mark Fasheh
On Thu, Apr 28, 2016 at 08:34:13AM +0800, Qu Wenruo wrote: > > > Josef Bacik wrote on 2016/04/27 11:18 -0400: > >On 04/26/2016 09:19 PM, Qu Wenruo wrote: > >> > >> > >>Josef Bacik wrote on 2016/04/26 10:24 -0400: > >>>The new qgroup stuff needs the quota accounting to be run before doing >

Re: [PATCH] Btrfs: fix qgroup accounting when snapshotting

2016-04-27 Thread Qu Wenruo
Josef Bacik wrote on 2016/04/27 11:18 -0400: On 04/26/2016 09:19 PM, Qu Wenruo wrote: Josef Bacik wrote on 2016/04/26 10:24 -0400: The new qgroup stuff needs the quota accounting to be run before doing the inherit, unfortunately they need the commit root switch to happen at a specific time

Re: [PATCH] Btrfs: fix qgroup accounting when snapshotting

2016-04-27 Thread Josef Bacik
On 04/26/2016 09:19 PM, Qu Wenruo wrote: Josef Bacik wrote on 2016/04/26 10:24 -0400: The new qgroup stuff needs the quota accounting to be run before doing the inherit, unfortunately they need the commit root switch to happen at a specific time for this to work properly. Fix this by

Re: [PATCH] Btrfs: fix qgroup accounting when snapshotting

2016-04-26 Thread Qu Wenruo
Josef Bacik wrote on 2016/04/26 10:24 -0400: The new qgroup stuff needs the quota accounting to be run before doing the inherit, unfortunately they need the commit root switch to happen at a specific time for this to work properly. Fix this by delaying the inherit until after we do the qgroup

Re: [PATCH] Btrfs: fix qgroup accounting when snapshotting

2016-04-26 Thread Mark Fasheh
Hi Josef, On Tue, Apr 26, 2016 at 10:24:45AM -0400, Josef Bacik wrote: > The new qgroup stuff needs the quota accounting to be run before doing the > inherit, unfortunately they need the commit root switch to happen at a > specific > time for this to work properly. Fix this by delaying the

[PATCH] Btrfs: fix qgroup accounting when snapshotting

2016-04-26 Thread Josef Bacik
The new qgroup stuff needs the quota accounting to be run before doing the inherit, unfortunately they need the commit root switch to happen at a specific time for this to work properly. Fix this by delaying the inherit until after we do the qgroup accounting, and remove the inherit and