On Wed, Sep 07, 2005 at 09:11:29AM -0600, Matthew Kent wrote:
> Well I don't know what my other email accounts problem is with this
> list, and I don't see any moderation so I'm assuming its just not making
> it through, but forgive me if you end up with 3 copies of this
> message...
Yeah, it may not be just you, I've noticed some mails from linux-xfs
not being delivered to me in the last few days (but they do show up
in the archive on oss). *shrug* ... Russell/Trev, any ideas?
> but I'm not sure if >1 million accounts falls into the "large number of
> users" category or "thats far too many to ever work efficiently".
It should be fine, report back if not and it should get some attention.
> Also, it seems in my limited testing that whats reported by repquota
> isn't in real time when I fill up one of my account quotas, I'm assuming
> the quota data is being updated at some sort of interval? Is this
> configurable?
Well, thats the good old delayed-allocate-space-is-not-allocated-yet
problem ... the repquota code is only reporting on space that has
actually been allocated. I have a patch lying around someplace that
implements the Q_SYNC quotactl for XFS, such that the filesystem being
reported on will have delalloc data flushed just prior to querying. It
seems to resolve the problem, I just need to find some time to tidy it
up, get it reviewed and merge it in.
> And if anyone can point me to a more in depth description of how quotas
> are implemented than the XFS admin guide, but higher level than poking
> through the code, I'd be very grateful.
If you have a fairly recent version of xfsprogs, not too long ago
we added an extensive xfs_quota(8) man page which has the sort of
information you are looking for. In older versions of xfsprogs
there was a /usr/share/doc/xfsprogs/README.quota (actual pathname
may vary depending on Linux distro) which has a subset of that, but
should also answer your questions I think.
HTH.
cheers.
--
Nathan
|