f2fs: don't split checkpoint in fstrim
authorChao Yu <yuchao0@huawei.com>
Mon, 9 Apr 2018 02:25:23 +0000 (10:25 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 30 May 2018 18:41:26 +0000 (11:41 -0700)
commitcfe6e2f69eefb6a1ade2ee091b1b38541091e6a9
tree47fcc7bd99c8468cd7f492eb277b9ba526723bb4
parent596c97672db20009cd448b60823cae52ba780ee2
f2fs: don't split checkpoint in fstrim

Now, we issue discard asynchronously in separated thread instead of in
checkpoint, after that, we won't encounter long latency in checkpoint
due to huge number of synchronous discard command handling, so, we don't
need to split checkpoint to do trim in batch, merge it and obsolete
related sysfs entry.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/f2fs.h
fs/f2fs/segment.c
fs/f2fs/sysfs.c