fsck.f2fs: allow fsck to fix issues with online resize due to SPO
A message that is not in the archive (sent off-list or not yet received): [email protected]
Chao Yu
Reviewed-byQuoted 9 lines · Sahitya Tummala
Add support for new CP flag
CP_RESIZEFS_FLAGset during online resize FS. If SPO happens after SB is updated but CP isn't, then allow fsck to fix it.The fsck errors without this fix -
Info: CKPT version =6ed7bccb
Wronguser_block_count(2233856)
[f2fs_do_mount:3365] Checkpoint is polluted
Quoted 5 lines
The subsequent mount failure without this fix -
[ 11.294650] F2FS-fs (sda8): Wrong user_block_count: 2233856 [ 11.300272] F2FS-fs (sda8): Failed to get valid F2FS checkpointSigned-off-by Sahitya Tummala <[email protected]>
Reviewed-by Chao Yu <[email protected]>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel