diff options
author | Yunlei He <heyunlei@huawei.com> | 2017-04-22 13:06:26 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-04-26 00:16:39 +0300 |
commit | 66a82d1fc7e058b28189fe068f2a5efd9abc719a (patch) | |
tree | c1f18c50d4e4a214db2ea75827f6fb21075303aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d3bb910c15d75ee3340311c64a1c05985bb663a3 (diff) | |
download | linux-66a82d1fc7e058b28189fe068f2a5efd9abc719a.tar.xz |
f2fs: seperate read nat page from nat_tree_lock
This patch seperate nat page read io from nat_tree_lock.
-lock_page
-get_node_info()
-current_nat_addr
...... -> write_checkpoint
-get_meta_page
Because we lock node page, we can make sure no other threads
modify this nid concurrently. So we just obtain current_nat_addr
under nat_tree_lock, node info is always same in both nat pack.
Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions