summaryrefslogtreecommitdiffstats
path: root/tests/05r1-grow-external
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-05-21 14:25:37 +1000
committerNeil Brown <neilb@suse.de>2007-05-21 14:25:37 +1000
commitf752781f81a68588d0225cf8e3d96eeb6867b245 (patch)
tree5ab20970f51fdc52017a6fcb95fe5f05d720fbb5 /tests/05r1-grow-external
parent68754bd17c81377091e509367e8d0cf9c80369a5 (diff)
downloadmdadm-f752781f81a68588d0225cf8e3d96eeb6867b245.tar.gz
mdadm-f752781f81a68588d0225cf8e3d96eeb6867b245.tar.xz
mdadm-f752781f81a68588d0225cf8e3d96eeb6867b245.zip
Fix --grow --add for linear arrays.
The new superblock needs to have a new disk.number. This is a bit of a hack... Fix handling of negative bitmap offsets on 64bit hosts. The bitmap offset is a signed 32bit number, so casting to (long) isn't sufficient. We must cast to (int32_t). Fix various problems with --grow --add for linear. The code to add a drive to a live linear array had never been tested properly and so was buggy. This tidies it up and means that the new regression-test passes.
Diffstat (limited to 'tests/05r1-grow-external')
0 files changed, 0 insertions, 0 deletions