commit | 83b9bb95a628fa132fcdc83fd377de39c9abffcf | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Tue Mar 20 23:08:30 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Apr 08 04:05:01 2018 -0700 |
tree | 7df2ea5786965078c909725154ba9704568a4270 | |
parent | a33ce03ac477006a4f6d6d70f00a6559a88fcef6 [diff] |
f2fs: don't track new nat entry in nat set Nat entry set is used only in checkpoint(), and during checkpoint() we won't flush new nat entry with unallocated address, so we don't need to add new nat entry into nat set, then nat_entry_set::entry_cnt can indicate actual entry count we need to flush in checkpoint(). Signed-off-by: Yunlei He <heyunlei@huawei.com> Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>