summaryrefslogtreecommitdiffstats
path: root/fs/vfat/namei.c
diff options
context:
space:
mode:
authorOGAWA Hirofumi2008-04-28 11:16:28 +0200
committerLinus Torvalds2008-04-28 17:58:47 +0200
commit061e97469f46f924cf14bbf1dd4805b46986691a (patch)
treef89bae50777ff9d7a8dc917342f55218de132166 /fs/vfat/namei.c
parentfat: Remove fat_clusters_flush() (diff)
downloadkernel-qcow2-linux-061e97469f46f924cf14bbf1dd4805b46986691a.tar.gz
kernel-qcow2-linux-061e97469f46f924cf14bbf1dd4805b46986691a.tar.xz
kernel-qcow2-linux-061e97469f46f924cf14bbf1dd4805b46986691a.zip
Add balance_dirty_pages_ratelimited() to cont_expand_zero()
On the systems, ftruncate() which expand size for FAT became the cause of OOM. The cont_expand_zero() filled all memory with dirty pages, and since disk is very slow, limit of page scanning was exceeded, then it triggered OOM. This adds balance_dirty_pages_ratelimited() to avoid filling memory with dirty pages. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/vfat/namei.c')
0 files changed, 0 insertions, 0 deletions