f2fs: avoid unnecessary f2fs_balance_fs calls
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 7 Jan 2016 21:23:12 +0000 (13:23 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 8 Jan 2016 19:45:22 +0000 (11:45 -0800)
commit12719ae14e57980ebf0a7baa63bc80494c76b192
tree3eaf9696743ec4b17e35f79cb4c1f39db3f7b6a8
parent7612118ae8cdd36cbd74d873855d70252d2d49e3
f2fs: avoid unnecessary f2fs_balance_fs calls

Only when node page is newly dirtied, it needs to check whether we need to do
f2fs_gc.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/super.c