aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-12-14 12:49:54 +1100
committerNeilBrown <neilb@suse.de>2009-12-14 12:51:41 +1100
commitf6af949c5672115313cc3c976d85b0533f607d7e (patch)
tree6d00471bd4ee7c3aee67f9ad4c0a3023109b88e0 /drivers/md/md.c
parentmd: remove needless setting of thread->timeout in raid10_quiesce (diff)
downloadlinux-dev-f6af949c5672115313cc3c976d85b0533f607d7e.tar.xz
linux-dev-f6af949c5672115313cc3c976d85b0533f607d7e.zip
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>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions