commit | 3d26fa6be3c487fac7d87dc4a6f02a9ff0f6b1ef | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon Oct 30 17:49:53 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Nov 05 16:42:03 2017 -0800 |
tree | 2c09c5713e9c038bfa46697fb1bcd6375cbe2470 | |
parent | ea6767337f86312ebe473585899a159bf50ef1b7 [diff] |
f2fs: use rw_semaphore to protect SIT cache There are some cases user didn't update SIT cache under this lock, so let's use rw_semaphore instead of mutex to enhance concurrently accessing. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>