NeilBrown f6af949c56 md: support bitmap offset appropriate for external-metadata arrays.
For md arrays were metadata is managed externally, the kernel does not
know about a superblock so the superblock offset is 0.
If we want to have a write-intent-bitmap near the end of the
devices of such an array, we should support sector_t sized offset.
We need offset be possibly negative for when the bitmap is before
the metadata, so use loff_t instead.

Also add sanity check that bitmap does not overlap with data.

Signed-off-by: NeilBrown <neilb@suse.de>
2009-12-14 12:51:41 +11:00
..
2006-01-01 22:21:50 +01:00
2009-06-22 10:12:26 +01:00
2009-04-09 00:27:17 +01:00
2009-09-14 08:24:52 +02:00
2009-06-22 10:12:29 +01:00
2009-09-04 20:40:25 +01:00
2007-10-20 02:01:26 +01:00
2009-03-31 14:57:37 +11:00