[PATCH] quota: improve credits estimates
authorJan Kara <jack@suse.cz>
Fri, 24 Jun 2005 05:01:03 +0000 (22:01 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 07:05:19 +0000 (00:05 -0700)
commit4e5117ba0af4582b6ec9164874f719d7f3f1eb2b
treed667e418571366ecea1188cb113e786a4a1d7f5c
parentbd6a1f16fffdfe010fdc2979fd01f12357816762
[PATCH] quota: improve credits estimates

Improve estimates on the number of needed credits for quota transaction.
Now we distinguish blocks that might need to be allocated and blocks that
only need to be rewritten.  Also we distinguish deleting of a quota
structure and creating of a new one.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/dqblk_v1.h
include/linux/dqblk_v2.h
include/linux/quota.h