[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200908290247.n7T2lO7t030695@demeter.kernel.org>
Date: Sat, 29 Aug 2009 02:47:24 GMT
From: bugzilla-daemon@...zilla.kernel.org
To: linux-ext4@...r.kernel.org
Subject: [Bug 13964] ext4: panic causes lost data in git
http://bugzilla.kernel.org/show_bug.cgi?id=13964
Theodore Tso <tytso@....edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tytso@....edu
--- Comment #3 from Theodore Tso <tytso@....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.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists