commit | 8769918bf06c9cfb01a1a6ee0e547c9916881496 | [log] [tgz] |
---|---|---|
author | Sahitya Tummala <stummala@codeaurora.org> | Mon Nov 23 10:58:32 2020 +0530 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Dec 02 22:00:21 2020 -0800 |
tree | 5ac4d1494b84a00c6736f28b0fad369d10432ff8 | |
parent | 7ad08a58bf67594057362e45cbddd3e27e53e557 [diff] |
f2fs: change to use rwsem for cp_mutex Use rwsem to ensure serialization of the callers and to avoid starvation of high priority tasks, when the system is under heavy IO workload. Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>