From: Christophe Saout <christophe@saout.de>
To: Jens Axboe <axboe@suse.de>
Cc: Alasdair G Kergon <agk@redhat.com>, Andrew Morton <akpm@osdl.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] 5/5: Device-mapper: dm-zero
Date: Wed, 02 Jun 2004 18:26:11 +0200 [thread overview]
Message-ID: <1086193571.4659.7.camel@leto.cs.pocnet.net> (raw)
In-Reply-To: <1086193026.4659.3.camel@leto.cs.pocnet.net>
[-- Attachment #1: Type: text/plain, Size: 561 bytes --]
Am Mi, den 02.06.2004 um 18:17 Uhr +0200 schrieb Christophe Saout:
> What does this & PAGE_MASK do? This looks wrong too.
Sorry, please forget this.
--- linux.orig/drivers/md/dm-zero.c 2004-06-02 18:24:38.231186664 +0200
+++ linux/drivers/ms/dm-zero.c 2004-06-02 18:24:55.645539280 +0200
@@ -35,7 +35,8 @@
bio_for_each_segment(bv, bio, i) {
char *data = bvec_kmap_irq(bv, &flags);
memset(data, 0, bv->bv_len);
- bvec_kunmap_irq(bv, &flags);
+ flush_dcache_page(bv->bv_page);
+ bvec_kunmap_irq(data, &flags);
}
}
[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-06-02 16:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-02 15:46 Alasdair G Kergon
2004-06-02 16:02 ` Christophe Saout
2004-06-02 16:09 ` Jens Axboe
2004-06-02 16:17 ` Christophe Saout
2004-06-02 16:26 ` Christophe Saout [this message]
2004-06-02 19:27 ` Jens Axboe
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=1086193571.4659.7.camel@leto.cs.pocnet.net \
--to=christophe@saout.de \
--cc=agk@redhat.com \
--cc=akpm@osdl.org \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®