summaryrefslogtreecommitdiffstats
path: root/mdadm.h
AgeCommit message (Expand)AuthorFilesLines
2023-05-08mdadm: numbered names verificationMariusz Tkaczyk1-1/+3
2023-05-08mdadm: define is_devname_ignore()Mariusz Tkaczyk1-0/+1
2023-05-08mdadm: define DEV_NUM_PREFMariusz Tkaczyk1-0/+8
2023-05-08mdadm: define DEV_MD_DIRMariusz Tkaczyk1-0/+8
2023-03-20Improvements for IMSM_NO_PLATFORM testing.NeilBrown1-0/+2
2023-03-19mdmon: Improve switchroot interactions.NeilBrown1-1/+1
2023-03-13mdadm: Add --write-zeros option for CreateLogan Gunthorpe1-0/+5
2023-03-13mdadm: Introduce pr_info()Logan Gunthorpe1-0/+2
2023-03-02Add helpers to determine whether directories or files are soft linksMateusz Grzonka1-0/+2
2023-01-04Change char* to enum in context->update & refactor codeMateusz Kusiak1-1/+1
2023-01-04Manage&Incremental: code refactor, string to enumMateusz Kusiak1-2/+2
2023-01-04Change update to enum in update_super and update_subarrayMateusz Kusiak1-3/+9
2023-01-04Add code specific update options to enum.Mateusz Kusiak1-0/+15
2023-01-04mdadm: Add option validation for --update-subarrayMateusz Kusiak1-1/+31
2022-12-28mdadm: create ident_init()Mariusz Tkaczyk1-2/+5
2022-09-29mdadm: replace container level checking with inlineKinga Tanska1-0/+14
2022-08-24Grow: Split Grow_reshape into helper functionMateusz Kusiak1-0/+1
2022-08-23mdadm: Don't open md device for CREATE and ASSEMBLELogan Gunthorpe1-0/+1
2022-08-23mdadm: move data_offset to struct shapeMariusz Tkaczyk1-3/+2
2022-08-23mdadm: remove symlink optionMariusz Tkaczyk1-2/+0
2022-08-22mdadm: Replace obsolete usleep with nanosleepMateusz Grzonka1-0/+4
2022-08-07mdadm: Fix mdadm -r remove option regressionLogan Gunthorpe1-0/+1
2022-06-24mdadm: block update=ppl for non raid456 levelsLukasz Florczak1-0/+11
2022-06-14Mdmonitor: Fix segfaultKinga Tanska1-0/+1
2022-04-04mdadm: add map_num_s()Mariusz Tkaczyk1-1/+1
2022-04-04Create, Build: use default_layout()Mariusz Tkaczyk1-0/+1
2022-04-04Replace error prone signal() with sigaction()Lukasz Florczak1-0/+22
2021-12-08mdadm: block creation with long namesBlazej Kucman1-0/+5
2021-11-02imsm: introduce helpers to manage file descriptorsMariusz Tkaczyk1-0/+25
2021-11-02mdadm/lib: Define a new helper function is_dev_alivedXiao Ni1-0/+2
2021-10-08Refactor parse_num and use it to parse optarg.Mateusz Grzonka1-2/+2
2021-08-02Add monitor delay parameter to mdadm.confoshchirs1-0/+1
2021-03-09Enable bitmap support for external metadataJakub Radtke1-0/+3
2021-03-08imsm: add verbose flag to compare_superMariusz Tkaczyk1-1/+2
2020-11-25mdadm/Detail: show correct state for clustered arrayZhao Heming1-0/+1
2020-11-25mdadm: Unify forks behaviourMariusz Tkaczyk1-0/+10
2020-10-14mdmonitor: set small delay onceBlazej Kucman1-1/+1
2020-04-27Detail: adding sync status for cluster deviceLidong Zhong1-1/+2
2020-02-24imsm: pass subarray id to kill_subarray functionBlazej Kucman1-1/+2
2019-12-02Create: add support for RAID0 layouts.NeilBrown1-1/+7
2019-12-02imsm: return correct uuid for volume in detailBlazej Kucman1-2/+3
2019-09-30mdadm: Introduce new array state 'broken' for raid0/linearGuilherme G. Piccoli1-0/+1
2019-08-12mdadm: add --no-devices to avoid component devices detail informationColy Li1-0/+2
2019-08-12mdadm.h: include sysmacros.h unconditionallyBaruch Siach1-2/+0
2019-07-10mdadm: load default sysfs attributes after assemblationMariusz Dabrowski1-0/+3
2019-07-09mdadm.h: Introduced unaligned {get,put}_unaligned{16,32}()Jes Sorensen1-0/+30
2019-05-20mdmon: fix wrong array state when disk fails during mdmon startupArtur Paszkiewicz1-0/+1
2018-12-06policy: support devices with multiple paths.NeilBrown1-1/+1
2018-05-31imsm: Do not require MDADM_EXPERIMENTAL flag anymoreMichal Zylowski1-1/+0
2018-03-08mdadm: improve the dlm locking mechanism for clustered raidGuoqing Jiang1-5/+5
2017-11-21Monitor/msg: Don't print error message if mdmon doesn't runMariusz Tkaczyk1-1/+1
2017-11-09To support clustered raid10Guoqing Jiang1-0/+1
2017-10-02Zeroout whole ppl space during creation/force assemblePawel Baldysiak1-0/+1
2017-09-29sysfs_init_dev - take a dev_t argumentJes Sorensen1-1/+1
2017-09-29lib: devid2kname() should take a dev_tJes Sorensen1-1/+1
2017-08-16Detail: correct output for active arraysMariusz Tkaczyk1-0/+1
2017-06-05Get failed disk count from array stateTomasz Majchrzak1-1/+0
2017-05-09Add sector size as spare selection criterionAlexey Obitotskiy1-0/+3
2017-05-09Allow more spare selection criteriaAlexey Obitotskiy1-5/+11
2017-05-05mdadm/util: unify stat checking blkdev into functionZhilong Liu1-0/+1
2017-05-05mdadm/util: unify fstat checking blkdev into functionZhilong Liu1-0/+1
2017-05-03util: md_array_valid(): Introduce md_array_valid() helperJes Sorensen1-0/+1
2017-05-02Create: tell udev md device is not ready when first created.NeilBrown1-1/+3
2017-04-20util: Get rid of unused enough_fd()Jes Sorensen1-1/+0
2017-04-20util: Introduce md_array_active() helperJes Sorensen1-0/+1
2017-04-20sysfs: Parse array_state in sysfs_read()Jes Sorensen1-3/+14
2017-04-05util: Finally kill off md_get_version()Jes Sorensen1-1/+0
2017-03-30sysfs: Make sysfs_init() return an error codeJes Sorensen1-1/+1
2017-03-29util: Introduce md_set_array_info()Jes Sorensen1-0/+1
2017-03-29util: Introduce md_get_disk_info()Jes Sorensen1-0/+1
2017-03-29util: Introduce md_get_array_info()Jes Sorensen1-0/+1
2017-03-29mdadm.h: struct mdinfo: reorganize ppl elements for better struct packingJes Sorensen1-1/+1
2017-03-29Grow: support consistency policy changeArtur Paszkiewicz1-0/+2
2017-03-29super1: PPL supportArtur Paszkiewicz1-0/+1
2017-03-29imsm: PPL supportArtur Paszkiewicz1-0/+6
2017-03-29Generic support for --consistency-policy and PPLArtur Paszkiewicz1-3/+18
2017-03-28Add 'force' flag to *hot_remove_disk().NeilBrown1-2/+2
2017-03-28Introduce sys_hot_remove_disk()NeilBrown1-0/+1
2017-03-28Retry HOT_REMOVE_DISK a few times.NeilBrown1-0/+1
2017-03-27mdadm:fixed some trivial typos in comments of mdadm.hZhilong Liu1-2/+2
2016-11-29Introduce enum flag_mode for setting and clearing flags.NeilBrown1-2/+6
2016-11-28mdmon: bad block support for external metadata - clear bad blocksTomasz Majchrzak1-0/+7
2016-11-28mdmon: bad block support for external metadata - store bad blocksTomasz Majchrzak1-0/+4
2016-11-28mdmon: bad block support for external metadata - sysfs file openTomasz Majchrzak1-0/+2
2016-11-28mdadm: bad block support for external metadata - initializationTomasz Majchrzak1-0/+13
2016-11-28Add failfast support.NeilBrown1-0/+5
2016-11-17Add function for getting member drive sector sizePawel Baldysiak1-0/+1
2016-11-16super1: make internal bitmap size calculations more consistentArtur Paszkiewicz1-1/+8
2016-08-15Introduce random_uuid() helper functionJes Sorensen1-0/+1
2016-08-15mdadm.h: Fix build problem against newer glibcJes Sorensen1-0/+4
2016-06-14The sys_name array in the mdinfo structure is 20 bytes of storage.Nikhil Kshirsagar1-1/+1
2016-06-03Use dev_t for devnm2devid and devid2devnmMike Lovell1-2/+2
2016-05-12mdadm: Make add_internal_bitmap() return 0 on successJes Sorensen1-0/+2
2016-03-30Introduce stat2kname() and fd2kname()Artur Paszkiewicz1-1/+2
2016-03-09load_sys(): Add a buffer size argumentJes Sorensen1-1/+1
2016-03-07Remove dead code about LKF_CONVERT flagGuoqing Jiang1-1/+0
2016-03-07Fix wrong bitmap output for cluster raidGuoqing Jiang1-1/+1
2016-02-10mdadm.h: rename bswap macros to avoid clash with uClibc definitionsJes Sorensen1-26/+26
2015-12-21Add --update=force-no-bbl.NeilBrown1-1/+2
2015-12-17mdadm: improve the safeguard for change cluster raid's sbGuoqing Jiang1-3/+3
2015-12-16mdadm: do not display bitmap info if it is clearedGuoqing Jiang1-1/+1
2015-12-16recreate journal in mdadmSong Liu1-0/+1
2015-12-16add sysfs_array_state to struct mdinfoSong Liu1-0/+4
2015-12-16mdadm: Change timestamps to unsigned data type.Deepa Dinamani1-0/+25
2015-10-22mdadm: refactor write journal code in Assemble and IncrementalSong Liu1-4/+3
2015-10-21Make cmap_* also has same policy as dlm_*Guoqing Jiang1-0/+20
2015-10-21Safeguard against writing to an active device of another nodeGuoqing Jiang1-0/+45
2015-10-19Assemble array with write journalSong Liu1-0/+3
2015-10-19Enable create array with write journal (--write-journal DEVICE).Song Liu1-0/+2
2015-10-08re-add: make re-add try to write sysfs node firstGuoqing Jiang1-0/+1
2015-08-03mdassemble: include mapfile support.NeilBrown1-10/+0
2015-07-27Merge branch 'cluster'NeilBrown1-1/+17
2015-07-02mdstat: discard 'dev' field, just use 'devnm'NeilBrown1-1/+0
2015-06-17mdadm: change the num of cluster nodeGuoqing Jiang1-0/+1
2015-06-17mdadm: add the ability to change cluster nameGuoqing Jiang1-1/+6
2015-06-17Add a new clustered diskGuoqing Jiang1-0/+2
2015-06-17Set home-cluster while creating an arrayGuoqing Jiang1-0/+5
2015-06-17Add nodes option while creating mdGuoqing Jiang1-0/+3
2015-02-12Consistently print program Name and __func__ in debug messages.NeilBrown1-0/+8
2015-02-12Change way of printing name of a processPawel Baldysiak1-3/+3
2014-08-11util: split get_maj_min() out from dev_open()NeilBrown1-0/+1
2014-08-07config: new option to suppress adding bad block lists.NeilBrown1-0/+1
2014-07-10mdmon: allow prepare_update to report failure.NeilBrown1-1/+4
2014-07-08IMSM: Add warning message when assemble spanned containerPawel Baldysiak1-0/+3
2014-05-22MISC: add --action option to set or abort check/repair.NeilBrown1-0/+3
2014-05-22Grow: fix resent grow_continue breakage.NeilBrown1-1/+1
2014-05-15Grow: store a link to current backup file in /run/mdadm or similar.NeilBrown1-1/+4
2014-04-01DDF: Fix assorted typos and do some reformatting.NeilBrown1-0/+3
2013-12-05Assemble/Incremental: don't hold O_EXCL on mddev after assembly.NeilBrown1-0/+1
2013-12-03Incremental: improve support for "DEVICE" based restriction in mdadm.confNeilBrown1-1/+1
2013-11-28Incremental: add --export handling.NeilBrown1-1/+5
2013-10-31Add support for --add-spareNeilBrown1-0/+1
2013-10-16Be consistent in return types from byteswap macrosJes Sorensen1-12/+12
2013-09-13Make -IRs and --run work properly for containers.NeilBrown1-2/+2
2013-09-10Move ARRAY_SIZE macro to common include file.NeilBrown1-0/+2
2013-08-26Change "mdadm --run" to use the same code as "mdadm --IRs".NeilBrown1-1/+1
2013-08-01mdmon: don't lie to systemd.NeilBrown1-0/+2
2013-08-01Introduce devid2kname - slightly different to devid2devnm.NeilBrown1-0/+1
2013-07-30super1: simplify setting of array size.NeilBrown1-0/+1
2013-07-10Grow: use mdstat_wait to wait for delayed reshape.NeilBrown1-0/+1
2013-07-02Config: use better device names for "DEVICES container"NeilBrown1-1/+11
2013-07-01Manage: check alignment when stopping an array undergoing reshape.NeilBrown1-0/+4
2013-07-01New function: sysfs_waitNeilBrown1-0/+1
2013-06-19Remove lots of unnecessary white space.NeilBrown1-12/+4
2013-06-19Manage: split Manage_runstop into Manage_run and Manage_stopNeilBrown1-2/+3
2013-06-17mdadm.h: add little bits of doco for 'struct superswitch'.NeilBrown1-2/+44
2013-05-30Make sure NOFILE resource limit is big enough.NeilBrown1-0/+1
2013-05-28Assemble: allow --update=revert-reshapeNeilBrown1-0/+5
2013-05-28Assemble: --update=metadata converts v0.90 to v1.0NeilBrown1-0/+4
2013-05-22Grow: introduce min_offset_change to struct reshape.NeilBrown1-0/+5
2013-05-16Add --dump / --restore functionality.NeilBrown1-1/+8
2013-05-15create_mddev: add support for /dev/md_XXX non-numeric names.NeilBrown1-0/+1
2013-02-21Discard devnum in favour of devnmNeilBrown1-49/+34
2013-02-10mdadm.h: fix ugly glibc specific ifdefferyJohn Spencer1-2/+2
2013-02-05Remove --offroot argument and default to always setting argv[0] to @Jes Sorensen1-2/+0
2013-01-07conditionally remove map_dev from find_free_devnumNeilBrown1-0/+1
2012-12-05MISC: Add --examine-badblocks optionNeilBrown1-0/+3
2012-10-23Add support for --replace and --withNeilBrown1-1/+3
2012-10-22Remove get_one_diskNeilBrown1-2/+0
2012-10-04Allow data-offset to be specified per-device for createNeilBrown1-1/+5
2012-10-04New RESHAPE_NO_BACKUP flag to track when backup action is needed.NeilBrown1-0/+1
2012-10-04Grow: set new_data_offset if appropriateNeilBrown1-0/+1
2012-10-04Add space_before/space_after fields to mdinfoNeilBrown1-1/+7
2012-10-04Add --data-offset flag for Create and GrowNeilBrown1-1/+4
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-0/+1
2012-10-04Add data_offset arg to ->avail_sizeNeilBrown1-1/+2
2012-10-04Allow parse_size to return 0.NeilBrown1-0/+6
2012-10-04Handles spaces in array names better.NeilBrown1-0/+2
2012-10-04imsm: Allow to specify controller for --detail-platform.Maciej Naruszewicz1-3/+4
2012-10-02Display size with human_size_brief with a chosen prefixMaciej Naruszewicz1-1/+6
2012-10-02imsm: Add --export option for --detail-platformMaciej Naruszewicz1-1/+2
2012-09-20fix: adjust parse_size() to the unsigned size variableLukasz Dorau1-1/+1
2012-08-13Manage: minor cosmetic fixes.NeilBrown1-1/+0
2012-07-09Use new struct context and struct shape for Grow_addbitmapNeilBrown1-1/+2
2012-07-09Use new struct context and struct shape in Grow_reshapeNeilBrown1-4/+2
2012-07-09Use new 'struct shape' to pass args to CreateNeilBrown1-4/+1
2012-07-09Use new 'struct shape' to pass args to BuildNeilBrown1-5/+2
2012-07-09Create new 'struct shape' to pass around array details.NeilBrown1-0/+14
2012-07-09Change the values for "max size" from -1 to 1.NeilBrown1-2/+7
2012-07-09Change Incremental and related functions to take struct contextNeilBrown1-7/+5
2012-07-09Change Monitor to take a struct contextNeilBrown1-3/+4
2012-07-09Change Detail and misc_scan to take a struct contextNeilBrown1-1/+1
2012-07-09change Examine to take a struct contextNeilBrown1-2/+2
2012-07-09Examine: split 'verbose' out from 'brief'.NeilBrown1-1/+1
2012-07-09Change Create to take a struct contextNeilBrown1-4/+4
2012-07-09Change Build to take a struct contextNeilBrown1-1/+1
2012-07-09Convert Assemble() to take a context rather than a list of options.NeilBrown1-4/+1
2012-07-09Discard 'quiet' context variable.NeilBrown1-1/+0
2012-07-09Convert 'quiet' to 'not verbose' in various places.NeilBrown1-3/+4
2012-07-09Create 'struct context' for ad hoc context option.NeilBrown1-0/+23
2012-07-09Create parse_num() function.NeilBrown1-0/+1
2012-07-09Create: support --readonly flag.NeilBrown1-2/+4
2012-07-09Assemble: allow arrays to be assembled read-only.NeilBrown1-0/+1
2012-07-09Remove scattered checks for malloc success.NeilBrown1-0/+5
2012-07-09Remove re_add flag in favour of new disposition.NeilBrown1-2/+2
2012-07-09Introduce pr_err for printing error messages.NeilBrown1-0/+3
2012-07-09Help: use an array to choose which help matches which mode.NeilBrown1-0/+2
2012-07-09Use explicit non-char opt for --zero-superNeilBrown1-0/+1
2012-06-04Monitor: fix inconsistencies in values for ->percentNeilBrown1-2/+4