Ts'o: Delayed allocation and the zero-length file problem
Posted Mar 14, 2009 1:10 UTC (Sat) by tialaramex (subscriber, #21167)
[Link]
1. Create 400MB file, allocating as you go, resulting in hundreds of fragements
2. Run defragmenter on file to collect fragments into contiguous areas
is crazy. It's so crazy ext4's default behaviour waits as long as possible to allocate in order to avoid this scenario and causes this "bug" that got Ubuntu testers in such a tizzy. The online defragmenter, if and when it arrives in mainline, is a workaround not a fix, you don't to make it part of your daily routine, so most likely what you'll actually do is live with the reduced performance, all so that some utility developers can avoid writing a few lines of code.
Ts'o: Delayed allocation and the zero-length file problem
Posted Mar 14, 2009 1:40 UTC (Sat) by MisterIO (guest, #36192)
[Link]
Coudln't it be run as a cron job on the whole fs, daily for example?