commit | 35a9a766a1b3d57b5f84356954c443db62311b68 | [log] [tgz] |
---|---|---|
author | Sheng Yong <shengyong1@huawei.com> | Tue May 08 17:51:34 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu May 31 11:31:52 2018 -0700 |
tree | 907d234ee5c47d44374aea38423a14f5b4362f39 | |
parent | f9d1dced7583607e066527ee23d804478870d197 [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>