[Bug 13964] ext4: panic causes lost data in git
From: <hidden>
Date: 2009-08-29 02:47:22
http://bugzilla.kernel.org/show_bug.cgi?id=13964 Theodore Tso [off-list ref] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tytso@mit.edu
--- Comment #3 from Theodore Tso <tytso@mit.edu> 2009-08-29 02:47:23 ---The alloc_on_commit patch had a number of deadlock problems, and I've never had
time to try to work them out.
For now, the recommended solution for git is to put the following in your
.gitconfig file:
[core]
fsyncobjectfiles = yes
This will cause git to force an fsync() when writing object files, which is the
only portable way of guaranteeing the object files will be written after a
crash. This is needed for safety reasons for ext4, xfs, and btrfs filesystems.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.