4 ms·
Thank you. I wondered why ext4 tolerate sudden power loss much better.
by icefo 8y ago
Thank you.
I wondered why ext4 tolerate sudden power loss much better.
- Annatar 8y agoIt doesn't tolerate power loss at all; it doesn't have any kind of facilities to do that, and write barriers will only work if the underlying storage supports it, otherwise ext4 will revert to no write barriers, so it's spotty at best, hit-and-miss. There is no way to detect silent data corruption on any generation of an ext filesystem and if you lose power, you've not only lost data but it has most likely been silently corrupted as well. ext filesystems will be none the wiser to this. Same with XFS, UFS, or any other classic filesystem, but ext family of filesystems is particularly shoddy in that regard.