aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-10-04 09:08:32 +0800
committerMister Oyster <oysterized@gmail.com>2017-12-06 16:40:36 +0100
commit10fdf7874dc98ac4002cabf679118d54aa3ffe98 (patch)
tree37ef0a478c259a548e3c9fa0749d7108b4846943 /kernel
parent20cec605e32858194d5572fa9b40fe832825fcea (diff)
f2fs: support issuing/waiting discard in range
Fstrim intends to trim invalid blocks of filesystem only with specified range and granularity, but actually, it will issue all previous cached discard commands which may be out-of-range and be with unmatched granularity, it's unneeded. In order to fix above issues, this patch introduces new helps to support to issue and wait discard in range and adds a new fstrim_list for tracking in-flight discard from ->fstrim. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions