Re: [PATCH RFC 00/14] Accurate qgroup reserve framework

2015-09-10 Thread Qu Wenruo
Chris Mason wrote on 2015/09/10 19:34 -0400: On Tue, Sep 08, 2015 at 05:08:26PM +0800, Qu Wenruo wrote: Sorry for the confusing cover letter title. This patch is no longer RFC now. It's already a working one, and we're doing stress test to ensure it's completely OK, but seems quite good for n

Re: [PATCH RFC 00/14] Accurate qgroup reserve framework

2015-09-10 Thread Qu Wenruo
Mark Fasheh wrote on 2015/09/10 14:01 -0700: Hi Qu, On Tue, Sep 08, 2015 at 04:56:52PM +0800, Qu Wenruo wrote: [[BUG]] One of the most common case to trigger the bug is the following method: 1) Enable quota 2) Limit excl of qgroup 5 to 16M 3) Write [0,2M) of a file inside subvol 5 10 times wi

Re: [PATCH RFC 00/14] Accurate qgroup reserve framework

2015-09-10 Thread Mark Fasheh
On Thu, Sep 10, 2015 at 10:33:02PM +0100, Filipe David Manana wrote: > On Thu, Sep 10, 2015 at 10:01 PM, Mark Fasheh wrote: > > Hi Qu, > > > > On Tue, Sep 08, 2015 at 04:56:52PM +0800, Qu Wenruo wrote: > >> [[BUG]] > >> One of the most common case to trigger the bug is the following method: > >> 1

Re: [PATCH RFC 00/14] Accurate qgroup reserve framework

2015-09-10 Thread Chris Mason
On Tue, Sep 08, 2015 at 05:08:26PM +0800, Qu Wenruo wrote: > Sorry for the confusing cover letter title. > > This patch is no longer RFC now. > It's already a working one, and we're doing stress test to ensure it's > completely OK, but seems quite good for now. > > To Chris, > > I know the timin

Re: [PATCH RFC 00/14] Accurate qgroup reserve framework

2015-09-10 Thread Filipe David Manana
On Thu, Sep 10, 2015 at 10:01 PM, Mark Fasheh wrote: > Hi Qu, > > On Tue, Sep 08, 2015 at 04:56:52PM +0800, Qu Wenruo wrote: >> [[BUG]] >> One of the most common case to trigger the bug is the following method: >> 1) Enable quota >> 2) Limit excl of qgroup 5 to 16M >> 3) Write [0,2M) of a file ins

Re: [PATCH RFC 00/14] Accurate qgroup reserve framework

2015-09-10 Thread Mark Fasheh
Hi Qu, On Tue, Sep 08, 2015 at 04:56:52PM +0800, Qu Wenruo wrote: > [[BUG]] > One of the most common case to trigger the bug is the following method: > 1) Enable quota > 2) Limit excl of qgroup 5 to 16M > 3) Write [0,2M) of a file inside subvol 5 10 times without sync > > EQUOT will be triggered

Re: [PATCH RFC 00/14] Accurate qgroup reserve framework

2015-09-08 Thread Qu Wenruo
Sorry for the confusing cover letter title. This patch is no longer RFC now. It's already a working one, and we're doing stress test to ensure it's completely OK, but seems quite good for now. To Chris, I know the timing I sent the patchset is quite awful, as there is only less than 1 week f