All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Christophe Saout <christophe@saout.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, 2 Jun 2004 21:27:54 +0200	[thread overview]
Message-ID: <20040602192753.GA2401@suse.de> (raw)
In-Reply-To: <1086193571.4659.7.camel@leto.cs.pocnet.net>

On Wed, Jun 02 2004, Christophe Saout wrote:
> 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);
>   	}
>   }

That looks good.


-- 
Jens Axboe


      reply	other threads:[~2004-06-02 19:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-02 15:46 [PATCH] 5/5: Device-mapper: dm-zero 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
2004-06-02 19:27         ` Jens Axboe [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=20040602192753.GA2401@suse.de \
    --to=axboe@suse.de \
    --cc=agk@redhat.com \
    --cc=akpm@osdl.org \
    --cc=christophe@saout.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.