diff options
author | NeilBrown <neilb@suse.de> | 2010-07-07 21:09:23 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-07-07 21:31:33 +1000 |
commit | 50526e9090d0c118b065840719bc9601be8af8b8 (patch) | |
tree | cfc8f8af64759242fd7acea1e461e88bc1811bd7 /Incremental.c | |
parent | 3d5279b0534a8d9e95681a0e495b000691a2582b (diff) | |
download | mdadm-50526e9090d0c118b065840719bc9601be8af8b8.tar.gz mdadm-50526e9090d0c118b065840719bc9601be8af8b8.tar.xz mdadm-50526e9090d0c118b065840719bc9601be8af8b8.zip |
super-0.90: don't write bitmap larger than 60K
The 4K superblock can be as close as 64K from the end
of the device. As the bitmap (with header) lives after
the superblock (with 0.90 metadata) there could be as
little as 60K of space.
So limit the bitmaps to 59.5K, and only write 60K including
the header.
The bug fixed here means that bitmaps cannot be created
on devices which are exact multiples of 64K in size
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Incremental.c')
0 files changed, 0 insertions, 0 deletions