commit | d928bfbfe77aa457b765c19e9db8cd4cc72b3c89 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Mar 20 19:10:08 2014 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Mar 20 22:10:11 2014 +0900 |
tree | f56763175e0fbee1e2079c9a330f3d73f971bc5c | |
parent | 58c410351eba3d24f741c85a0eb9eaf15c94047d [diff] |
f2fs: introduce fi->i_sem to protect fi's info This patch introduces fi->i_sem to protect fi's info that includes xattr_ver, pino, i_nlink. This enables to remove i_mutex during f2fs_sync_file, resulting in performance improvement when a number of fsync calls are triggered from many concurrent threads. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>