commit | 042be373adf719ab64c4a44ae809d110826becbf | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri May 08 17:50:20 2020 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon May 11 20:36:46 2020 -0700 |
tree | 8e62751444ceec0ddc8c7b79f705dc8cd3e67c42 | |
parent | 84c9c2de0626567c0d964ee5fa1ae3310911ddf8 [diff] |
f2fs: shrink spinlock coverage In f2fs_try_to_free_nids(), .nid_list_lock spinlock critical region will increase as expected shrink number increase, to avoid spining other CPUs for long time, we change to release nid caches with small batch each time under .nid_list_lock coverage. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>