diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-26 20:41:23 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-02-11 20:04:44 -0500 |
commit | bba681cbb231920a786cd7303462fb2632af6f36 (patch) | |
tree | 9937a96f18dec591769f0fc677587148c24fac9e /fs/f2fs/namei.c | |
parent | 487261f39bcd8983f55c611e299f70f34659674b (diff) |
f2fs: introduce a batched trim
This patch introduces a batched trimming feature, which submits split discard
commands.
This is to avoid long latency due to huge trim commands.
If fstrim was triggered ranging from 0 to the end of device, we should lock
all the checkpoint-related mutexes, resulting in very long latency.
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/namei.c')
0 files changed, 0 insertions, 0 deletions