commit | 4e6a8d9b224f886362ea6e8f6046b541437c944f | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Dec 29 14:07:53 2016 -0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Jan 29 12:46:01 2017 +0900 |
tree | 915e62c7bf4ec07d9aa8d84e91515812484b6e58 | |
parent | bb95d9ab2a9d4afd03b59a603cccb2c601f68b78 [diff] |
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>