[Bug 13964] ext4: panic causes lost data in git

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

 



http://bugzilla.kernel.org/show_bug.cgi?id=13964


Theodore Tso <tytso@xxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tytso@xxxxxxx




--- Comment #3 from Theodore Tso <tytso@xxxxxxx>  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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux