[Bugme-janitors] [Bug 9520] Quotas modification on a loaded system takes up to several minutes to complete

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Sun Dec 9 00:23:13 PST 2007


http://bugzilla.kernel.org/show_bug.cgi?id=9520





------- Comment #6 from gentuu at gmail.com  2007-12-09 00:23 -------
Just finished rewriting the patch over.
The main idea of it - is using a separate list to keep
inodes to initialize.

So, here is the scenario:
- we are locking the super block's inodes list
- looping on the list, iget()ing inodes for initialization
- and adding them to a separate list
- unlocking the super block's inodes list
then
- running through the new list, initing inodes from it and put()ing them

This makes execution time depending only on inodes count, not any FS activity.

The patch is attached.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Bugme-janitors mailing list