Re: [PATCH] 1/5: Device-mapper dm-io.c
From: Kevin Corry
Date: Wed Jun 02 2004 - 11:42:42 EST
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@xxxxxxxxxx
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);
}
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/