xfs
[Top] [All Lists]

Re: [PATCH] xfs/133 134: filter redundant projid 0 quota report

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH] xfs/133 134: filter redundant projid 0 quota report
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 11 May 2016 11:07:00 -0500
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <e0126658-70f7-f8f9-d3bd-a47df2c6ce96@xxxxxxxxxxx>
References: <1462979156-7648-1-git-send-email-zlang@xxxxxxxxxx> <e0126658-70f7-f8f9-d3bd-a47df2c6ce96@xxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 5/11/16 11:04 AM, Eric Sandeen wrote:
> +_filter_project_quota()
> +{
> +     # Project ID 0 is always present on disk but was not reported
> +     # until the GETNEXTQUOTA ioctl came into use.  Filter it out.
> +     _filter_quota | grep -v "^\#0"
> +}

or perhaps that should be 

        grep -v "^\#0\|^(null)"

because at one point we reported "(null)" not "#0" right?

Thanks,
-Eric

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