diff options
| author | Yunlei He <heyunlei@huawei.com> | 2017-04-22 18:06:26 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-05-21 18:42:46 +0200 |
| commit | fc07a547d0d9deb55115228347f97b2a2905afab (patch) | |
| tree | 1da0302b9eb3c08a8dc64cdf98119db1318e019c /include/linux/uart | |
| parent | 2dd308b652bde452265a9c26fcb2cfdb936e3df7 (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 'include/linux/uart')
0 files changed, 0 insertions, 0 deletions
