diff options
author | Sheng Yong <shengyong1@huawei.com> | 2018-05-08 12:51:34 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-31 21:31:52 +0300 |
commit | 35a9a766a1b3d57b5f84356954c443db62311b68 (patch) | |
tree | 907d234ee5c47d44374aea38423a14f5b4362f39 /fs/f2fs/segment.h | |
parent | f9d1dced7583607e066527ee23d804478870d197 (diff) | |
download | linux-35a9a766a1b3d57b5f84356954c443db62311b68.tar.xz |
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 'fs/f2fs/segment.h')
0 files changed, 0 insertions, 0 deletions