Re: Ext4 data loss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Callum Lerwick wrote:
On Thu, 2009-03-12 at 22:41 -0400, Michel Salim wrote:
On Thu, Mar 12, 2009 at 10:03 PM, Kevin Kofler <kevin.kofler@xxxxxxxxx> wrote:
Are Ted's patches, that are queued up for 2.6.30, going to be applied to
F-11 (and F-10) 2.6.29 kernels or not? Asking just out of curiosity.
I sure hope they will. This is pretty much a blocker for the KDE spin.

Is there any design document about how KDE persists configuration
files? I have noticed application crashes affecting recently-applied
KDE settings in the past, even on ext3, while GConf settings seem to
be persisted to disk almost immediately.

Is KDE Doing It Wrong?

https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/317781/comments/54

rename() is what I mean by atomic filesystem operations.
I would add that you need to fsync() the directories as well to make sure that the rename survives a power failure. Note that in the worst case without the directory renames, you would still have your old file intact (and a temp file to clean up) so it is not horrible.

Ric

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux