diff options
| author | Sheng Yong <shengyong1@huawei.com> | 2018-05-08 17:51:34 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-07-08 17:46:49 -0700 |
| commit | e72a2cca82d8e8809be75012ded23781434d31fa (patch) | |
| tree | a9cf26a3c4e7a384fbc1022c1d9d32d397b4d951 /include/linux/overflow.h | |
| parent | b25a1872e9a518c8ea5c76bb8441209db3117574 (diff) | |
f2fs: clear discard_wake earlier
If SBI_NEED_FSCK is set, discard_wake will never be cleared. As a
result, the condition of wait_event_interruptible_timeout() is always
true, which gets discard thread run too frequently.
Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions
