diff options
author | Sheng Yong <[email protected]> | 2024-11-21 16:26:56 +0800 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2024-11-21 16:13:53 +0000 |
commit | 1015035609e4ccb32e967015a600e01158377dfc (patch) | |
tree | 3e27af525888edd6e5a74e4761ddfb42f286efa8 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | a35749b1ed64ec7f4df0364fcc6002082d366486 (diff) |
f2fs: fix changing cursegs if recovery fails on zoned device
Fsync data recovery attempts to check and fix write pointer consistency
of cursegs and all other zones. If the write pointers of cursegs are
unaligned, cursegs are changed to new sections.
If recovery fails, zone write pointers are still checked and fixed,
but the latest checkpoint cannot be written back. Additionally, retry-
mount skips recovery and rolls back to reuse the old cursegs whose
zones are already finished. This can lead to unaligned write later.
This patch addresses the issue by leaving writer pointers untouched if
recovery fails. When retry-mount is performed, cursegs and other zones
are checked and fixed after skipping recovery.
Signed-off-by: Song Feng <[email protected]>
Signed-off-by: Yongpeng Yang <[email protected]>
Signed-off-by: Sheng Yong <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions