diff options
| author | Chao Yu <yuchao0@huawei.com> | 2018-02-03 17:44:39 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-04-08 03:50:56 -0700 |
| commit | 190e64a819df14ed6406f6cb075a5177155b4101 (patch) | |
| tree | 02c96598f0faceb3c17aaa6d2b987a20c3a64d51 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 889d98087652d168cccc3ebb84d62efa6e825644 (diff) | |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
