diff options
| author | Chao Yu <yuchao0@huawei.com> | 2017-08-21 22:53:45 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-10-04 15:35:21 +0200 |
| commit | f19d913de6d5f4a1b97c3b8a6459207439fb9396 (patch) | |
| tree | b250470f20fa6c42c5fb1af940cdd7eb37795dfd /include/linux/debugfs.h | |
| parent | f34bdace069ba7781ea86993ffb3c3a71404c48d (diff) | |
f2fs: fix out-of-order execution in f2fs_issue_flush
In f2fs_issue_flush, due to out-of-order execution of CPU, wake_up can
be called before we insert issue_list, result in long latency of
wait_for_completion. Fix this by adding smp_mb() to force the order of
related codes.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/debugfs.h')
0 files changed, 0 insertions, 0 deletions
