summaryrefslogtreecommitdiffstats
path: root/Create.c
AgeCommit message (Expand)AuthorFilesLines
2021-07-16Add error handling for chunk size in RAID1Mateusz Grzonka1-3/+2
2021-03-09Create: Block automatic enabling bitmap for external metadataJakub Radtke1-0/+1
2021-03-09Enable bitmap support for external metadataJakub Radtke1-0/+12
2020-11-25Create.c: close mdfd and generate ueventMariusz Tkaczyk1-5/+2
2020-10-14Don't create bitmap for raid5 with journal diskXiao Ni1-0/+1
2019-12-02Create: add support for RAID0 layouts.NeilBrown1-0/+11
2019-04-10Create: Block rounding size to maxMariusz Tkaczyk1-3/+20
2019-02-11Fix spelling typos.Dimitri John Ledkov1-1/+1
2018-04-10imsm: Allow create RAID volume with link to containerMichal Zylowski1-1/+1
2018-01-26Subdevs can't be all missing when create raid deviceXiao Ni1-0/+4
2017-05-05mdadm/util: unify fstat checking blkdev into functionZhilong Liu1-13/+10
2017-05-02Create: tell udev md device is not ready when first created.NeilBrown1-1/+8
2017-04-05Create: Remove all attemps to handle md driver older than 0.90.03Jes Sorensen1-25/+5
2017-04-05Create: Fixup various whitespace issuesJes Sorensen1-26/+24
2017-04-05Create: Fixup bad placement of logical || && in multi-line if statementsJes Sorensen1-17/+11
2017-04-05mdadm/Create: declaring an existing struct within same functionZhilong Liu1-6/+6
2017-03-30sysfs: Make sysfs_init() return an error codeJes Sorensen1-2/+8
2017-03-29util: Introduce md_get_array_info()Jes Sorensen1-3/+2
2017-03-29super1: PPL supportArtur Paszkiewicz1-0/+2
2017-03-29Generic support for --consistency-policy and PPLArtur Paszkiewicz1-4/+14
2016-11-29Introduce enum flag_mode for setting and clearing flags.NeilBrown1-2/+2
2016-11-28Add failfast support.NeilBrown1-0/+2
2016-05-12mdadm: Make add_internal_bitmap() return 0 on successJes Sorensen1-3/+3
2016-05-09Create: check the node nums when create clustered raidGuoqing Jiang1-1/+6
2016-01-14Create: minor fix when adding a journal deviceNeilBrown1-2/+3
2016-01-14Create: fix regression in setting raid_diskNeilBrown1-1/+4
2015-10-19Enable create array with write journal (--write-journal DEVICE).Song Liu1-6/+14
2015-09-28Increment version for clustered bitmapsGoldwyn Rodrigues1-0/+2
2015-06-17Set home-cluster while creating an arrayGuoqing Jiang1-0/+1
2015-06-17Add nodes option while creating mdGuoqing Jiang1-0/+1
2015-06-17Create n bitmaps for clustered modeGuoqing Jiang1-1/+2
2015-02-12Don't break long strings onto multiple lines.NeilBrown1-30/+15
2014-05-21DDF: add support of --data-offset when creating array.NeilBrown1-0/+6
2014-05-01Create: don't default to bitmap=internal when it is not supportedArtur Paszkiewicz1-0/+1
2014-05-01Fix race between --create and --incrementalArtur Paszkiewicz1-14/+15
2013-09-03Release mdadm-3.3mdadm-3.3NeilBrown1-1/+1
2013-05-30Make sure NOFILE resource limit is big enough.NeilBrown1-1/+1
2013-05-15Create: over-ride "start_ro" setting when creating an array.NeilBrown1-0/+5
2013-05-15create_mddev: add support for /dev/md_XXX non-numeric names.NeilBrown1-3/+3
2013-05-13Create: fix bug with --data-offset.NeilBrown1-1/+1
2013-03-05Create: default to bitmap=internal for large arrays.NeilBrown1-0/+11
2013-02-21Discard devnum in favour of devnmNeilBrown1-26/+26
2012-11-20Create.c: check if freesize is equal 0Lukasz Dorau1-0/+5
2012-10-10Replace a lot of leading spaces with tabs.NeilBrown1-1/+1
2012-10-04Allow data-offset to be specified per-device for createNeilBrown1-3/+15
2012-10-04Add --data-offset flag for Create and GrowNeilBrown1-6/+6
2012-10-04Add data_offset arg to ->init_super and use it in super1.cNeilBrown1-1/+2
2012-10-04Add data_offset arg to ->validate_geometry.NeilBrown1-5/+10
2012-10-04imsm: Allow to specify controller for --detail-platform.Maciej Naruszewicz1-1/+1
2012-08-13Minor cosmetic fixes in various files.NeilBrown1-6/+3
2012-07-09Use new 'struct shape' to pass args to CreateNeilBrown1-124/+121
2012-07-09Create: Remove unnecessary cast from 'size'.NeilBrown1-4/+3
2012-07-09Change the values for "max size" from -1 to 1.NeilBrown1-1/+3
2012-07-09Change Create to take a struct contextNeilBrown1-35/+34
2012-07-09Create: support --readonly flag.NeilBrown1-3/+16
2012-07-09Remove scattered checks for malloc success.NeilBrown1-6/+2
2012-07-09Introduce pr_err for printing error messages.NeilBrown1-80/+68
2012-03-22Create: round off size for RAID1 arrays.NeilBrown1-0/+13
2012-03-08Create: reduce the verbosity of 'default_layout'.NeilBrown1-1/+1
2012-02-23Print error message if failing to write super for 1.x metadataJes Sorensen1-3/+0
2011-12-23FIX: Verify if array name doesn't exist alreadyAdam Kwolek1-0/+12
2011-10-22Create() check malloc() return valueJes Sorensen1-0/+4
2011-10-22Create() don't leave the lock hanging on errorJes Sorensen1-5/+8
2011-09-21Create: improve messages from validate_geometry.NeilBrown1-4/+14
2011-07-14imsm: getinfo_super_imsm_volume() doesn't fill all disk informationNeilBrown1-9/+0
2011-06-14FIX: Cannot create volumeAdam Kwolek1-1/+9
2011-06-08getinfo_super now clears the 'info' structure before filling it in.NeilBrown1-1/+1
2011-05-23Restore ability to create imsm array from specific devices.NeilBrown1-1/+7
2011-05-11Create: add error checking for 'write_init_super'.NeilBrown1-1/+7
2011-05-10Create: give better error message if member device unusable.NeilBrown1-0/+16
2011-05-10Create: allow chunksize to be non-power-of-2.NeilBrown1-0/+4
2011-04-05Create: fix size after setting default chunkCzarnowska, Anna1-7/+18
2011-04-05Create: check for UnSet when looking at chunkCzarnowska, Anna1-2/+2
2011-03-18FIX: ping_monitor() usage causes memory leaksAdam Kwolek1-1/+1
2011-03-14Warn the user about too small array sizeKrzysztof Wojcik1-3/+3
2011-03-09Fix chunksize defaulting.NeilBrown1-2/+9
2011-02-27Partitions could be meaningful on single-drive RAID0Krzysztof Wojcik1-1/+2
2011-02-22set default chunk in validate_geometryCzarnowska, Anna1-11/+14
2011-02-21fix: memory leak in CreateCzarnowska, Anna1-1/+3
2011-01-31Call free_super earlier when creating an array.NeilBrown1-2/+1
2010-12-01Create/grow: improve checks on number of devices.NeilBrown1-2/+10
2010-12-01Create: report failure if array cannot be started.NeilBrown1-4/+11
2010-11-23Create: cleanup/unify default geometry handlingDan Williams1-15/+6
2010-11-22Replace various load_super calls with load_containerNeilBrown1-5/+5
2010-11-22Improve type names for mddev_devNeilBrown1-3/+3
2010-11-22Create: user container_dev rather than subarray for some tests.NeilBrown1-3/+4
2010-11-22get_info_super: report which other devices are thought to be working/failed.NeilBrown1-4/+4
2010-07-06Merge branch 'master' of git://github.com/djbw/mdadmNeilBrown1-2/+6
2010-06-17Create: fix typo in RAID10 default layout message.NeilBrown1-1/+1
2010-06-15create: Check with OROM limit before setting default chunk sizeDave Jiang1-2/+6
2010-04-19Create: cleanup after failed create in duplicated array member caseDan Williams1-2/+8
2010-04-07Don't attempt to create or read bitmaps where the metadata doesn't support it.NeilBrown1-0/+5
2010-02-01Create: Improve warning message about booting from v1.xNeilBrown1-2/+2
2009-12-30Merge branch 'master' of git://github.com/djbw/mdadmNeilBrown1-1/+1
2009-12-21Introduce MaxSectorDan Williams1-1/+1
2009-12-08Check partition tables when creating array.Trela, Maciej1-3/+14
2009-11-19Create: warn when creating a raid1 using default metadata.NeilBrown1-0/+11
2009-11-17Improve error messages when metadata handler does not support request.NeilBrown1-2/+2
2009-11-17Increase default chunk size to 512KNeilBrown1-1/+8
2009-07-31conditionally update uuids in the map file after Create()Dan Williams1-0/+32
2009-06-02Update copyright dates and remove references to @cse.unsw.edu.auNeilBrown1-7/+2
2009-04-07wait_for improvement.NeilBrown1-2/+2
2009-04-06Create: round to chunk sizeNeilBrown1-0/+2
2009-02-24Create: fixup 'insert_point', dependent on 'subdevs', for auto-layoutDan Williams1-1/+5
2009-02-24Create: wait_for container creationDan Williams1-0/+1
2009-01-20Create: warn when a metadata format's platform components are missingDan Williams1-0/+8
2009-01-20Create: allow per-metadata default layoutsDan Williams1-25/+48
2008-12-04Create: support autolayout when creating in a DDFNeilBrown1-30/+56
2008-12-04Change 'size' argument to validate_geometry to be sectors, not KNeilBrown1-4/+4
2008-11-28Create: print message when preparing a container.NeilBrown1-1/+2
2008-11-27Tidy error messages for add_to_super failure.NeilBrown1-4/+1
2008-11-27allow add_to_super to return errorsDan Williams1-2/+6
2008-11-07Create: don't wait for device to appear if we didn't actually start the arrayNeilBrown1-1/+1
2008-11-04Wait for name to appear after create/assemble etc.NeilBrown1-0/+1
2008-11-04Create: make sure chosen_name is used for array name generation in CreateNeilBrown1-0/+1
2008-11-04Create: Don't optimise resync as recovery when creating raid5 in a container.NeilBrown1-1/+2
2008-11-04DDF: report member arrays in examine_brief.NeilBrown1-1/+1
2008-11-04Incremental: lock against multiple concurrent additions to an array.NeilBrown1-1/+4
2008-11-04Generate 'change' uevents when arrays change in non-obvious ways.NeilBrown1-4/+6
2008-11-04Always update mdadm/map when starting an array.NeilBrown1-1/+6
2008-11-04mdopen: Introduce new rules for creating device name.NeilBrown1-1/+2
2008-11-04Delay creation of array devices for assemble/build/createNeilBrown1-27/+39
2008-10-27Merge branch 'master' into devel-3.0NeilBrown1-1/+1
2008-10-25Allow WRITEMOSTLY to be cleared on --readd using --readwrite.NeilBrown1-1/+1
2008-09-18Don't allow spares when creating 'external' arrays.NeilBrown1-0/+7
2008-09-18Move calls to SET_ARRAY_INFO to common helper.NeilBrown1-56/+36
2008-09-18Factor out add-disk codeNeilBrown1-5/+1
2008-09-18Compile fixes, particularly moving more stuff under MDASSEMBLENeilBrown1-1/+1
2008-09-15Honor safemode_delay at Create() and Incremental() timeDan Williams1-0/+3
2008-08-19Factor out test for subarray version string.NeilBrown1-1/+1
2008-08-07Merge branch 'master' into from-stableNeilBrown1-4/+4
2008-07-24Clean up usage of open()Doug Ledford1-2/+2
2008-07-18Factor common code into new "start_mdmon".NeilBrown1-22/+4
2008-07-18Make sure resync_start is initialised properly and maintained properlyNeil Brown1-3/+5
2008-07-14mdadm: add an environment variable to prevent auto-launching mdmonDan Williams1-1/+1
2008-07-12Print used message in place of "default metadata" message.Neil Brown1-3/+21
2008-07-12Pass 'verbose' flag to validate_geometryNeil Brown1-4/+6
2008-07-12Create arrays via metadata-updateNeil Brown1-7/+10
2008-07-12Remove silly convention that major='-1' means 'zero superblock'.Neil Brown1-1/+0
2008-07-12Remove getinfo_super_n and do some other cleaning up.Neil Brown1-36/+48
2008-07-12Add subarray field to supertype.Neil Brown1-3/+3
2008-07-12Remove 'major' from superswitch.Neil Brown1-10/+15
2008-07-11Always assume_clean for raid0, linear, multipath, faultyNeil Brown1-0/+2
2008-05-27Discard st->container_memberNeil Brown1-8/+4
2008-05-27Remove st->text_version in favour of info->text_versionNeil Brown1-1/+4
2008-05-27auto-start mdmon on --createNeil Brown1-0/+53
2008-05-27Remove 'fd' arg from sysfs_add_diskNeil Brown1-3/+2
2008-05-15imsm: create supportDan Williams1-2/+2
2008-05-15Create a container memberNeil Brown1-1/+9
2008-05-15Can now mostly assemble DDF arraysNeil Brown1-6/+22
2008-05-15More ddf stuffNeil Brown1-11/+12
2008-05-15more ddf stuffNeil Brown1-5/+48
2008-05-15Initial DDF support code.Dan Williams1-0/+8
2008-05-15Some support for external metadata.Neil Brown1-5/+28
2008-05-15Change write_init_super to be called only once.Neil Brown1-22/+19
2008-05-15Reduce openning of dev in create.Neil Brown1-10/+8
2008-05-15Add 'container' level and ->validate_geometry method.Neil Brown1-21/+35
2008-04-28Allow creation of a RAID6 with a single missing device.Neil Brown1-2/+18
2007-12-14Use 'mdinfo' instead of special 'sysdev' structure.Neil Brown1-38/+38
2007-12-14Drop the superblock arg from all metadata methods.Neil Brown1-8/+8
2007-12-14Add 'supertype' arg to almost all metadata methods.Neil Brown1-4/+4
2007-12-14Allow metadata handlers to free their own superblock.Neil Brown1-2/+2
2007-12-14Remove spaces/tabs from ends of lines.Neil Brown1-3/+3
2007-11-29A recent patch broke --create --level=faulty - fix it.Neil Brown1-0/+1
2007-10-17Add some extra consistency checks based on level.Neil Brown1-2/+17
2007-09-24Create.c s/major/major_num/maximilian attems1-4/+4
2007-07-09Enhance raid4 support: --assemble and --monitor wasn't quite happy with it.Doug Ledford1-2/+3
2007-07-09Improve error message when trying to create an array that already exists.Doug Ledford1-1/+11
2007-05-21Improve error message for adding bitmap to a level that cannot support it.Neil Brown1-5/+5
2006-12-14Support --uuid= with --create to choose your own UUID.Neil Brown1-2/+2
2006-12-14Central calls to ioctl BLKGETSIZENeil Brown1-13/+1
2006-12-14Improve allocation and use of space for bitmaps in version1 metadataNeil Brown1-1/+2
2006-10-19Fix bugs related to raid10 and the new offset layout.Neil Brown1-1/+1
2006-10-13Remove partitions from components of an md arrayNeil Brown1-0/+1
2006-08-11Minor improvement in name auto-chosen for version-1 superblocks.Neil Brown1-1/+8
2006-08-07Tidyup automatic name choice for v-1 arraysNeil Brown1-2/+9
2006-06-26More consistent honoring of --configfileNeil Brown1-1/+1
2006-06-02Allow default metadata to be specified in mdadm.confNeil Brown1-0/+5
2006-05-26Set default name for v1 array based on device name.Neil Brown1-0/+11
2006-05-19Make homehost information appear in superblock.Neil Brown1-2/+2
2006-05-19Just updaqte copyright dates and email addressNeil Brown1-1/+1
2006-05-15Limit size of bitmap to 2million chunks.Neil Brown1-3/+0
2006-03-28Kill old superblocks on create.Neil Brown1-0/+2
2006-01-31Prefer version-1 superblocks for v.large devices.Neil Brown1-0/+21
2006-01-27Enable support for v.large raid1.Neil Brown1-10/+10
2006-01-27Minor fixesNeil Brown1-0/+2
2006-01-27Assorted fixes...Neil Brown1-1/+1
2005-12-16uhm.. assort fixes, particularly for recovery offset...Neil Brown1-0/+4
2005-12-05Support --assume-clean for --createNeil Brown1-2/+4
2005-11-22Support bitmaps with raid10Neil Brown1-2/+14
2005-10-11Create version-4 bitmaps if kernel supports it.Neil Brown1-5/+15
2005-08-26Passes all tests, nearly ready for release.Neil Brown1-3/+3
2005-08-25Support internal bitmaps with format-1 superblocks.Neil Brown1-3/+3
2005-08-16Add test for multipath and make it work.Neil Brown1-1/+1
2005-08-15Add 'quite' option and tidy up some tests.Neil Brown1-13/+17
2005-08-09Support nameing of version-1 arrays.Neil Brown1-1/+2
2005-08-09Add write-behind supportNeil Brown1-5/+10
2005-06-14Retry --stop --scan until all stoppable devices have been stoppedNeil Brown1-1/+1
2005-06-07Make --zero-superblock work for version 1 superblocks.Neil Brown1-1/+1
2005-06-07Add support for internal bitmapsNeil Brown1-1/+20