2002-03-03 09:23:50

by Craig Christophel

[permalink] [raw]
Subject: Quota patches for 2.5

Included in the following 13 emails are Jan Kara's current quota patches
forward ported to 2.5.6-pre2. They comprise a rewrite of the quota system
allowing for quota plugins much like filesystem plugins and a new quota
structure. He will have to comment on the stability, but they look good from
where I sit.

He origionally has 12 patches which are included, and I added one patch to
change sync_dquot_dev to sync_dquot_all and fix all of the references to
dquot->dq_dev as Al Viro is getting rid of kdev_t in the places where this
was to be used. Also fixed are some compile errors created by me misspelling
on the cut/paste portion.

From Jan's comments: the patches I ported from all compile cleanly and run
reasonably. There is also a compatibility interface as one of the patches.

These are a beginning of a threaded quota system, in keeping with the desire
to remove the BKL from as much of the FS as possible.

The patches to create a threaded quota system are not included, but the
quota system needs to be updated before any work on threading can be done
within reason.

Al and Jan, please comment as you feel neccesary/inclined, and anyone else
as you wish.

Craig.


2002-03-03 13:19:53

by Jan Kara

[permalink] [raw]
Subject: Re: Quota patches for 2.5

> Included in the following 13 emails are Jan Kara's current quota patches
> forward ported to 2.5.6-pre2. They comprise a rewrite of the quota system
> allowing for quota plugins much like filesystem plugins and a new quota
> structure. He will have to comment on the stability, but they look good from
> where I sit.
>
> He origionally has 12 patches which are included, and I added one patch to
> change sync_dquot_dev to sync_dquot_all and fix all of the references to
> dquot->dq_dev as Al Viro is getting rid of kdev_t in the places where this
> was to be used. Also fixed are some compile errors created by me misspelling
> on the cut/paste portion.
Thanks Craig for your porting. I'll include your changes in last patch into
appropriate places in my patches, do some minor #ifdef changes in backward
compatible interface and put the patches (probably against 2.5.5) on ftp...
If there won't be objections I'll submit patches to Linus next week so you can
work on standard kernel...

Honza
--
Jan Kara <[email protected]>
SuSE CR Labs