Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d928bfbf authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

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: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent 58c41035
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment