]> git.baikalelectronics.ru Git - kernel.git/commit
ext3: Avoid loading bitmaps for full groups during block allocation
authorFrans van de Wiel <fvdw@fvdw.eu>
Mon, 15 Mar 2010 18:29:34 +0000 (19:29 +0100)
committerJan Kara <jack@suse.cz>
Fri, 21 May 2010 17:30:36 +0000 (19:30 +0200)
commit5c9607abb8a8ed38a1a4818d35972e58a343e196
treed8cb4a9acc01d110efeb43e2e9591f43596d5a16
parent2050026bda332bf97d02900224b732ec4512271f
ext3: 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).

Jan Kara: Added a comment and changed check to use cpu-endian value.

Signed-off-by: "Frans van de Wiel" <fvdw@fvdw.eu>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/balloc.c