Test condition:
Allwinner A133 Android 10 tablet.
- Data partition is formated to f2fs.
- fsck enabled during android boot
- 32GB emmc flash, and data partition size is 28GB+
Steps to reproduce:
- create 20GB file on data partition:
belsito:/data # dd if=/dev/urandom of=/data/test.bin bs=1k count=20m 20971520+0 records in 20971520+0 records out 21474836480 bytes (20 G) copied, 679.607325 s, 30 M/s
- create 500MB file on data partition:
dd if=/dev/urandom of=/data/test2.bin bs=1k count=500k
don't wait this command finish, open another adb shell, type command:
reboot # this makes device reboot
- after reboot fsck.f2fs found data corruption, and took very long time >90s to finish check:
