[dm-devel] new stable and unstable dm patchsets for 2.6
Kevin Corry
kevcorry at us.ibm.com
Fri Oct 31 11:48:01 UTC 2003
On Wednesday 29 October 2003 09:25, Joe Thornber wrote:
> New patchsets are available here:
>
> http://people.sistina.com/~thornber/
>
>
> 2.6.0-test9-udm3
> ----------------
>
> Revision 10:
> Set the split io size for the snapshot target.
Looks like I goofed slightly on that patch. By the time ti->split_io is set to
chunk_size, chunk_size has already been modified. Need to use s->chunk_size
instead. Here's a patch to correct it.
--
Kevin Corry
kevcorry at us.ibm.com
http://evms.sourceforge.net/
Use s->chunk_size instead of chunk_size. The latter was modified earlier in
snapshot_ctr.
--- a/drivers/md/dm-snap.c 29 Oct 2003 15:58:59 -0000
+++ b/drivers/md/dm-snap.c 31 Oct 2003 17:37:00 -0000
@@ -527,7 +527,7 @@
}
ti->private = s;
- ti->split_io = chunk_size;
+ ti->split_io = s->chunk_size;
return 0;
bad6:
More information about the dm-devel
mailing list