Open patrakov opened 7 years ago
That's an interesting idea, I did not know it was possible. Thanks
Definitely +1 on this. I was doing a ext4 to xfs conversion on a Raspberry Pi 4 (Model B) and it got to the fsremap stage and all it would say was "killed". dmesg showed the process being killed by the OOM reaper.
FYI for anyone ever getting stuck with this on the RPI 4 is to enable arm_64bit=1 in /boot/config.txt, reboot and resume it.
In a test VM, I got fsremap OOM-killed. I think it is a good idea to add protection against this, by having fsremap (or maybe even the fstransform script?) write -1000 into its own oom_score_adj file.