commit | 3104af35eb6a2452ccc9912997e7728777100de2 | [log] [tgz] |
---|---|---|
author | Chao Yu <chao2.yu@samsung.com> | Wed Dec 23 17:11:43 2015 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Dec 30 10:14:08 2015 -0800 |
tree | fb3afcfaa3aa9fa34d6d63bcc0581f0067eb6662 | |
parent | 93bae099eaa0ae784fbe4d9eddcdc54fb5812466 [diff] |
f2fs: reduce covered region of sbi->cp_rwsem in f2fs_map_blocks Only cover sbi->cp_rwsem on one dnode page's allocation and modification instead of multiple's in f2fs_map_blocks, it can reduce the covered region of cp_rwsem, then we can avoid potential long time delay for concurrent checkpointer. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>