diff options
author | 2018-05-08 17:51:34 +0800 | |
---|---|---|
committer | 2018-05-31 11:31:52 -0700 | |
commit | 35a9a766a1b3d57b5f84356954c443db62311b68 (patch) | |
tree | 907d234ee5c47d44374aea38423a14f5b4362f39 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: let discard thread wait a little longer if dev is busy (diff) | |
download | wireguard-linux-35a9a766a1b3d57b5f84356954c443db62311b68.tar.xz wireguard-linux-35a9a766a1b3d57b5f84356954c443db62311b68.zip |
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 '')
0 files changed, 0 insertions, 0 deletions