LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Marti Raudsepp" <marti@juffo.org>
To: "Milan Broz" <mbroz@redhat.com>
Cc: "Alasdair G Kergon" <agk@redhat.com>,
	"Lennart Sorensen" <lsorense@csclub.uwaterloo.ca>,
	"device-mapper development" <dm-devel@redhat.com>,
	"Kernel hackers" <linux-kernel@vger.kernel.org>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	"Christophe Saout" <christophe@saout.de>
Subject: Re: [PATCH] disable barriers in dm-crypt [was Re: BUG: Files corrupt after moving LVM volume to USB disk]
Date: Mon, 26 Mar 2007 03:05:19 +0300	[thread overview]
Message-ID: <2a12af650703251705x30a05194je1cfece44b2cf45d@mail.gmail.com> (raw)
In-Reply-To: <4603E806.3030205@redhat.com>

On 3/23/07, Milan Broz <mbroz@redhat.com> wrote:
> Disable barriers in dm-crypt because of current workqueue processing
> can reorder requests.
>
> --- linux-2.6.20.1.orig/drivers/md/dm-crypt.c   2007-03-23 15:07:11.000000000 +0100
> +++ linux-2.6.20.1/drivers/md/dm-crypt.c        2007-03-23 15:09:59.000000000 +0100
> +       if (bio_barrier(bio))
> +               return -EOPNOTSUPP;
> +

Sorry, this doesn't help either. ext3 is still slow, reiserfs still fails.

(And sorry for the double e-mail, I forgot to reply to all)

Marti Raudsepp

      reply	other threads:[~2007-03-26  0:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070322000348.92631512.akpm@linux-foundation.org>
     [not found] ` <20070322153301.GN27600@agk.surrey.redhat.com>
2007-03-23  0:42   ` [dm-devel] Fw: BUG: Files corrupt after moving LVM volume to USB disk Marti Raudsepp
2007-03-23 14:45     ` [PATCH] disable barriers in dm-crypt [was Re: BUG: Files corrupt after moving LVM volume to USB disk] Milan Broz
2007-03-26  0:05       ` Marti Raudsepp [this message]

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=2a12af650703251705x30a05194je1cfece44b2cf45d@mail.gmail.com \
    --to=marti@juffo.org \
    --cc=agk@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=christophe@saout.de \
    --cc=dm-devel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lsorense@csclub.uwaterloo.ca \
    --cc=mbroz@redhat.com \
    --subject='Re: [PATCH] disable barriers in dm-crypt [was Re: BUG: Files corrupt after moving LVM volume to USB disk]' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).