commit | 23d38844276680abbf33624f56b6779d43f53633 | [log] [tgz] |
---|---|---|
author | Haicheng Li <haicheng.li@linux.intel.com> | Mon May 06 23:15:43 2013 +0800 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Wed May 08 19:54:22 2013 +0900 |
tree | 13238b257994d31c5bc6653d4b4328e10984be83 | |
parent | 8760952d92b2fd2310fac340ff5bcdf3ada500d7 [diff] |
f2fs: optimize scan_nat_page() When nm_i->fcnt > 2 * MAX_FREE_NIDS, stop scanning other NAT entries. Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com> [Jaegeuk Kim: fix handling the return value of add_free_nid()] Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>