Re: [PATCH 1/6] btrfs: qgroup: Skeleton to support separate qgroup reservation type

2017-10-24 Thread Qu Wenruo
On 2017年10月24日 20:29, Jeff Mahoney wrote: > On 10/24/17 7:51 AM, Qu Wenruo wrote: >> >> >> On 2017年10月24日 19:00, Nikolay Borisov wrote: >>> >>> >>> On 24.10.2017 11:39, Qu Wenruo wrote: Instead of single qgroup->reserved, use a new structure btrfs_qgroup_rsv to restore different types o

Re: [PATCH 1/6] btrfs: qgroup: Skeleton to support separate qgroup reservation type

2017-10-24 Thread Jeff Mahoney
On 10/24/17 8:29 AM, Jeff Mahoney wrote: > On 10/24/17 7:51 AM, Qu Wenruo wrote: >> >> >> On 2017年10月24日 19:00, Nikolay Borisov wrote: >>> nit: Why not BTRFS_QGROUP_RSV_TYPES_MAX = 2; >> >> My original plan is just as the same as yours. >> >> However I still remember I did it before and David fixed

Re: [PATCH 1/6] btrfs: qgroup: Skeleton to support separate qgroup reservation type

2017-10-24 Thread Qu Wenruo
On 2017年10月24日 20:23, Nikolay Borisov wrote: > > > On 24.10.2017 14:51, Qu Wenruo wrote: >> >> >> On 2017年10月24日 19:00, Nikolay Borisov wrote: >>> >>> >>> On 24.10.2017 11:39, Qu Wenruo wrote: Instead of single qgroup->reserved, use a new structure btrfs_qgroup_rsv to restore differen

Re: [PATCH 1/6] btrfs: qgroup: Skeleton to support separate qgroup reservation type

2017-10-24 Thread Jeff Mahoney
On 10/24/17 7:51 AM, Qu Wenruo wrote: > > > On 2017年10月24日 19:00, Nikolay Borisov wrote: >> >> >> On 24.10.2017 11:39, Qu Wenruo wrote: >>> Instead of single qgroup->reserved, use a new structure btrfs_qgroup_rsv >>> to restore different types of reservation. >>> >>> This patch only updates the h

Re: [PATCH 1/6] btrfs: qgroup: Skeleton to support separate qgroup reservation type

2017-10-24 Thread Nikolay Borisov
On 24.10.2017 14:51, Qu Wenruo wrote: > > > On 2017年10月24日 19:00, Nikolay Borisov wrote: >> >> >> On 24.10.2017 11:39, Qu Wenruo wrote: >>> Instead of single qgroup->reserved, use a new structure btrfs_qgroup_rsv >>> to restore different types of reservation. >>> >>> This patch only updates the

Re: [PATCH 1/6] btrfs: qgroup: Skeleton to support separate qgroup reservation type

2017-10-24 Thread Qu Wenruo
On 2017年10月24日 19:00, Nikolay Borisov wrote: > > > On 24.10.2017 11:39, Qu Wenruo wrote: >> Instead of single qgroup->reserved, use a new structure btrfs_qgroup_rsv >> to restore different types of reservation. >> >> This patch only updates the header and needed modification to pass >> compile.

Re: [PATCH 1/6] btrfs: qgroup: Skeleton to support separate qgroup reservation type

2017-10-24 Thread Nikolay Borisov
On 24.10.2017 11:39, Qu Wenruo wrote: > Instead of single qgroup->reserved, use a new structure btrfs_qgroup_rsv > to restore different types of reservation. > > This patch only updates the header and needed modification to pass > compile. > > Signed-off-by: Qu Wenruo > --- > fs/btrfs/qgroup.