summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/file.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-03-21 04:53:19 +0100
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-03-27 01:16:18 +0100
commitfa37241743ac26ba0ac6f54579158c2fae310a5c (patch)
tree3d1fed6b28e7e3f085b5f72e5ad2a706d5a7712b /fs/f2fs/file.c
parentf2fs: do not skip writing file meta during fsync (diff)
downloadlinux-fa37241743ac26ba0ac6f54579158c2fae310a5c.tar.xz
linux-fa37241743ac26ba0ac6f54579158c2fae310a5c.zip
f2fs: remain nat cache entries for further free nid allocation
In the checkpoint flow, the f2fs investigates the total nat cache entries. Previously, if an entry has NULL_ADDR, f2fs drops the entry and adds the obsolete nid to the free nid list. However, this free nid will be reused sooner, resulting in its nat entry miss. In order to avoid this, we don't need to drop the nat cache entry at this moment. Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/file.c')
0 files changed, 0 insertions, 0 deletions