Neil Brown e4c8b3ba34 [PATCH] dm: mirror sector offset fix
The device-mapper core does not perform any remapping of bios before passing
them to the targets.  If a particular mapping begins part-way into a device,
targets obtain the sector relative to the start of the mapping by subtracting
ti->begin.

The dm-raid1 target didn't do this everywhere: this patch fixes it, taking
care to subtract ti->begin exactly once for each bio.

[akpm: too late for 2.6.17 - suitable for 2.6.17.x after it has settled]

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 09:58:35 -07:00
..
2006-06-20 01:21:29 -07:00
2006-06-26 09:58:17 -07:00
2006-06-25 10:01:16 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 08:47:27 -07:00
2006-06-17 21:25:58 -07:00
2006-05-03 20:05:41 -07:00
2006-06-20 01:21:29 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:35 -07:00
2006-06-26 09:58:18 -07:00
2006-06-19 13:06:05 +01:00
2006-06-26 09:58:19 -07:00
2006-06-19 15:37:31 +01:00
2006-06-25 10:01:14 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-23 07:43:06 -07:00
2006-06-17 21:18:43 -07:00