kernel_optimize_test/fs/f2fs
Jaegeuk Kim 1efef83202 f2fs: do f2fs_balance_fs in front of dir operations
In order to conserve free sections to deal with the worst-case scenarios, f2fs
should be able to freeze all the directory operations especially when there are
not enough free sections. The f2fs_balance_fs() is for this use.

When FS utilization becomes almost 100%, directory operations can be failed due
to -ENOSPC frequently, which produces some dirty node pages occasionally.

Previously, in such a case, f2fs_balance_fs() is not able to be triggered since
it is triggered only if the directory operation ends up with success.

So, this patch triggers f2fs_balance_fs() at first before handling directory
operations.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
2012-12-26 10:39:52 +09:00
..
acl.c f2fs: resolve build failures 2012-12-11 13:43:43 +09:00
acl.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
checkpoint.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
data.c f2fs: cleanup the f2fs_bio_alloc routine 2012-12-11 13:43:45 +09:00
debug.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
dir.c f2fs: fix handling errors got by f2fs_write_inode 2012-12-26 10:39:52 +09:00
f2fs.h f2fs: fix tracking parent inode number 2012-12-11 13:43:45 +09:00
file.c f2fs: fix handling errors got by f2fs_write_inode 2012-12-26 10:39:52 +09:00
gc.c f2fs: remove unneeded initialization 2012-12-11 13:43:44 +09:00
gc.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
hash.c f2fs: fix up f2fs_get_parent issue to retrieve correct parent inode number 2012-12-26 10:39:52 +09:00
inode.c f2fs: fix handling errors got by f2fs_write_inode 2012-12-26 10:39:52 +09:00
Kconfig f2fs: resolve build failures 2012-12-11 13:43:43 +09:00
Makefile f2fs: update Kconfig and Makefile 2012-12-11 13:43:42 +09:00
namei.c f2fs: do f2fs_balance_fs in front of dir operations 2012-12-26 10:39:52 +09:00
node.c f2fs: fix handling errors got by f2fs_write_inode 2012-12-26 10:39:52 +09:00
node.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
recovery.c f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
segment.c f2fs: remove set_page_dirty for atomic f2fs_end_io_write 2012-12-26 10:39:51 +09:00
segment.h f2fs: cleanup the f2fs_bio_alloc routine 2012-12-11 13:43:45 +09:00
super.c f2fs: should recover orphan and fsync data 2012-12-26 10:39:52 +09:00
xattr.c f2fs: resolve build failures 2012-12-11 13:43:43 +09:00
xattr.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00