summaryrefslogtreecommitdiffstats
path: root/Incremental.c
Commit message (Collapse)AuthorAgeFilesLines
* Make device-special files for partitions when using --incrementalNeil Brown2008-05-051-2/+3
|
* Unify code into find_free_devnum.Neil Brown2008-05-051-10/+5
| | | | | Two places have code to find a free md device number. Make this a subroutine.
* Fix for segfault when reading /proc/mdstatNeil Brown2008-04-281-0/+1
| | | | | | | | | Some kernel versions don't put a space between 'active' and '(auto-read-only)' in /proc/mdstat. This causes a parsing problem leaving 'level' set to NULL which causes a crash. So synthesise a space there if it is missing, and check for 'level' to be NULL and don't de-ref if it is.
* Replace sysarray with mdinfoNeil Brown2007-12-141-11/+12
| | | | | Sure, mdinfo is bigger, but having a uniform structure for lots of things will make life easier.
* Use 'mdinfo' instead of special 'sysdev' structure.Neil Brown2007-12-141-10/+11
| | | | | there is needless duplicatiion between mdinfo and sysdev, so discard the latter.
* Drop the superblock arg from all metadata methods.Neil Brown2007-12-141-32/+21
| | | | It is now in the 'supertype'
* Add 'supertype' arg to almost all metadata methods.Neil Brown2007-12-141-13/+13
| | | | The 'superblock' will be moved into this structure soon.
* Allow metadata handlers to free their own superblock.Neil Brown2007-12-141-6/+6
| | | | | | As the metadata handler allocates the superblock, it should free it too. DDF will have a more complex 'superblock' which needs more complex freeing.
* Release 2.6mdadm-2.6Neil Brown2006-12-211-0/+1
|
* Add new mode: --incrementalNeil Brown2006-12-211-0/+721
--incremental allows arrays to be assembled one device at a time. This is expected to be used with udev.