diff options
author | Haicheng Li <haicheng.li@linux.intel.com> | 2013-05-06 23:15:43 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-08 19:54:22 +0900 |
commit | 23d38844276680abbf33624f56b6779d43f53633 (patch) | |
tree | 13238b257994d31c5bc6653d4b4328e10984be83 /fs/super.c | |
parent | 8760952d92b2fd2310fac340ff5bcdf3ada500d7 (diff) | |
download | lwn-23d38844276680abbf33624f56b6779d43f53633.tar.gz lwn-23d38844276680abbf33624f56b6779d43f53633.zip |
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>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions