]> git.baikalelectronics.ru Git - kernel.git/commit
ext2: Avoid loading bitmaps for full groups during block allocation
authorJan Kara <jack@suse.cz>
Mon, 29 Mar 2010 11:55:39 +0000 (13:55 +0200)
committerJan Kara <jack@suse.cz>
Fri, 21 May 2010 17:30:37 +0000 (19:30 +0200)
commitcd72e1d1a4cb1ef3fb6f429c799548fc552436b3
tree0e4d6128f7f4a1f67d6c3ede3504100ec5d5ee7a
parent5c9607abb8a8ed38a1a4818d35972e58a343e196
ext2: Avoid loading bitmaps for full groups during block allocation

There is no point in loading bitmap for groups which are completely full.
This causes noticeable performance problems (and memory pressure) on small
systems with large full filesystem
(http://marc.info/?l=linux-ext4&m=126843108314310&w=2).

Port of the same ext3 patch.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/balloc.c