linux/fs/f2fs
Jaegeuk Kim d7bc2484b8 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>
2015-01-09 17:02:22 -08:00
..
acl.c f2fs: remove the redundant function cond_clear_inode_flag 2014-11-03 16:07:36 -08:00
acl.h f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00
checkpoint.c f2fs: avoid to ra unneeded blocks in recover flow 2014-12-08 14:19:09 -08:00
data.c f2fs: change atomic and volatile write policies 2015-01-09 17:02:22 -08:00
debug.c f2fs: use atomic for counting inode with inline_{dir,inode} flag 2014-12-08 10:54:59 -08:00
dir.c f2fs: introduce f2fs_dentry_kunmap to clean up 2014-11-23 21:51:53 -08:00
f2fs.h f2fs: change atomic and volatile write policies 2015-01-09 17:02:22 -08:00
file.c f2fs: change atomic and volatile write policies 2015-01-09 17:02:22 -08:00
gc.c f2fs: do retry operations with cond_resched 2014-12-08 10:35:05 -08:00
gc.h f2fs: more fast lookup for gc_inode list 2014-12-02 11:02:50 -08:00
hash.c f2fs: fix wrong casting for dentry name 2014-08-29 00:26:50 -07:00
inline.c f2fs: fix to recover converted inline_data 2014-11-25 18:08:00 -08:00
inode.c f2fs: change atomic and volatile write policies 2015-01-09 17:02:22 -08:00
Kconfig f2fs: fix typo 2014-08-19 10:01:33 -07:00
Makefile f2fs: key functions to handle inline data 2013-12-26 20:40:09 +09:00
namei.c f2fs: introduce f2fs_dentry_kunmap to clean up 2014-11-23 21:51:53 -08:00
node.c f2fs: change atomic and volatile write policies 2015-01-09 17:02:22 -08:00
node.h f2fs: change atomic and volatile write policies 2015-01-09 17:02:22 -08:00
recovery.c f2fs: avoid to ra unneeded blocks in recover flow 2014-12-08 14:19:09 -08:00
segment.c f2fs: fix small discards not to issue redundantly 2015-01-09 17:02:22 -08:00
segment.h f2fs: do not skip any writes under memory pressure 2014-11-10 06:51:38 -08:00
super.c f2fs: remove unneeded check code with option in f2fs_remount 2014-11-19 22:49:31 -08:00
xattr.c f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00
xattr.h f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00