summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim2014-12-12 22:53:41 +0100
committerJaegeuk Kim2015-01-10 02:02:22 +0100
commitd7bc2484b8d4e580370c66ad93c4319225bd104d (patch)
treedfbd917d7add03c623e06dd6d4f635dea9f47457 /fs/f2fs/f2fs.h
parentf2fs: change atomic and volatile write policies (diff)
downloadkernel-qcow2-linux-d7bc2484b8d4e580370c66ad93c4319225bd104d.tar.gz
kernel-qcow2-linux-d7bc2484b8d4e580370c66ad93c4319225bd104d.tar.xz
kernel-qcow2-linux-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/f2fs.h')
0 files changed, 0 insertions, 0 deletions