3 ms·
One thing that ext4 has and XFS does not is extremely delayed writes. Ext4 can postpone writes for tens of seconds, essentially minutes. This has various fun im
by nine_k 4y ago
One thing that ext4 has and XFS does not is extremely delayed writes. Ext4 can postpone writes for tens of seconds, essentially minutes.
This has various fun implications for software that cares about durable writes, like databases.
- nh2 4y agoIf a software, especially a DB, cares about durable writes, it must surely use fsync(), not depend on how long some delays are.
- orra 4y agoSort of. The problem is fsync() is a rather blunt tool, forcing too much to be synchronised, reducing concurrency. I remember when ext4 was new there was debate about supporting atomic rename() without fsync(); see https://lwn.net/Articles/322823/ https://lwn.net/Articles/322823/