On 01/22/2011 07:07 PM, Ben Goodrich wrote:
Pavel Sanda<sanda<at> lyx.org> writes:
most trivial patch would be something like
#ifdef linux
void fixdamnedext4(){fopen(f);fsync(f);fclose(f);}
#endif
and call it somewhere after saving file.
it would need some brave ext4 soul to test that this actually works.
I have ext4 and a 2.6.37 kernel but I am not understanding why I would also need
to have bravery?
Not too much bravery, but the bug involves problems that occur only when
you get an unexpected power failure, so testing involves unplugging your
machine. I suppose one could also do this with a virtual machine?
FYI, Pavel, I also have ext4, on at least one machine.
rh