xfs
[Top] [All Lists]

Re: [PATCH 4/8] Add test of quota accounting using fsx

To: Jan Kara <jack@xxxxxxx>
Subject: Re: [PATCH 4/8] Add test of quota accounting using fsx
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Mon, 26 Jul 2010 16:46:17 -0500
Cc: hch@xxxxxxxxxxxxx, xfs@xxxxxxxxxxx, ext4 development <linux-ext4@xxxxxxxxxxxxxxx>
In-reply-to: <20100615095505.GB3347@xxxxxxxxxxxxx>
References: <1274710459-11446-1-git-send-email-jack@xxxxxxx> <1274710459-11446-5-git-send-email-jack@xxxxxxx> <4C0FD43D.3040803@xxxxxxxxxxx> <20100615095505.GB3347@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.3
On 06/15/2010 04:55 AM, Jan Kara wrote:
> On Wed 09-06-10 12:49:49, Eric Sandeen wrote:
>> Jan Kara wrote:
>>> Run fsx (and also several fsx threads in parallel) and verify that
>>> quota accounting is correct after they finish.
>>
>> Jan, I'm having trouble with this one on XFS for some reason, with our 
>> RHEL6 kernel and quota-3.17...
>   OK, attached is an improvement to the XFSQA tests after which all quota
> tests pass for XFS just fine.
>   The second patch is just minor general improvement of _require_scratch
> macro.
>   Could they be added to XFSQA repository? Thanks.

Jan, I've got some ext4 failures reported on these, although I can't hit
them, so not quite sure what's going on.

In 231:

+< fsgqa     --     760       0       0              3     0     0
+---
+> fsgqa     --     764       0       0              3     0     0
+14c14
+< fsgqa     --     760       0       0              3     0     0
+---
+> fsgqa     --     764       0       0              3     0     0

after the quotacheck & repquota we have 4 more blocks.  Maybe this
is due to my accounting of metadata blocks at write time, and not
before ... would it be reasonable to put a sync call as the first
line of check_usage() ?

Also in 233:

+< #501      --   15392       0       0            998     0     0
+< #501      --   15392   32000   32000            998  1000  1000
+---
+> #501      +-   32084   32000   32000  7days     998  1000  1000
+> #501      --   32084       0       0            998     0     0

"7days" magically appeared after the quotacheck.  Not sure what's going
on there...

Thanks,
-Eric

<Prev in Thread] Current Thread [Next in Thread>