commit | d7bc2484b8d4e580370c66ad93c4319225bd104d | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Dec 12 13:53:41 2014 -0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Jan 09 17:02:22 2015 -0800 |
tree | dfbd917d7add03c623e06dd6d4f635dea9f47457 | |
parent | 1e84371ffeef451e8532e0cd04c2fe59ff10c514 [diff] |
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>