commit | 618f06362ae3f60f95d7b0e666de25ee6ae35679 | [log] [tgz] |
---|---|---|
author | Kirill Korotaev <dev@sw.ru> | Thu Jun 23 00:09:54 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Thu Jun 23 09:45:27 2005 -0700 |
tree | 4415b4e590913e16535704168ea74c6af5a93c48 | |
parent | 4fea2838aa00b9e59efde974dcdb455608192811 [diff] |
[PATCH] O(1) sb list traversing on syncs This patch removes O(n^2) super block loops in sync_inodes(), sync_filesystems() etc. in favour of using __put_super_and_need_restart() which I introduced earlier. We faced a noticably long freezes on sb syncing when there are thousands of super blocks in the system. Signed-Off-By: Kirill Korotaev <dev@sw.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>