[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] Re: [PATCH] disable barriers in dm-crypt [was Re: BUG: Files corrupt after moving LVM volume to USB disk]
- From: "Marti Raudsepp" <marti juffo org>
- To: "Milan Broz" <mbroz redhat com>
- Cc: Christophe Saout <christophe saout de>, Kernel hackers <linux-kernel vger kernel org>, device-mapper development <dm-devel redhat com>, Lennart Sorensen <lsorense csclub uwaterloo ca>, Andrew Morton <akpm linux-foundation org>, Alasdair G Kergon <agk redhat com>
- Subject: [dm-devel] Re: [PATCH] disable barriers in dm-crypt [was Re: BUG: Files corrupt after moving LVM volume to USB disk]
- Date: Mon, 26 Mar 2007 00:05:29 -0000
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]