public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Dmitry Monakhov <dmonlist@gmail.com>
Cc: Omar Sandoval <osandov@osandov.com>,
	linux-block@vger.kernel.org, kernel-team@fb.com
Subject: Re: Announcing blktests
Date: Mon, 15 May 2017 08:30:10 -0700	[thread overview]
Message-ID: <20170515153010.GA30173@infradead.org> (raw)
In-Reply-To: <87h90m71xb.fsf@dmlp.sw.ru>

On Mon, May 15, 2017 at 03:13:52PM +0300, Dmitry Monakhov wrote:
> Observation #2
> It is appeared that git tree was corrupted after crash  :) Defenitely fsync is missed
> somewhere in git-core, I've straced it and found 'git clone' does only
> two fsync for tmp-pack-xxx files. It seems git's crash consistency is horrably broken.

You'll need to add

[core]
	fsyncobjectfiles = yes

to .gitconfig to make git not play lose with data integrity

  reply	other threads:[~2017-05-15 15:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-12 18:49 Announcing blktests Omar Sandoval
2017-05-15  7:44 ` Johannes Thumshirn
2017-05-15 17:30   ` Omar Sandoval
2017-05-15 12:13 ` Dmitry Monakhov
2017-05-15 15:30   ` Christoph Hellwig [this message]
2017-05-15 17:35   ` Omar Sandoval

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170515153010.GA30173@infradead.org \
    --to=hch@infradead.org \
    --cc=dmonlist@gmail.com \
    --cc=kernel-team@fb.com \
    --cc=linux-block@vger.kernel.org \
    --cc=osandov@osandov.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox