On 2018/5/8 17:51, Sheng Yong wrote:
> 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
Reviewed-by: Chao Yu
Thanks,
--
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
---
fs/f2fs/segment.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)