diff options
| author | Yunlei He <heyunlei@huawei.com> | 2017-04-22 18:06:26 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-05-08 16:28:21 -0700 |
| commit | 9933f6e186a32d6f2da5581d97523b7fd99a4eba (patch) | |
| tree | 52018914da5c5c8012ef031a96c237b7c9c513ab /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 38f30f047da2994e9b71b5411e2e60757b21f74d (diff) | |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
