summaryrefslogtreecommitdiffstats
path: root/fs/ext2/balloc.c
diff options
context:
space:
mode:
authorFrans van de Wiel <fvdw@fvdw.eu>2010-03-15 19:29:34 +0100
committerJan Kara <jack@suse.cz>2010-05-21 19:30:36 +0200
commit8cef107a1d890ff76c85d665083ff3562be01d32 (patch)
treed8cb4a9acc01d110efeb43e2e9591f43596d5a16 /fs/ext2/balloc.c
parent70ca0a42fe1702ac0784386c44b05d18ee5f1f9e (diff)
downloadlinux-8cef107a1d890ff76c85d665083ff3562be01d32.tar.gz
linux-8cef107a1d890ff76c85d665083ff3562be01d32.tar.xz
linux-8cef107a1d890ff76c85d665083ff3562be01d32.zip
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>
Diffstat (limited to 'fs/ext2/balloc.c')
0 files changed, 0 insertions, 0 deletions