Re: Quota patches

Jan Kara
2002-05-22T19:56:59Z

Hello,

> Jan Kara <jack@suse.cz> writes:
>
> > Hello,
> >
> > In following mails I'll send (because patches are big, I'll post them just
> > diretly to Linus - others see ftp below) quota patches for 2.5.15 (patches
> > apply well on 2.5.16 too). Currently they implement:
> > * new quota format (allows 32 uids, accounting in bytes -> mainly for
> > Reiserfs)
> > * needed infrastructure for XFS quota
> > * quota statistics in /proc (we can drop Q_GETSTATS call; it's a lot
> > easier to change in future)
> > * implements correct syncing of quota
> > * introduces interface which allows usage of both quota formats in kernel
> > * implemented filesystem callback function on certain quota operations
> > (needed for journaled quota, Ext3)
> > * implements ioctl() for reporting occupied space in bytes (not just blocks)
> >
> > The patches can be downloaded at:
> > ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.5/2.5.15/
> >
> > Old quota tools should work with patches if you configure old quota interface
> > in '.config'. There are also quota utilities capable of communicating with new
> > generic interface. You can download them at:
> >
> > http://www.sf.net/projects/linuxquota/
> >
> > or you can checkout version from SourceForge CVS.
> >
> > Any comments & bugreports welcome.
>
> What do you think of the following patches for kernel without
> quota support? We already have weak symbol for sys_quotactl().
I know this but this file is also needed by XFS people so it isn't
so easy. But as XFS stuff is not currently in kernel the change is
probably for now (I'll check whether there's not some hidden reference
I forgot about and submit patch to Linus).

Honza