[Top] [All Lists]

Re: Rambling noise #2: Learning to use the v8 pquota/uquota patchset

To: Jeff Liu <jeff.liu@xxxxxxxxxx>
Subject: Re: Rambling noise #2: Learning to use the v8 pquota/uquota patchset
From: "Michael L. Semon" <mlsemon35@xxxxxxxxx>
Date: Tue, 14 May 2013 13:01:26 -0400
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=pcmfbque4iNxuE/pPEtUUHDeAV8POQ7KQxd1timdvds=; b=bi1225BhuhsLRpmqg8U/Zx1dS0gPTvI9D4CvVYLOuPu5Q0yipgSHsEz5X4blye1L9H Sf2X2OVyNH04pIQqAZtPbh0nsMi7uy39h0qxUKxGdOn/fSfZvtdG4gAvzZejM4tXC9jN 58l57nlzKfOAJB8xKZsU6G3OQBmXiNNkTPllcH41Sf3Q+WCL2sS48afHNcM2YYxm8tVv 1IgMxB5QLpYybxnlMR91H2VudV7nIqBAIVSFN1uQoo/0291WQtqgbKnqd09GDm9mBZbT BHvXDWmn0PsTkHrAick9syb+2QyLgi6QpE5wD1zYTvkNYS2UJtSYkQGFz8PKNucm8/be 1VVg==
In-reply-to: <519241A1.9050704@xxxxxxxxxx>
References: <5191FB46.2080300@xxxxxxxxx> <519241A1.9050704@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
No.  I'll try this later on today, then post back to the group.

BTW, I'm terrible at switching between group quotas and projid quotas, and am aware that I'm too stupid to report what I see. However, because I have a projid quota to limit the size of Samba shares used by Windows 7 backup, I'm reporting this despite my stupidity. I ask for everyone's forgiveness in advance.

Thanks for your help!


On 05/14/2013 09:52 AM, Jeff Liu wrote:
Hi Michael,

Have you tried this patch set with the v2 user space changes?

Looks this is the latest update from Chandra that I can searched from
the mailing list:

On 05/14/2013 04:52 PM, Michael L. Semon wrote:
Hi!  I seem to have no luck in getting v8 of the pquota/uquota patchset
working and have it pass xfstests with flying colors.  Is v8 of the
pquota/gquota patchset sufficient to make the new separate pquota/gquota
bits work?  Or is it an incremental patchset?

The basic functionality works, in my opinion, and I hope nobody wastes
time with a nice, educated reply.  It would be mostly wasted on me and
is better saved for somebody else.  A reply of "do this...and
this...btw, how did this test come out?" would be welcomed, though ;-)

Anyway, some vague observations as I grasp for straws...

1) The xfstests quota group tests seem to fail in different ways than
the way they did before applying the patches.

2) Nothing has oopsed.

3) In testing using the `xfs_quota -x` command, the patches seem to
work.  On `mount -t xfs -o gquota` mounts, using the quota command from
within the xfs_quota shell, the group quotas show but not the projid
quotas.  On `mount -t xfs -o pquota` mounts, the projid quotas show but
not the gquota mounts.  This is different than the old behavior, where
the gquota numbers might be recycled into projid numbers.

4) The results of `xfsquota -c print` are confusing.  Maybe they're
showing the XFS view when they show things like
'uqnoenforce,gquota,pquota' for a mount that is gquota only.  They're
doubly confusing once /etc/projid and /etc/projects have been set up.
The 'gqnoenforce' and 'pqnoenforce' flags show up at times for reasons
that are unknown to me.

5) `mount -t xfs -o gquota,pquota` is not possible at this time.

6) The patches applied cleanly to a git Linux 3.10-rc1 kernel + xfs-oss,
with only whitespace errors reported.

7) I question whether 'bsoft=' has a visible effect on projid quotas,
whether using your patches or not.  Did it ever work?

8) I had no feel on whether the filesystem had to be mounted once as
gquota, then once as pquota, for the full dual functionality to work.

9) It looks like xfs_repair doesn't ruin anything, but the `xfsquota -c
print` output looks a little different on the next mount.

That's about all that could be put together in a coherent manner.  Sleep

The PC is a 32-bit Pentium 4.  In addition to the kernel mentioned in
(6), there are a few J. Liu and Dave Chinner patches applied as well.

Best of luck!


xfs mailing list

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