summaryrefslogtreecommitdiff
path: root/fs/f2fs/data.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-12-12 13:53:41 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-01-09 17:02:22 -0800
commitd7bc2484b8d4e580370c66ad93c4319225bd104d (patch)
treedfbd917d7add03c623e06dd6d4f635dea9f47457 /fs/f2fs/data.c
parent1e84371ffeef451e8532e0cd04c2fe59ff10c514 (diff)
downloadlwn-d7bc2484b8d4e580370c66ad93c4319225bd104d.tar.gz
lwn-d7bc2484b8d4e580370c66ad93c4319225bd104d.zip
f2fs: fix small discards not to issue redundantly
The ckpt_valid_map and cur_valid_map are synced by seg_info_to_raw_sit. In the case of small discards, the candidates are selected before sync, while fitrim selects candidates after sync. So, for small discards, we need to add candidates only just being obsoleted. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
0 files changed, 0 insertions, 0 deletions