summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2023-04-10Remove the config files in mdcheck_start|continue serviceHEADmasterXiao Ni2-4/+0
2023-04-10Bump minimum kernel version to 2.6.32Jes Sorensen5-45/+2
2023-04-10Fix some cases eyesore formattingJes Sorensen1-57/+60
2023-04-10super1: fix truncation check for journal deviceHristo Venev1-2/+3
2023-04-10Fix null pointer for incremental in mdadmmiaoguanqin1-0/+3
2023-03-23Create: Fix checking for container in update_metadataMateusz Grzonka1-1/+1
2023-03-23Revert "Revert "mdadm/systemd: remove KillMode=none from service file""Mariusz Tkaczyk1-1/+0
2023-03-20Improvements for IMSM_NO_PLATFORM testing.NeilBrown5-6/+55
2023-03-19mdopen: always try create_named_array()NeilBrown1-0/+1
2023-03-19mdmon: Improve switchroot interactions.NeilBrown6-9/+16
2023-03-19mdmon: Remove need for KillMode=noneNeilBrown1-1/+6
2023-03-19mdmon: change systemd unit file to use --foregroundNeilBrown1-2/+1
2023-03-19mdmon: don't test both 'all' and 'container_name'.NeilBrown1-7/+4
2023-03-19Use existence of /etc/initrd-release to detect initrd.NeilBrown1-9/+1
2023-03-19Define alignof using _Alignof when using C11 or newerKhem Raj1-1/+11
2023-03-13manpage: Add --write-zeroes option to manpageLogan Gunthorpe1-1/+17
2023-03-13tests/00raid5-zero: Introduce test to exercise --write-zeros.Logan Gunthorpe1-0/+12
2023-03-13mdadm: Add --write-zeros option for CreateLogan Gunthorpe4-2/+190
2023-03-13mdadm: Introduce pr_info()Logan Gunthorpe2-3/+6
2023-03-13Create: Factor out add_disks() helpersLogan Gunthorpe1-169/+213
2023-03-13Create: remove safe_mode_delay local variableLogan Gunthorpe1-3/+1
2023-03-13Create: goto abort_locked instead of return 1 in error pathLogan Gunthorpe1-1/+1
2023-03-08super-ddf.c: fix memleak in get_vd_num_of_subarray()Wu Guanghao1-2/+7
2023-03-08super-intel.c: fix memleak in find_disk_attached_hba()Wu Guanghao1-2/+2
2023-03-08isuper-intel.c: fix double free in load_imsm_mpb()Wu Guanghao1-0/+1
2023-03-08Detail.c: fix memleak in Detail()Wu Guanghao1-0/+1
2023-03-08util.c: fix memleak in parse_layout_faulty()Wu Guanghao1-0/+2
2023-03-08util.c: reorder code lines in parse_layout_faulty()Coly Li1-3/+6
2023-03-02Mdmonitor: Refactor check_one_sharer() for better error handlingMateusz Grzonka1-27/+62
2023-03-02Mdmonitor: Refactor write_autorebuild_pid()Mateusz Grzonka1-19/+36
2023-03-02Add helpers to determine whether directories or files are soft linksMateusz Grzonka2-0/+47
2023-03-02Mdmonitor: Add helper functionsMateusz Grzonka1-70/+158
2023-03-02Mdmonitor: Pass events to alert() using enums instead of stringsMateusz Grzonka1-53/+83
2023-03-02Mdmonitor: Make alert_info globalMateusz Grzonka1-63/+61
2023-02-28Fix NULL dereference in super_by_fdLi Xiao Keng2-1/+10
2023-02-23Grow: fix can't change bitmap type from none to clustered.Heming Zhao1-1/+1
2023-02-02Revert "mdadm/systemd: remove KillMode=none from service file"Mariusz Tkaczyk2-0/+2
2023-01-05manage: move comment with function descriptionKinga Tanska1-28/+44
2023-01-04super-intel: make freesize not required for chunk size migrationKinga Tanska1-5/+5
2023-01-04incremental, manage: do not verify if remove is safeKinga Tanska2-4/+5
2023-01-04Manage: do not check array state when drive is removedKinga Tanska1-2/+1
2023-01-04mdadm/udev: Don't handle change event on raw devicesXiao Ni1-0/+8
2023-01-04util: remove obsolete code from get_md_nameMateusz Kusiak2-39/+20
2023-01-04mdmon: fix segfaultMateusz Kusiak2-15/+13
2023-01-04Change char* to enum in context->update & refactor codeMateusz Kusiak3-57/+37
2023-01-04Manage&Incremental: code refactor, string to enumMateusz Kusiak5-33/+45
2023-01-04Change update to enum in update_super and update_subarrayMateusz Kusiak9-62/+52
2023-01-04super-intel: refactor the code for enumMateusz Kusiak1-12/+25
2023-01-04super1: refactor the code for enumMateusz Kusiak1-61/+91
2023-01-04super0: refactor the code for enumMateusz Kusiak1-39/+63
2023-01-04super-ddf: Remove update_super_ddf.Mateusz Kusiak1-70/+0
2023-01-04Add code specific update options to enum.Mateusz Kusiak2-0/+36
2023-01-04Fix --update-subarray on active volumeMateusz Kusiak2-5/+7
2023-01-04mdadm: Add option validation for --update-subarrayMateusz Kusiak4-74/+124
2022-12-28mdadm: create ident_init()Mariusz Tkaczyk3-32/+36
2022-12-28Grow: fix possible memory leak.Blazej Kucman1-1/+4
2022-12-28Update mdadm Monitor manual.Blazej Kucman1-21/+50
2022-12-28Monitor: block if monitor modes are combined.Blazej Kucman1-1/+6
2022-12-28Mdmonitor: Split alert() into separate functionsMateusz Grzonka1-91/+95
2022-09-29Mdmonitor: Omit non-md devicesLukasz Florczak1-8/+4
2022-09-29mdadm: replace container level checking with inlineKinga Tanska10-20/+33
2022-09-16ReadMe: fix command-line helpMariusz Tkaczyk1-1/+1
2022-09-16mdadm: Add Documentation entries to systemd servicesMariusz Tkaczyk7-1/+8
2022-09-14mdadm: added support for Intel Alderlake RST on VMD platformOldřich Jedlička1-5/+13
2022-09-08Monitor: Fix statelist memory leaksPawel Baldysiak1-9/+31
2022-09-08Manage: Block unsafe member failingMateusz Kusiak1-1/+52
2022-09-08mdadm: Correct typos, punctuation and grammar in manMateusz Grzonka1-90/+88
2022-08-29super1: report truncated deviceNeilBrown1-7/+28
2022-08-24Assemble: check if device is container before scheduling force-clean updateKinga Tanska1-3/+2
2022-08-24Grow: Split Grow_reshape into helper functionMateusz Kusiak3-59/+81
2022-08-23mdadm: Don't open md device for CREATE and ASSEMBLELogan Gunthorpe3-20/+33
2022-08-23mdadm: move data_offset to struct shapeMariusz Tkaczyk4-26/+22
2022-08-23mdadm: remove symlink optionMariusz Tkaczyk6-53/+1
2022-08-23tests: add test for namesMariusz Tkaczyk1-0/+93
2022-08-23tests/00readonly: Run udevadm settle before setting roLogan Gunthorpe1-0/+1
2022-08-22mdadm: Replace obsolete usleep with nanosleepMateusz Grzonka8-26/+54
2022-08-07tests: Add broken files for all broken testsLogan Gunthorpe24-0/+226
2022-08-07mdadm/test: Mark and ignore broken test failuresLogan Gunthorpe1-2/+35
2022-08-07mdadm/test: Add a mode to repeat specified testsLogan Gunthorpe1-12/+24
2022-08-07tests/02lineargrow: clear the superblock at every iterationSudhakar Panneerselvam1-0/+2
2022-08-07tests/04update-metadata: avoid passing chunk size to raid1Sudhakar Panneerselvam1-1/+5
2022-08-07tests: fix raid0 tests for 0.90 metadataSudhakar Panneerselvam5-8/+12
2022-08-07tests/00raid0: add a test that validates raid0 with layout fails for 0.9Sudhakar Panneerselvam1-4/+2
2022-08-07mdadm: Fix optional --write-behind parameterLogan Gunthorpe1-2/+3
2022-08-07mdadm: Fix mdadm -r remove option regressionLogan Gunthorpe3-0/+3
2022-08-07monitor: Avoid segfault when calling NULL get_bad_blocksLogan Gunthorpe1-0/+3
2022-08-07mdadm/Grow: Fix use after close bug by closing after forkLogan Gunthorpe1-1/+3
2022-08-07DDF: Fix NULL pointer dereference in validate_geometry_ddf()Logan Gunthorpe1-3/+3
2022-08-07DDF: Cleanup validate_geometry_ddf_container()Logan Gunthorpe1-49/+39
2022-08-07Makefile: Don't build static build with everything and everything-testLogan Gunthorpe1-2/+2
2022-07-28Monitor: use snprintf to fill device nameKinga Tanska1-23/+14
2022-07-28Monitor: use devname as char array instead of pointerKinga Tanska1-3/+5
2022-07-28mdadm: Remove dead code in imsm_fix_size_mismatchLukasz Florczak1-4/+0
2022-07-28mdadm: Fix array size mismatch after growLukasz Florczak1-1/+1
2022-06-24mdadm: block update=ppl for non raid456 levelsLukasz Florczak6-12/+31
2022-06-24imsm: block changing slots during creationMariusz Tkaczyk2-39/+22
2022-06-24imsm: use same slot across containerMariusz Tkaczyk1-61/+108
2022-06-24imsm: introduce get_disk_slot_in_dev()Mariusz Tkaczyk1-11/+36
2022-06-24mdadm/super1: restore commit 45a87c2f31335 to fix clustered slot issueHeming Zhao1-1/+11
2022-06-24util: replace ioctl use with functionKinga Tanska1-1/+1
2022-06-17Revert "mdadm: fix coredump of mdadm --monitor -r"Nigel Croxon1-3/+3
2022-06-14imsm: Remove possibility for get_imsm_dev to return NULLMateusz Grzonka1-75/+78
2022-06-14Fix possible NULL ptr dereferences and memory leaksMateusz Grzonka2-3/+13
2022-06-14Mdmonitor: Improve logging methodKinga Tanska1-11/+14
2022-06-14Mdmonitor: Fix segfaultKinga Tanska3-1/+27
2022-06-14Incremental: Fix possible memory and resource leaksMateusz Grzonka1-9/+23
2022-06-09Grow: block -n on external volumes.Mateusz Kusiak1-0/+8
2022-06-09mdmon: Stop parsing duplicate optionsLukasz Florczak1-9/+35
2022-04-06mdadm/systemd: remove KillMode=none from service fileColy Li2-2/+0
2022-04-04mdadm: add map_num_s()Mariusz Tkaczyk13-38/+61
2022-04-04Create, Build: use default_layout()Mariusz Tkaczyk3-48/+43
2022-04-04mdadm: Update config manualLukasz Florczak1-0/+17
2022-04-04mdadm: Update config man regarding default files and multi-keyword behaviorLukasz Florczak2-24/+71
2022-04-04mdadm: Update ReadMeLukasz Florczak1-5/+6
2022-04-04mdadm: Respect config file location in manLukasz Florczak4-10/+16
2022-04-04Replace error prone signal() with sigaction()Lukasz Florczak9-21/+45
2022-03-31udev: adapt rules to systemd v247Mariusz Tkaczyk3-4/+5
2022-03-31Grow_reshape: Add r0 grow size error message and update manMateusz Kusiak2-7/+18
2022-03-31mdadm: Fix double freeLukasz Florczak1-2/+1
2022-03-15Unify error message.Lukasz Florczak2-4/+4
2021-12-30Release mdadm-4.2Jes Sorensen7-23/+25
2021-12-08Monitor: print message before quit for no array to monitorColy Li1-0/+1
2021-12-08mdadm: block creation with long namesBlazej Kucman3-1/+18
2021-11-24Correct checking if file descriptors are validMateusz Grzonka5-11/+6
2021-11-24Incremental: Close unclosed mdfd in IncrementalScan()Mateusz Grzonka1-5/+6
2021-11-09imsm: assert if there is migration but prev_map doesn't existPawel Piatkowski1-14/+15
2021-11-09imsm: free allocated memory in imsm_fix_size_mismatchPawel Piatkowski1-0/+2
2021-11-03Release mdadm-4.2-rc3Jes Sorensen6-10/+11
2021-11-02imsm: introduce helpers to manage file descriptorsMariusz Tkaczyk2-92/+100
2021-11-02mdadm/Detail: Can't show container name correctly when unpluging disksXiao Ni1-8/+8
2021-11-02mdadm/lib: Define a new helper function is_dev_alivedXiao Ni2-0/+13
2021-10-19Fix 2 dc stream bufferNigel Croxon2-3/+3
2021-10-19Assemble: apply sysfs rulesKinga Tanska1-3/+2
2021-10-08Fix potential overlap dest bufferNigel Croxon1-1/+1
2021-10-08disallow create or grow clustered bitmap with writemostly setNigel Croxon2-2/+12
2021-10-08Fix buffer size warning for strcpyNigel Croxon1-3/+5
2021-10-08Refactor parse_num and use it to parse optarg.Mateusz Grzonka7-71/+83
2021-10-08Fix error message when creating raid 4, 5 and 10Mateusz Grzonka1-1/+1
2021-10-08mdadm: fix coredump of mdadm --monitor -rWu Guanghao1-3/+3
2021-08-13Utils: Change sprintf to snprintfMateusz Kusiak1-2/+2
2021-08-02Release mdadm-4.2-rc2Jes Sorensen6-9/+10
2021-08-02Assemble: skip devices that don't match uuid instead of aborting the assembly.Sudhakar Panneerselvam1-0/+5
2021-08-02Add monitor delay parameter to mdadm.confoshchirs4-8/+46
2021-08-02tests: Avoid passing chunk size when creating RAID 1Mateusz Grzonka5-9/+14
2021-08-02Fix memory leak after "mdadm --detail"Mateusz Grzonka1-11/+9
2021-07-27Assemble: start dirty and degraded array.Mariusz Tkaczyk3-80/+103
2021-07-27imsm: fix num_data_stripes after raid0 takeoverMariusz Tkaczyk1-62/+77
2021-07-16Add error handling for chunk size in RAID1Mateusz Grzonka1-3/+2
2021-07-16imsm: Fix possible memory leaks and refactor freeing struct dlMateusz Grzonka1-20/+19
2021-07-16mdadm: Fix building errorsXiao Ni2-2/+2
2021-07-16Don't associate spares with other arrays during RAID ExamineOleksandr Shchirskyi2-56/+20
2021-07-16Remove Spare drives line from details for external metadataOleksandr Shchirskyi1-1/+2
2021-07-16imsm: correct offset for 4k disks in --examine outputOleksandr Shchirskyi1-1/+1
2021-07-16Use dev_open in validate geometry containerBlazej Kucman2-2/+2
2021-07-16mdadm/super1: It needs to specify int32 for bitmap_offsetXiao Ni1-1/+1
2021-05-26Manage: Call validate_geometry when adding drive to external containerMariusz Tkaczyk3-16/+19
2021-05-26imsm: Limit support to the lowest namespaceMariusz Tkaczyk3-84/+123
2021-05-26imsm: add devpath_to_char methodMariusz Tkaczyk3-18/+40
2021-05-26imsm: add generic method to resolve "device" linksMariusz Tkaczyk3-65/+77
2021-05-06Prevent user from using --stop with ambiguous argsNorbert Szulc1-0/+5
2021-05-06Fix some building errorsXiao Ni1-3/+3
2021-05-06imsm: change wrong size verificationMariusz Tkaczyk1-5/+5
2021-04-14Release mdadm-4.2-rc1Jes Sorensen6-5/+29
2021-04-14super-intel.c: Handle errors from calls to get_dev_sector_size()Jes Sorensen1-4/+10
2021-04-06mdadm: fix growing containersNigel Croxon1-8/+11
2021-03-19Monitor: make libudev dependency optionalMariusz Tkaczyk2-6/+29
2021-03-18imsm: support for third Sata controllerMariusz Tkaczyk1-27/+31
2021-03-16imsm: nvme multipath supportBlazej Kucman3-15/+104
2021-03-16imsm: extend curr_migr_unit to u64Mariusz Tkaczyk1-41/+51
2021-03-09Grow: Block reshape when external metadata and write-intent bitmapJakub Radtke1-9/+15
2021-03-09Create: Block automatic enabling bitmap for external metadataJakub Radtke1-0/+1
2021-03-09imsm: Update-subarray for write-intent bitmapJakub Radtke1-6/+17
2021-03-09Add "bitmap" to allowed command-line valuesJakub Radtke2-3/+14
2021-03-09imsm: Adding a spare to an existing array with bitmapJakub Radtke1-1/+36
2021-03-09imsm: Write-intent bitmap supportJakub Radtke1-2/+617
2021-03-09Enable bitmap support for external metadataJakub Radtke3-0/+22
2021-03-09Modify mdstat parsing for volumes with the bitmapJakub Radtke1-0/+6
2021-03-08It should be FAILED when raid has not enough active disksXiao Ni1-4/+10
2021-03-08imsm: add verbose flag to compare_superMariusz Tkaczyk8-16/+23
2021-03-08mdmonitor: check if udev has finished events processingOleksandr Shchirskyi2-12/+65
2021-03-08Document PPL in man mdOleksandr Shchirskyi1-15/+29
2021-03-08imsm: use saved fds during migrationMariusz Tkaczyk1-154/+54
2021-03-03super1.c: avoid useless sync when bitmap switches from clustered to noneZhao Heming1-0/+2
2021-03-03super1: fix Floating point exceptionZhao Heming1-1/+4
2021-03-03Grow: be careful of corrupt dev_roles listNeilBrown2-13/+50
2021-03-03mdadm: fix reshape from RAID5 to RAID6 with backup fileNigel Croxon1-2/+5
2021-03-03mdadm/bitmap: locate bitmap calcuate bitmap position wronglyXiao Ni1-3/+9
2020-12-20Dump: get stat from a wrong metadata file when restoring metadataLidong Zhong1-0/+5
2020-12-20Incremental: Remove redundant spare movement logicMariusz Tkaczyk1-62/+0
2020-11-25udev: start grow service automaticallyTkaczyk Mariusz1-0/+2
2020-11-25Make target to install binaries onlyKinga Tanska1-3/+5
2020-11-25mdadm/Detail: show correct state for clustered arrayZhao Heming3-10/+86
2020-11-25mdadm: Unify forks behaviourMariusz Tkaczyk6-101/+100
2020-11-25imsm: limit support to first NVMe namespaceMariusz Tkaczyk3-1/+42
2020-11-25Monitor: don't use default modes when creating a fileMariusz Tkaczyk1-5/+12
2020-11-25imsm: remove redundant calls to imsm_get_mapMariusz Tkaczyk1-2/+0
2020-11-25imsm: update num_data_stripes according to dev_sizeMariusz Tkaczyk1-6/+78
2020-11-25Create.c: close mdfd and generate ueventMariusz Tkaczyk1-5/+2
2020-11-25Detail: fix segfault during IMSM raid creationLidong Zhong1-1/+1
2020-10-14Super1: allow RAID0 layout setting to be removed.NeilBrown4-5/+34