OSDN Git Service

f2fs: don't track newly allocated nat entry in list
authorChao Yu <yuchao0@huawei.com>
Mon, 5 Jun 2017 10:29:08 +0000 (18:29 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 13 Jul 2017 23:56:39 +0000 (16:56 -0700)
commit958022601a8cd3bd95aa2673f9de42ce98c9c4fa
treee751825bdea67122f8796994c3f644c62f64b645
parentf3fb4448d8f0843b6aec068fdcb0c8ea8a5321da
f2fs: don't track newly allocated nat entry in list

We will never persist newly allocated nat entries during checkpoint(), so
we don't need to track such nat entries in nat dirty list in order to
avoid:
- more latency during traversing dirty list;
- sorting nat sets incorrectly due to recording wrong entry_cnt in nat
entry set.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c