Jaegeuk Kim 4e6a8d9b22 f2fs: relax async discard commands more
This patch relaxes async discard commands to avoid waiting its end_io during
checkpoint.
Instead of waiting them during checkpoint, it will be done when actually reusing
them.

Test on initial partition of nvme drive.

 # time fstrim /mnt/test

Before : 6.158s
After : 4.822s

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2017-01-29 12:46:01 +09:00
..
2016-09-14 16:52:36 -07:00
2016-11-23 12:11:12 -08:00
2017-01-29 12:46:01 +09:00
2017-01-29 12:46:01 +09:00
2016-12-14 09:07:36 -08:00
2016-12-14 09:07:36 -08:00
2016-11-23 12:11:00 -08:00
2016-06-07 13:41:38 -06:00