Re:Disks lie. And the controllers that run them are partners...
by cobalt on Friday November 17, 2023 @04:14AM
(#38301222)
file systems already do journaling and a bunch of other fancy techniques. Drives themselves then have their own versions in addition to that
Additionally, apps can do whatever they want in custom partitions if they need better storage perf (databases for example do this). Getting lower level than that is probably doable, but you run the risk of becoming firmware that is tied to particular drive controller design
Remember that computer storage technology is over 70 years old, many many things have been tried/implemented in that time.
Re:Disks lie. And the controllers that run them are partners...
by josephg on Friday November 17, 2023 @04:26AM
(#38301301)
File systems only do journaling for their own metadata.
Has this been tried? It seems like an obvious idea to me, but operating systems have evolved remarkably little in the last few decades. Especially the filesystem.
We could start with a nice implementation in the OS. Probably with a way for applications to opt in and out. And then optimize over time. Optimizations could include better integration with the way NVMe devices actually work, rather than the way they pretend to work to the rest of your computer.