summaryrefslogtreecommitdiffstats
path: root/tests/02lineargrow
Commit message (Collapse)AuthorAgeFilesLines
* tests: adjust sizes for new defaultsNeilBrown2010-03-101-2/+3
| | | | | | | Default metadata type is now 1.2, and we sometimes add extra alignment before the data section, so adjust tests for these changes. Signed-off-by: NeilBrown <neilb@suse.de>
* Change default metadata from 0.90 to 1.1NeilBrown2009-11-171-2/+2
| | | | | | | | | 1.1 is more flexible in a number of ways and is safer. 0.90 is still fully supported. 1.0 should possibly be used for RAID1 arrays that you want to boot off, depending on your boot loader. Signed-off-by: NeilBrown <neilb@suse.de>
* Increase default chunk size to 512KNeilBrown2009-11-171-3/+3
| | | | | | | | | | | This seems more appropriate for current (and recent) model drives than 64K. 64K is still the default for '--build' as changing that could corrupt data. 64K is also the default rounding for 'linear' on kernels older than 2.6.16. Signed-off-by: NeilBrown <neilb@suse.de>
* Update tests and add linear-addNeil Brown2007-05-211-0/+22
| | | | | | Update the testing scripts to allow for new space calculations for space for bitmaps. Add a test script for adding devices to linear arrays.
* Fix handling of negative bitmap offsets on 64bit hosts.Neil Brown2007-05-211-0/+0
The bitmap offset is a signed 32bit number, so casting to (long) isn't sufficient. We must cast to (int32_t).