2 ms·
Since it's a debug log from the kernel, it makes sense to take the time to make sure it gets all the way to the disk. For many other purposes, it's fine to be q
by exDM69 11y ago
Since it's a debug log from the kernel, it makes sense to take the time to make sure it gets all the way to the disk. For many other purposes, it's fine to be quick and just do the best effort. But the kernel log is a vital resource for doing post mortem analysis if everything goes wrong and the kernel panics.
It's better to be slow than unreliable in this case.
- TheLoneWolfling 11y agoExcept that it's relatively simple to make an append-only file both quick to write and reliable on flash... It seems that both the file system and flash controller punt the relatively common (and relatively simple) case of a file being repeatedly appended to by small amounts.