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 15:58:59 +0000 (08:58 -0700)
commit377224c471188a2c9a838f919160546f4e842ab8
tree2568c672181a34705a588d3ba1700a444e19ccfa
parent8bb4f2535cf7c3e3aeaed8b3c7c7a116844c41db
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