On Fri, Jan 06, 2012 at 07:04:56PM -0200, ext Thiago Macieira wrote: > Moreover, filesystems on Linux (at least) are tuned so that, if the renaming > is > recorded, the data was too. There was an issue with early ext4 that those > were > not synchronised: the writing of the rename happened up to 30 seconds before > the writing of the file's data. That meant a crash in that rather large > window > of time would leave the file empty upon reboot. > don't be too optimistic here. xfs still didn't fix that issue according to my latest knowledge. ext4 is the only one i know to be good. i think btrfs inherited that safety, too. ext3 (in ordered data mode) and reiser3 are safe, too. dunno about other file systems and operating systems - posix doesn't requite being sane. that's why in kde we still pay attention to $KDE_EXTRA_FSYNC (or whatever we called it) which explicitly calls fdatasync() before closing the temp file. _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
- Re: [Development] QFile: writing via a tem... Craig.Scott
- Re: [Development] QFile: writing via a... David Faure
- Re: [Development] QFile: writing v... Craig.Scott
- Re: [Development] QFile: writ... Eirik Aavitsland
- Re: [Development] QFile: writing v... Artur Souza (MoRpHeUz)
- Re: [Development] QFile: writ... David Faure
- Re: [Development] QFile: ... Artur Souza (MoRpHeUz)
- Re: [Development] QFile: ... David Faure
- Re: [Development] QFile: ... Artur Souza (MoRpHeUz)
- Re: [Development] QFile: ... Thiago Macieira
- Re: [Development] QFile: ... Oswald Buddenhagen
- Re: [Development] QFile: writing via a temporary fi... Thiago Macieira
- Re: [Development] QFile: writing via a tempora... Oswald Buddenhagen
- Re: [Development] QFile: writing via a tem... shane.kearns
- Re: [Development] QFile: writing via a... Oswald Buddenhagen
- Re: [Development] QFile: writing via a tempora... David Faure
- Re: [Development] QFile: writing via a tem... Thiago Macieira
- Re: [Development] QFile: writing via a... David Faure
- Re: [Development] QFile: writing v... Robin Burchell
- Re: [Development] QFile: writing v... Thiago Macieira
- Re: [Development] QFile: writ... Stephen Kelly