Yunlei He 39fe1cda39 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: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Git-commit: f9d1dced7583607e066527ee23d804478870d197
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2018-09-07 09:42:43 +05:30
..
2018-02-22 19:18:40 +00:00
2016-09-14 16:52:36 -07:00
2018-02-22 19:18:40 +00:00
2018-04-12 09:41:49 -07:00
2018-08-03 08:58:33 +02:00
2018-08-03 08:58:33 +02:00
2018-02-22 19:18:40 +00:00
2018-07-17 12:29:15 +02:00
2018-05-30 13:17:17 +02:00
2018-07-17 12:29:15 +02:00
2018-04-12 09:41:49 -07:00
2018-04-12 09:41:49 -07:00
2018-04-12 09:41:49 -07:00
2017-12-20 13:55:17 -08:00
2018-02-22 19:18:40 +00:00
2018-02-22 19:18:40 +00:00