summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-11-12 14:49:56 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-12-23 10:18:00 +0900
commitb29555505d81e496fdbd125190c8043f3c09a83c (patch)
treec0043de3cbcea1f447c3414c1a5e63e007f2da2e /fs/f2fs/super.c
parent7fd9e544fbb10c6ae4b4953f6063560c8eeae6e8 (diff)
downloadblackbird-op-linux-b29555505d81e496fdbd125190c8043f3c09a83c.tar.gz
blackbird-op-linux-b29555505d81e496fdbd125190c8043f3c09a83c.zip
f2fs: add key functions for small discards
This patch adds key functions to activate the small discard feature. Note that this procedure is conducted during the checkpoint only. In flush_sit_entries(), when a new dirty sit entry is flushed, f2fs calls add_discard_addrs() which searches candidates to be discarded. The candidates should be marked *invalidated* and also previous checkpoint recognizes it as *valid*. At the end of a checkpoint procedure, f2fs throws discards based on the discard entry list. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/super.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud