I have made some "crash tests" of ext2,ext3, ReiserFS and XFS. The
situation with XFS looks strange. I 'll show two cases:
1. Power fail during coping large file - large enough to have time to
turn off power :) size is not important. On other filesystems part of
the file is in place after recover - but NOT on XFS - name is there but
the size is 0.
2. Overwriting file - it is easy to reproduce: open a non empty text
file with mcedit(this editor places all file in memory and complete
overwrites on save), type some text, press F2 to save, press enter to
confirm and in the same time, just after enter press reset. After reboot
the file size is zero and the contents is lost - old contents too. This
hapens only on XFS partition. On other filesystems old contents of the
file is preserved.
I think that it is not normal for a filesystem. Many programs load their
config files in memory and complete rewrite them on save.