Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 39fe1cda authored by Yunlei He's avatar Yunlei He Committed by Sahitya Tummala
Browse files

f2fs: let discard thread wait a little longer if dev is busy



This patch modify discard thread wait policy as below:
	issued       io_interrupted     wait time(ms)
1.        8                 0               50
2.      (0,8)               1               50
3.        0                 1              500 (dev is busy)
4.        0                 0            60000 (no candidates)

Change-Id: I7fc7b56f22f7a69fe7dba332a6482a173c4a9cc9
Signed-off-by: default avatarYunlei He <heyunlei@huawei.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Git-commit: f9d1dced7583607e066527ee23d804478870d197
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/


Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 786e83fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment