OSDN Git Service

f2fs: no need to lock for update_inode_page all the time
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 12 Sep 2015 18:25:30 +0000 (11:25 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 9 Oct 2015 23:20:50 +0000 (16:20 -0700)
commitc5cd29d21cebc2e1802a9eea4cd940ddf9825ce1
treec3c4da9068126a4b41cdd05b14bce6fcf1d2c4ef
parent25b93346a6b5542fd7de50555f8f0ddfc56d7443
f2fs: no need to lock for update_inode_page all the time

As comment says, we don't need to call f2fs_lock_op in write_inode to prevent
from producing dirty node pages all the time.
That happens only when there is not enough free sections and we can avoid that
by calling balance_fs in prior to that.

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