mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
Fix a performance degradation introduced in 2.6.17. (30% degradation running dbench with 16 threads) Commit21730eed11, which claims to make EXT2_DEBUG work again, moves the taking of the kernel lock out of debug-only code in ext2_count_free_inodes and ext2_count_free_blocks and into ext2_statfs. The same problem was fixed in ext3 by removing the lock completely (commit5b11687924) Signed-off-by: Dave Kleikamp <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>