summaryrefslogtreecommitdiffstats
path: root/super1.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Make homehost information appear in superblock.Neil Brown2006-05-191-4/+18
| | | | | | | | When an array is created, if the homehost is know, the superblock gets it, either in the uuid, (via sha1) or in the name field. Signed-off-by: Neil Brown <neilb@suse.de>
* Just updaqte copyright dates and email addressNeil Brown2006-05-191-1/+1
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* When updating uuid, update the bitmap as well - internal bitmaps.Neil Brown2006-05-161-7/+46
| | | | | | | Otherwise when you "--update==uuid" an array with an internal bitmap, it will break, badly. Signed-off-by: Neil Brown <neilb@suse.de>
* Support new offset layout for raid10Neil Brown2006-05-151-3/+6
| | | | | | Requires 2.6.18. Signed-off-by: Neil Brown <neilb@suse.de>
* [PATCH] Make sure update_super returns correct value.Neil Brown2006-04-281-0/+7
| | | | | | | | | | | | | | | | For 'force' and 'assemble', update_super must return true if anything was changed. Also fix a bug with wonly handling in super0. Signed-off-by: Neil Brown <neilb@suse.de> ### Diffstat output ./super0.c | 18 ++++++++++++++---- ./super1.c | 7 +++++++ 2 files changed, 21 insertions(+), 4 deletions(-) diff ./super0.c~current~ ./super0.c
* Fix alignment problem in version-1 superblocks.Neil Brown2006-04-071-1/+1
| | | | | | | | NOTE: This is an incompatable change affecting raid5 reshape. If you want to reshape a raid5 using version-1 superblocks, use 2.6.17-rc2 or later, and mdadm-2.4.1 or later. Signed-off-by: Neil Brown <neilb@suse.de>
* Add information about reshape to --detailNeil Brown2006-03-281-2/+2
| | | | | | Also fix problems with dev names and symlinks Signed-off-by: Neil Brown <neilb@suse.de>
* Remove ident arg from getinfo_super;Neil Brown2006-03-271-3/+3
| | | | | | Add a 'name' field to 'info' to compensate. Signed-off-by: Neil Brown <neilb@suse.de>
* Support restarting of a reshape on --assembleNeil Brown2006-03-201-0/+17
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Release some compile fixes.Neil Brown2006-02-061-10/+12
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Some little bits and pieces...Neil Brown2006-02-021-3/+3
| | | | | | I'm obviously bored of writing changelog entries. Signed-off-by: Neil Brown <neilb@suse.de>
* Prefer version-1 superblocks for v.large devices.Neil Brown2006-01-311-1/+2
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Stuff like..Neil Brown2006-01-301-8/+10
| | | | | | | | | - report Intent Bitmap in --detail - report internal bitmap in --examine - pass' --force through to --grow --bitmap - support v.large arrays in --grow --bitmap Signed-off-by: Neil Brown <neilb@suse.de>
* Report bitmap offset when examining v1 superblock.Neil Brown2006-01-301-1/+5
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Work towards allowing larger internal bitmaps in version1 superblocks.Neil Brown2006-01-301-6/+30
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Have --examine report reshape details.Neil Brown2006-01-271-6/+59
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Enable support for v.large raid1.Neil Brown2006-01-271-27/+50
| | | | | | | clean up 'long long' usage for size of array, so that with v-1 superblocks a raid1 larger than 2TB is possible. Signed-off-by: Neil Brown <neilb@suse.de>
* Minor fixesNeil Brown2006-01-271-1/+1
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Assorted fixes...Neil Brown2006-01-271-1/+1
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* uhm.. assort fixes, particularly for recovery offset...Neil Brown2005-12-161-0/+14
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Support updating of uuid during --assemble.Neil Brown2005-12-051-0/+2
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Support bitmaps with raid10Neil Brown2005-11-221-5/+4
| | | | | | And a couple of other little things Signed-off-by: Neil Brown <neilb@suse.de>
* Create version-4 bitmaps if kernel supports it.Neil Brown2005-10-111-2/+2
| | | | | | | Version-3 bitmaps are host-endian. Version-4 are little-endian and so more portable. Signed-off-by: Neil Brown <neilb@suse.de>
* Release 2-0Neil Brown2005-09-121-7/+9
| | | | | | With little fix for -O2 compile Signed-off-by: Neil Brown <neilb@suse.de>
* Fix byteordr covnerion ofr 'events' that was '32' instead of '64'Neil Brown2005-09-121-1/+1
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Fix remaining problems with hot-add bitmap to version-1 superblockNeil Brown2005-09-121-5/+10
| | | | | | Also some more tests - r5 and r6 bitmaps Signed-off-by: Neil Brown <neilb@suse.de>
* Fix assembling of raid10 in the face of missing devices.Neil Brown2005-09-121-0/+6
| | | | | | | We now check if enough devices are present properly, so --force can be used to good effect. Signed-off-by: Neil Brown <neilb@suse.de>
* Passes all tests, nearly ready for release.Neil Brown2005-08-261-74/+43
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Getting ready for 2.0 release...Neil Brown2005-08-261-2/+0
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Support internal bitmaps with format-1 superblocks.Neil Brown2005-08-251-26/+190
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Support nameing of version-1 arrays.Neil Brown2005-08-091-3/+12
| | | | | | | --name is recognised in --create and --assemble name= is recognised in config file. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Add write-behind supportNeil Brown2005-08-091-2/+12
| | | | | | | | Currently this includes --write-behind to set level of write-behind supported --write-mostly to flag devices as write-mostly. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Assorted Fixes for multiple bugs.Neil Brown2005-08-041-1/+6
| | | | | | | Assemble would crash, or just not work. A few other problem found by a new test-suite. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Document this...Neil Brown2005-07-181-2/+2
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Fix compiling of mdassembleNeil Brown2005-06-141-1/+5
| | | | | | (again). Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* StuffNeil Brown2006-04-171-12/+9
| | | | | | Description... Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Make '-x nnn' spares work for type-1 superblocks.Neil Brown2005-06-071-1/+1
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Make --zero-superblock work for version 1 superblocks.Neil Brown2005-06-071-4/+42
| | | | | | This requires passing the supertype to store_super Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Fix type - MD_SB_CLEAN is a bit number, not a bitmask.Neil Brown2005-06-071-1/+1
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Increase max-devs on type-1 superblocksNeil Brown2005-06-071-1/+3
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Make sure to seed the random number generator for uuidsNeil Brown2005-06-071-4/+9
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Use ADD_NEW_DISK to hot-add to non-version-0 arraysNeil Brown2005-06-071-2/+16
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Change "dirty" status to "active"Neil Brown2005-06-071-0/+1
| | | | | | Description... Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Release 1.8.1 after some man page updates and other fixes.mdadm-1.11.1Neil Brown2005-06-071-7/+28
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* Only in mdadm-inter/: ANNOUNCE-2.0-devel-1Neil Brown2006-04-171-2/+7
| | | | | | | | | | | Only in mdadm-inter/: ANNOUNCE-2.0-devel-2 Only in mdadm-inter/: Create.c.orig Only in mdadm-inter/: bitmap.c Only in mdadm-inter/: bitmap.h Only in mdadm-inter/: mdassemble.8 Only in mdadm-inter/: mkd1 diff -ru mdadm-pre/mdadm-1.11.0/super1.c mdadm-inter/super1.c Signed-off-by: Neil Brown <neilb@suse.de>
* super1Neil Brown2005-05-031-0/+720
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Fix raid5 creation with new code. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>