diff options
| author | Yunlei He <heyunlei@huawei.com> | 2017-07-18 09:48:12 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-09-21 14:02:49 -0700 |
| commit | d143729d715df2a467e52fbe401f7ab2cc162dca (patch) | |
| tree | 07ce705bb9046a9986f2f3473bd9a69a6c8a79e9 /tools/perf/scripts/python | |
| parent | f19a8a046a172655102a9aa0a995c4c77143df0c (diff) | |
f2fs: alloc new nids for xattr block in recovery
recovery file A: recovery file B:
-get_dnode_of_data
-alloc_nid
-recover_xattr_data
-set_node_addr(sbi, &ni, NEW_ADDR, false);
--->bug_on for nid has been used by file A
In recovery process, new allocated node blocks may "reuse" xattr block
nids, this patch alloc new nids for xattr blocks in recovery process to
avoid this problem.
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')
0 files changed, 0 insertions, 0 deletions
