Quota speedup in 2.2.12 and bugfix

Jan Kara (jack@atrey.karlin.mff.cuni.cz)
Sat, 11 Sep 1999 20:18:02 +0200


--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii

Hello.

I'm sending you a small patch to quota code in 2.2.12. It does two things:

1) Fixes possible race in sync_dquots() where we could end up writing invalidated quota.
2) Speeds up quotaoff - currently when inode cache was full of inodes with quota pointers
set, which is likely when quota enabled on root, quotaoff could take a few seconds
which is unpleasant. So I made a bit more finegrained detection of blocking when we
remove references from inodes and so we don't have to restart so often.

The patch is attached.

Bye
Honza.

--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="quota-fix-2.2.12-2a.diff"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/