summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-02-03 12:44:39 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2018-03-13 02:05:40 +0300
commitfb0e72c8b94903be3a7e742ab0a4b53b89e7ee35 (patch)
treefdbc7f7837aeec1a0f453a17b2640cb41249bc4b /tools/perf/scripts/python/export-to-sqlite.py
parent0f9ec2a8f65d72a454e99fb4f7351d7e01070385 (diff)
downloadlinux-fb0e72c8b94903be3a7e742ab0a4b53b89e7ee35.tar.xz
f2fs: fix to handle looped node chain during recovery
There is no checksum in node block now, so bit-transition from hardware can make node_footer.next_blkaddr being corrupted w/o any detection, result in node chain becoming looped one. For this condition, during recovery, in order to avoid running into dead loop, let's detect it and just skip out. Signed-off-by: Yunlei He <heyunlei@huawei.com> Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions