public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Corry <kevcorry@us.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: Alasdair G Kergon <agk@redhat.com>, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] 1/5: Device-mapper dm-io.c
Date: Wed, 2 Jun 2004 11:39:22 -0500	[thread overview]
Message-ID: <200406021139.22822.kevcorry@us.ibm.com> (raw)
In-Reply-To: <20040602154017.GN6302@agk.surrey.redhat.com>

On Wednesday 02 June 2004 10:40 am, Alasdair G Kergon wrote:
> dm-io: device-mapper i/o library for kcopyd

Based on the dm-zero.c discussion, dm-io is going to need a similar patch.

Andrew, are these incremental patches okay, or should we resubmit the whole 
patch for these modules?

-- 
Kevin Corry
kevcorry@us.ibm.com
http://evms.sourceforge.net/


--- diff/drivers/md/dm-io.c	2004-06-02 11:35:48.000000000 -0500
+++ source/drivers/md/dm-io.c	2004-06-02 11:34:37.000000000 -0500
@@ -341,7 +341,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);
 	}
 }
 

      reply	other threads:[~2004-06-02 16:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-02 15:40 [PATCH] 1/5: Device-mapper dm-io.c Alasdair G Kergon
2004-06-02 16:39 ` Kevin Corry [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=200406021139.22822.kevcorry@us.ibm.com \
    --to=kevcorry@us.ibm.com \
    --cc=agk@redhat.com \
    --cc=akpm@osdl.org \
    --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