zero size file after power failure with kernel 2.6.30.5

Michael Monnerie michael.monnerie at is.it-management.at
Tue Sep 1 02:18:30 CDT 2009


On Dienstag 01 September 2009 Peter Grandi wrote:
> Then 'mount' with '-o sync'
[snip]

Yes. I could also simply switch back to reiserfs, where I never had this 
kind of issue, despite lots of crashes etc. I'm not here to blame the 
devs, just wanted to report that this kind of problem still exists, and 
maybe someone taps into the problem and can improve it.

There was a similar problem with the change from ext3 to ext4, with a 
big discussion. Ext4 has been improved, I don't know how good it is now.
And I know lots of discussions whether the app or the kernel is wrong, 
and whether you should fsync() after rename(). In ext4 they reorganized 
the way metaupdates are done, maybe that can help xfs too.

It seems kmail writes its config every 7 minutes, so it is vulnerable 
for 3 seconds then. I've set
vm.dirty_expire_centisecs = 1000
now to improve the situation a bit.

mfg zmi
-- 
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20090901/1275de7b/attachment.sig>


More information about the xfs mailing list