xfs
[Top] [All Lists]

Bug#664550: marked as done (xfs_quota: "report -p" doesn't show all proj

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Bug#664550: marked as done (xfs_quota: "report -p" doesn't show all projects)
From: owner@xxxxxxxxxxxxxxx (Debian Bug Tracking System)
Date: Fri, 06 Jan 2017 00:09:05 +0000
Delivered-to: xfs@xxxxxxxxxxx
References: <313842d6-3f5c-72f9-6b54-15ff39a5b17d@xxxxxxxxxxx> <20120318211111.GA22507@xxxxxxxxxxxxxxxxxxx>
Your message dated Thu, 5 Jan 2017 17:58:45 -0600
with message-id <313842d6-3f5c-72f9-6b54-15ff39a5b17d@xxxxxxxxxxx>
and subject line 
has caused the Debian Bug report #664550,
regarding xfs_quota: "report -p" doesn't show all projects
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@xxxxxxxxxxxxxxx
immediately.)


-- 
664550: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664550
Debian Bug Tracking System
Contact owner@xxxxxxxxxxxxxxx with problems
--- Begin Message ---
To: submit@xxxxxxxxxxxxxxx
Subject: xfs_quota: "report -p" doesn't show all projects
From: Sergio Gelato <Sergio.Gelato@xxxxxxxxxxx>
Date: Sun, 18 Mar 2012 22:11:11 +0100
Delivered-to: submit@xxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
Package: xfsprogs
Version: 3.1.4

When invoked without an explicit -U argument, the report and dump subcommands
of xfs_quota only mention projects that have a corresponding entry in
/etc/projid . This important fact is not mentioned in the man page.
It could easily result in loss of quota limit information across dump/restore
on systems where /etc/projid is out of date, corrupt or missing.

(Aside: even the fact that the dump subcommand accepts -L and -U isn't 
documented in the man page. Why not?)

With an explicit -U, the code switches from getprent() (which iterates
over the contents of /etc/projid) to a simple loop over all project IDs
in the given range. This is better, except possibly for performance if
the project ID space is sparse.



--- End Message ---
--- Begin Message ---
To: 664550-close@xxxxxxxxxxxxxxx
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 5 Jan 2017 17:58:45 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
Package: xfsprogs
Version: 4.5.0

This should be fixed in xfsprogs 4.5.0 along with kernel 4.6, via
the new GETNEXTQUOTA interface, which asks the kernel to iterate
over all active quota ids regardless of what's in the local
user database.

52e81d7 xfs_quota: fall back silently if XFS_GETNEXTQUOTA fails
43633a3 xfs: wire up Q_XGETNEXTQUOTA / get_nextdqblk
6a9a085 xfs_quota: use Q_XGETNEXTQUOTA for report and dump
513fc42 xfs_quota: define Q_XGETNEXTQUOTA

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#664550: marked as done (xfs_quota: "report -p" doesn't show all projects), Debian Bug Tracking System <=