(snipped the parts already commented on in the other mails just sent) On 03/17/2011 06:19 PM, Josef Bacik wrote: > On Thu, Mar 17, 2011 at 03:46:43PM +0100, Jan Schmidt wrote: >> If either of the answers is "no", tracking where the initial read came >> from seems inevitable. Tracking would be very easy if bios came back >> with unmodified values in bd_bdev and bd_sector, which is not the case. > > Huh? The bios come back with the bi_bdev/bi_sector they were submitted on, how > are you getting something different? Thanks, That's only if you write to the block device directly. If I'm not mistaken, you'll have bi_bdev and bi_sector modified when using bios with partitions to block-device-absolute values. Jan -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html