summaryrefslogtreecommitdiffstats
path: root/super0.c
AgeCommit message (Expand)AuthorFilesLines
2023-01-04Change update to enum in update_super and update_subarrayMateusz Kusiak1-5/+4
2023-01-04super0: refactor the code for enumMateusz Kusiak1-39/+63
2022-09-29mdadm: replace container level checking with inlineKinga Tanska1-1/+1
2022-06-24mdadm: block update=ppl for non raid456 levelsLukasz Florczak1-1/+1
2022-04-04mdadm: add map_num_s()Mariusz Tkaczyk1-1/+1
2021-03-08imsm: add verbose flag to compare_superMariusz Tkaczyk1-1/+2
2019-12-02Create: add support for RAID0 layouts.NeilBrown1-0/+6
2019-12-02imsm: return correct uuid for volume in detailBlazej Kucman1-2/+2
2018-05-31super0: Use memmove() when adjusting sparc2.2 superblock dataJes Sorensen1-3/+4
2017-05-16mdadm: Fixup != broken formattingJes Sorensen1-4/+4
2017-04-11Retire mdassembleJes Sorensen1-11/+0
2017-03-29Detail: show consistency policyArtur Paszkiewicz1-2/+2
2017-03-29Generic support for --consistency-policy and PPLArtur Paszkiewicz1-4/+4
2017-03-17mdadm: Specify enough length when write to bufferXiao Ni1-1/+1
2016-11-28Add failfast support.NeilBrown1-4/+8
2016-08-15super0: Clean up formatting in examine_super0()Jes Sorensen1-39/+62
2016-08-15super0: Fix spelling of 'version' in comment and fix formattingJes Sorensen1-8/+6
2016-08-15super0: Use random_uuid() in init_super0()Jes Sorensen1-10/+6
2016-05-12mdadm: Make add_internal_bitmap() return 0 on successJes Sorensen1-2/+2
2016-03-07Fix wrong bitmap output for cluster raidGuoqing Jiang1-1/+1
2016-01-28super0: Fix reporting of devices between 2GB and 4GBNeilBrown1-1/+2
2015-12-16mdadm: do not display bitmap info if it is clearedGuoqing Jiang1-3/+4
2015-06-17mdadm: add the ability to change cluster nameGuoqing Jiang1-2/+2
2015-02-12Don't break long strings onto multiple lines.NeilBrown1-2/+1
2015-02-12Consistently print program Name and __func__ in debug messages.NeilBrown1-3/+3
2014-08-07super: make sure to ignore disk state flags that we don't understand.NeilBrown1-4/+3
2013-07-30Manage: remove call to validate_geometry.NeilBrown1-1/+1
2013-07-24super0/1: fix typo in error messages.NeilBrown1-1/+1
2013-07-02revert-reshape: only impose reshape_position tests on raid[456]NeilBrown1-2/+3
2013-06-27revert-reshape: make sure reshape_position is acceptable.NeilBrown1-0/+9
2013-06-19Remove lots of unnecessary white space.NeilBrown1-7/+2
2013-06-19super0: set uninitialized variable.NeilBrown1-1/+1
2013-05-28Assemble: allow --update=revert-reshapeNeilBrown1-0/+22
2013-05-28Assemble: --update=metadata converts v0.90 to v1.0NeilBrown1-0/+39
2013-05-21Change some "fprintf(stderr,"s to pr_err.NeilBrown1-1/+1
2013-05-16Add --dump / --restore functionality.NeilBrown1-1/+46
2013-02-21Discard devnum in favour of devnmNeilBrown1-1/+1
2013-02-10make --update=homehost work againNeilBrown1-6/+12
2013-02-05Avoid using BLKFLSBUF.NeilBrown1-2/+0
2012-10-23super0: allow creation of array on 2TB+ devices.NeilBrown1-2/+2
2012-10-22Trivial bugfix and spelling fixes.Michael Tokarev1-1/+1
2012-10-22mdadm: super0: do not override uuid with homehostMichael Tokarev1-1/+1
2012-10-04Allow data-offset to be specified per-device for createNeilBrown1-1/+1
2012-10-04Add data_offset arg to ->init_super and use it in super1.cNeilBrown1-1/+6
2012-10-04Add data_offset arg to ->validate_geometry.NeilBrown1-0/+1
2012-10-04Add data_offset arg to ->avail_sizeNeilBrown1-1/+4
2012-07-09Convert 'quiet' to 'not verbose' in various places.NeilBrown1-1/+1
2012-07-09Remove scattered checks for malloc success.NeilBrown1-5/+3
2012-07-09Introduce pr_err for printing error messages.NeilBrown1-24/+20
2012-03-22Examine: fix array size calculation for RAID10.NeilBrown1-5/+9
2012-03-21match_metadata_desc0(): Use calloc instead of malloc+memsetJes Sorensen1-3/+3
2012-02-16Use posix_memalign() for memory used to write bitmapsJes Sorensen1-3/+5
2011-12-23Grow/bitmap: support adding bitmap via sysfs.NeilBrown1-0/+3
2011-10-20super0: fix overflow when checking max size.NeilBrown1-1/+1
2011-10-05Add recovery blocked field to mdinfoAdam Kwolek1-0/+2
2011-09-19Fix readding of a readwrite drive into a writemostly arrayDoug Ledford1-0/+6
2011-09-08Fix component size checks in validate_super0.NeilBrown1-4/+10
2011-06-17Fix some type-aliasing issues.Luca Berra1-2/+6
2011-06-08getinfo_super now clears the 'info' structure before filling it in.NeilBrown1-0/+1
2011-05-10config: restore the possibility of a NULL homehostNeilBrown1-1/+1
2011-03-10Merge branch 'master' into devel-3.2NeilBrown1-0/+14
2011-03-10Assemble: add --update=no-bitmapNeilBrown1-2/+5
2011-03-09Fix chunksize defaulting.NeilBrown1-3/+3
2011-02-22set default chunk in validate_geometryCzarnowska, Anna1-1/+4
2011-02-21Teach --assemble --force to handle reshapes a little better.NeilBrown1-0/+14
2011-01-25Don't close fds in write_init_superNeilBrown1-2/+7
2010-11-30Assemble: add --update=no-bitmapNeilBrown1-2/+5
2010-11-22Create: user container_dev rather than subarray for some tests.NeilBrown1-0/+1
2010-11-22Remove subarray detection from load_super.NeilBrown1-3/+0
2010-11-22Add subarray arg to container_content.NeilBrown1-0/+12
2010-11-22get_info_super: report which other devices are thought to be working/failed.NeilBrown1-2/+7
2010-11-22Report error in --update string is not recognised.NeilBrown1-22/+13
2010-08-05Compile with -Wextra by defaultNeilBrown1-5/+5
2010-07-22Don't report Used Dev Size for RAID0.NeilBrown1-1/+1
2010-07-07super-0.90: don't write bitmap larger than 60KNeilBrown1-2/+2
2010-05-31Compile-time switch to enable 0.9 metadata as defaultmartin f. krafft1-0/+3
2010-05-31Revert change to handling of -empty-string- metadata.NeilBrown1-1/+2
2010-02-04Assemble: fix --force assembly of v1.x arrays which are recovering.NeilBrown1-0/+1
2009-11-24Various fixes for --killNeilBrown1-2/+2
2009-11-17Improve error messages when metadata handler does not support request.NeilBrown1-3/+13
2009-11-17Set default bitmap-chunksize for internal bitmaps to at least 64MegNeilBrown1-2/+7
2009-11-17Change default metadata from 0.90 to 1.1NeilBrown1-3/+1
2009-11-17Assemble/super0: allow non-in-sync devices to be assembled without complaint.NeilBrown1-1/+8
2009-10-16Handle negative delta_disks in super0 and super1.NeilBrown1-5/+7
2009-10-01Merge branch 'master' into devel-3.1NeilBrown1-10/+9
2009-09-25super0: fix crash on assemble if homehost is not set.NeilBrown1-3/+7
2009-08-13Grow: support restart of new migrations.NeilBrown1-1/+1
2009-07-14Examine/Detail: report raid6 layoutNeilBrown1-0/+8
2009-06-02Update copyright dates and remove references to @cse.unsw.edu.auNeilBrown1-7/+2
2009-05-11Make --brief even briefer.NeilBrown1-6/+10
2009-03-09super0: Do all metadata IO with 4096byte alignmentNeilBrown1-11/+14
2008-12-18Merge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/md...NeilBrown1-0/+1
2008-12-08introduce --detail-platform to display platform raid capabilitiesDan Williams1-0/+1
2008-12-04Change 'size' argument to validate_geometry to be sectors, not KNeilBrown1-2/+2
2008-11-27allow add_to_super to return errorsDan Williams1-1/+3
2008-10-30Merge branch 'master' into devel-3.0NeilBrown1-1/+1
2008-10-30Fix bad metadata formattingDoug Ledford1-1/+4
2008-10-17Merge branch 'master' into devel-3.0NeilBrown1-4/+3
2008-10-15trivial warn_unused_result squashingDan Williams1-4/+16
2008-10-13Improve reporting of layout for raid10.NeilBrown1-4/+3
2008-09-18Use common code to report MD_UUID for --detail --exportNeilBrown1-13/+0
2008-09-18Ignore leading zeros in version number information.NeilBrown1-0/+3
2008-09-18Compile fixes, particularly moving more stuff under MDASSEMBLENeilBrown1-2/+7
2008-09-15Allow metadata handlers to communicate desired safemode delay via mdinfoDan Williams1-0/+1
2008-07-12Pass 'verbose' flag to validate_geometryNeil Brown1-3/+6
2008-07-12Use O_DIRECT for all IO to devices.Neil Brown1-15/+18
2008-07-12Make super super0.c function static.Neil Brown1-3/+3
2008-07-12Remove silly convention that major='-1' means 'zero superblock'.Neil Brown1-1/+1
2008-07-12Remove getinfo_super_n and do some other cleaning up.Neil Brown1-1/+3
2008-07-12Add subarray field to supertype.Neil Brown1-0/+3
2008-07-12Remove 'major' from superswitch.Neil Brown1-1/+0
2008-07-12Use text_version in map_file rather than major.minor.Neil Brown1-0/+2
2008-07-12Fix write_init_super usage when hot-adding a spareNeil Brown1-0/+2
2008-07-12Always initialise a struct super_type to zeroNeil Brown1-0/+1
2008-06-19Merge branch 'master' into devel-3.0Neil Brown1-1/+4
2008-06-19Fix an error when assembling arrays that are in the middle of a reshape.Neil Brown1-1/+4
2008-05-15Change write_init_super to be called only once.Neil Brown1-19/+46
2008-05-15Add 'container' level and ->validate_geometry method.Neil Brown1-0/+38
2008-05-15Fix support for --update=swapsuperNeil Brown1-1/+2
2008-05-15Recent change broken handling of metadata-less arrays.Neil Brown1-1/+2
2008-05-06add --export option to --examineKay Sievers1-2/+22
2008-04-28Small improvements to --incremental for arrays that are in the middle of reshapeNeil Brown1-1/+2
2008-04-28Print 'Events' more sensibly.Neil Brown1-1/+3
2007-12-14Drop the superblock arg from all metadata methods.Neil Brown1-45/+49
2007-12-14Fix compare_super to take supertype instead of a superblock.Neil Brown1-5/+8
2007-12-14Add 'supertype' arg to almost all metadata methods.Neil Brown1-17/+18
2007-12-14Allow metadata handlers to free their own superblock.Neil Brown1-0/+7
2007-12-14Remove spaces/tabs from ends of lines.Neil Brown1-7/+7
2007-08-20Fix error message when adding a device that is too small.Neil Brown1-6/+6
2007-05-21Fix --grow --add for linear arrays.Neil Brown1-3/+10
2007-05-08Add --export option to --detail to use key=value pairs.Kay Sievers1-0/+13
2006-12-21Release 2.6mdadm-2.6Neil Brown1-3/+3
2006-12-21Add new mode: --incrementalNeil Brown1-0/+3
2006-12-14Support --uuid= with --create to choose your own UUID.Neil Brown1-11/+18
2006-12-14Central calls to ioctl BLKGETSIZENeil Brown1-46/+14
2006-12-14Change 'Device Size' to 'Used Dev Size'Neil Brown1-1/+2
2006-12-14Give useful message if raid4/5/6 cannot be started because it is not clean an...Neil Brown1-0/+1
2006-12-14Improve allocation and use of space for bitmaps in version1 metadataNeil Brown1-2/+6
2006-12-14Remove some unused interfaces to the metadata handlers.Neil Brown1-17/+0
2006-12-14Make Assemble/Force work on raid6 with 2 missing devices.Neil Brown1-1/+9
2006-10-09Make --examine report chunk size when it shouldNeil Brown1-0/+2
2006-08-11Remove indeterminism from names in --examine --brief output.Neil Brown1-5/+0
2006-06-26Fix a recently introduced bug, and make --assemble more resilient to it.Neil Brown1-1/+1
2006-06-02Remove libssl dependancy and always use sha1.c codeNeil Brown1-20/+22
2006-05-29check return status of all write/fwrite functions as required by glibc 2.4Neil Brown1-1/+2
2006-05-26Make sure everything compiles...Neil Brown1-0/+4
2006-05-26Improve names reported by --examine --briefNeil Brown1-3/+9
2006-05-26Choose better devnumbers and tidy up some issues with finding names.Neil Brown1-1/+3
2006-05-23Allow autoassembly to choose it's own name for the array.Neil Brown1-1/+1
2006-05-23When assembly arrays using incomplete detail, prefer arrays built for this host.Neil Brown1-0/+12
2006-05-23Support --update=homehost to allow updating of homehost information.Neil Brown1-0/+7
2006-05-23Make sure homehost is set correctly when --update=uuidNeil Brown1-1/+9
2006-05-19Include homehost information in --examine as appropriateNeil Brown1-4/+12
2006-05-19Include homehost information in --detail where appropriate.Neil Brown1-1/+8
2006-05-19Make homehost information appear in superblock.Neil Brown1-2/+17
2006-05-19Just updaqte copyright dates and email addressNeil Brown1-1/+1
2006-05-16When updating uuid, update the bitmap as well - internal bitmaps.Neil Brown1-2/+36
2006-05-15Fix problem with sector/KB size confuision for bitmap sizing.Neil Brown1-4/+2
2006-05-15Support new offset layout for raid10Neil Brown1-4/+8
2006-04-28[PATCH] Make sure update_super returns correct value.Neil Brown1-4/+14
2006-03-28Create missing /dev files where needed.Neil Brown1-1/+1
2006-03-27Remove ident arg from getinfo_super;Neil Brown1-2/+2
2006-03-20Support restarting of a reshape on --assembleNeil Brown1-10/+26
2006-02-06Release some compile fixes.Neil Brown1-3/+4
2006-01-27Have --examine report reshape details.Neil Brown1-1/+40
2006-01-27Enable support for v.large raid1.Neil Brown1-2/+4
2006-01-27Minor fixesNeil Brown1-1/+1
2005-12-05Support updating of uuid during --assemble.Neil Brown1-0/+6
2005-11-22Support bitmaps with raid10Neil Brown1-4/+3
2005-10-11Create version-4 bitmaps if kernel supports it.Neil Brown1-2/+2
2005-09-12Fix remaining problems with hot-add bitmap to version-1 superblockNeil Brown1-1/+1
2005-09-12Fix assembling of raid10 in the face of missing devices.Neil Brown1-0/+5
2005-08-26Passes all tests, nearly ready for release.Neil Brown1-28/+9
2005-08-25Support internal bitmaps with format-1 superblocks.Neil Brown1-3/+4
2005-08-15Add 'quite' option and tidy up some tests.Neil Brown1-3/+4
2005-08-09Support nameing of version-1 arrays.Neil Brown1-3/+4
2005-08-09Add write-behind supportNeil Brown1-8/+18
2005-08-09Support fixing of byte-swapped superblocks.Neil Brown1-1/+39
2005-08-04Assorted Fixes for multiple bugs.Neil Brown1-2/+3
2005-07-18Document this...Neil Brown1-0/+1
2005-06-14Fix compiling of mdassembleNeil Brown1-1/+4
2005-06-14Replace sprintf calls with snprintfNeil Brown1-1/+1
2005-06-07Make --zero-superblock work for version 1 superblocks.Neil Brown1-3/+3
2005-06-07Increase max-devs on type-1 superblocksNeil Brown1-0/+2
2005-06-07Assorted fixes for bitmap related stuffNeil Brown1-1/+58
2005-06-07Add support for internal bitmapsNeil Brown1-2/+97
2005-06-07Make sure to seed the random number generator for uuidsNeil Brown1-4/+11
2005-06-07Wasn't initialising spare disks on create.Neil Brown1-0/+1
2005-06-07Release 1.8.1 after some man page updates and other fixes.mdadm-1.11.1Neil Brown1-0/+1
2005-05-03super1Neil Brown1-7/+37
2005-05-03Add a 'super-switch' so that different format superblocks can be used.Neil Brown1-14/+48
2005-05-03Separate sueprblock handling into separate fileNeil Brown1-0/+539