[Bug 445592] Re: Transmission Ext4 / data loss?

John Dong jdong at johndong.com
Thu Oct 8 15:05:32 BST 2009


No, that's likely not the case either. You lost data because it is in
the writeback cache which hadn't been flushed to disk. Whether or not
you fallocate(), the writeback cache is still used.

To bypass that, you either flush to disk more often as a whole on your
system, or have Transmission open its output file with O_SYNC.

I wouldn't consider transmission downloads to be critical enough (unlike
say saving an OpenOffice document) to deserve O_SYNC but if losing 100MB
of in-transit data is a big deal for you, then you should definitely
tune your VM subsystem to flush the writeback cache way more often.

-- 
Transmission Ext4 / data loss?
https://bugs.launchpad.net/bugs/445592
You received this bug notification because you are a member of MOTU-P2P,
which is subscribed to transmission in ubuntu.



More information about the Ubuntu-motu-p2p mailing list