- Open Source News Forums
- > Possible data loss in Ext4
- > This is an application problem?
This is an application problem? 19 March 2009 20:18
"Ts'o says that the application should be fixed so it does not write
and rewrite small files."
So applications shouldn't count on the filesystem to write files? As
an app programmer, I shouldn't be thinking about the logic of file
system operation. If I need to write and re-write a set of small
files, I should be able to write them. Am I supposed to do my own
caching? Should I check when the last time I wrote a file was? No,
these are all functions of the file system that I shouldn't be
duplicating in my code. I also shouldn't write my code with the
assumption "I can't write and re-write small files, because this
could be ext4". My code shouldn't have any dependencies on the logic
of the current file system. I should be able to read or write
anything I want, and the file system should just work. This is
definitely an ext4 bug.
- Threaded View
- Flat View