The mdadm program controls Linux md devices (software RAID arrays)
Go to file
Xiao Ni 72c1204567 Update to latest upstream and fix mdcheck service bug
Now mdcheck service can't be run successfully. We need to put mdcheck in to the
right place (/usr/share/mdadm/mdcheck) and it needs to remove the dependency of
mdadm_env.sh which is fixed in patch 76c224c6c.

And there is a history problem. It needed KillMode=none before, so it removed
the upstream patch 52c67fcdd. Now this problem has been fixed, so we can do the
backport more easilly now. We don't need to remove the upstream patch here again.

It adds a rhel only feature too for transient failure.

Resolves: rhbz#2159923, rhbz#2150865, rhbz#2124071, rhbz#2203859

Signed-off-by: Xiao Ni <xni@redhat.com>
2023-05-16 10:41:01 +08:00
tests Fix gating test error and rpminspect error 2021-08-13 21:05:59 +08:00
.gitignore RHEL 9.0.0 Alpha bootstrap 2020-10-15 19:31:25 +02:00
0001-Unify-error-message.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0002-mdadm-Fix-double-free.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0003-Grow_reshape-Add-r0-grow-size-error-message-and-upda.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0004-udev-adapt-rules-to-systemd-v247.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0005-Replace-error-prone-signal-with-sigaction.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0006-mdadm-Respect-config-file-location-in-man.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0007-mdadm-Update-ReadMe.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0008-mdadm-Update-config-man-regarding-default-files-and-.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0009-mdadm-Update-config-manual.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0010-Create-Build-use-default_layout.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0011-mdadm-add-map_num_s.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0012-mdadm-systemd-remove-KillMode-none-from-service-file.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0013-mdmon-Stop-parsing-duplicate-options.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0014-Grow-block-n-on-external-volumes.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0015-Incremental-Fix-possible-memory-and-resource-leaks.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0016-Mdmonitor-Fix-segfault.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0017-Mdmonitor-Improve-logging-method.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0018-Fix-possible-NULL-ptr-dereferences-and-memory-leaks.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0019-imsm-Remove-possibility-for-get_imsm_dev-to-return-N.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0020-Revert-mdadm-fix-coredump-of-mdadm-monitor-r.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0021-util-replace-ioctl-use-with-function.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0022-mdadm-super1-restore-commit-45a87c2f31335-to-fix-clu.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0023-imsm-introduce-get_disk_slot_in_dev.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0024-imsm-use-same-slot-across-container.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0025-imsm-block-changing-slots-during-creation.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0026-mdadm-block-update-ppl-for-non-raid456-levels.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0027-mdadm-Fix-array-size-mismatch-after-grow.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0028-mdadm-Remove-dead-code-in-imsm_fix_size_mismatch.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0029-Monitor-use-devname-as-char-array-instead-of-pointer.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0030-Monitor-use-snprintf-to-fill-device-name.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0031-Makefile-Don-t-build-static-build-with-everything-an.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0032-DDF-Cleanup-validate_geometry_ddf_container.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0033-DDF-Fix-NULL-pointer-dereference-in-validate_geometr.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0034-mdadm-Grow-Fix-use-after-close-bug-by-closing-after-.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0035-monitor-Avoid-segfault-when-calling-NULL-get_bad_blo.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0036-mdadm-Fix-mdadm-r-remove-option-regression.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0037-mdadm-Fix-optional-write-behind-parameter.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0038-tests-00raid0-add-a-test-that-validates-raid0-with-l.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0039-tests-fix-raid0-tests-for-0.90-metadata.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0040-tests-04update-metadata-avoid-passing-chunk-size-to-.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0041-tests-02lineargrow-clear-the-superblock-at-every-ite.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0042-mdadm-test-Add-a-mode-to-repeat-specified-tests.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0043-mdadm-test-Mark-and-ignore-broken-test-failures.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0044-tests-Add-broken-files-for-all-broken-tests.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0045-mdadm-Replace-obsolete-usleep-with-nanosleep.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0046-tests-00readonly-Run-udevadm-settle-before-setting-r.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0047-tests-add-test-for-names.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0048-mdadm-remove-symlink-option.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0049-mdadm-move-data_offset-to-struct-shape.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0050-mdadm-Don-t-open-md-device-for-CREATE-and-ASSEMBLE.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0051-Grow-Split-Grow_reshape-into-helper-function.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0052-Assemble-check-if-device-is-container-before-schedul.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0053-super1-report-truncated-device.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0054-mdadm-Correct-typos-punctuation-and-grammar-in-man.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0055-Manage-Block-unsafe-member-failing.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0056-Monitor-Fix-statelist-memory-leaks.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0057-mdadm-added-support-for-Intel-Alderlake-RST-on-VMD-p.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0058-mdadm-Add-Documentation-entries-to-systemd-services.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0059-ReadMe-fix-command-line-help.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0060-mdadm-replace-container-level-checking-with-inline.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0061-Mdmonitor-Omit-non-md-devices.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0062-Mdmonitor-Split-alert-into-separate-functions.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0063-Monitor-block-if-monitor-modes-are-combined.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0064-Update-mdadm-Monitor-manual.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0065-Grow-fix-possible-memory-leak.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0066-mdadm-create-ident_init.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0067-mdadm-Add-option-validation-for-update-subarray.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0068-Fix-update-subarray-on-active-volume.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0069-Add-code-specific-update-options-to-enum.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0070-super-ddf-Remove-update_super_ddf.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0071-super0-refactor-the-code-for-enum.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0072-super1-refactor-the-code-for-enum.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0073-super-intel-refactor-the-code-for-enum.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0074-Change-update-to-enum-in-update_super-and-update_sub.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0075-Manage-Incremental-code-refactor-string-to-enum.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0076-Change-char-to-enum-in-context-update-refactor-code.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0077-mdmon-fix-segfault.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0078-util-remove-obsolete-code-from-get_md_name.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0079-mdadm-udev-Don-t-handle-change-event-on-raw-devices.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0080-Manage-do-not-check-array-state-when-drive-is-remove.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0081-incremental-manage-do-not-verify-if-remove-is-safe.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0082-super-intel-make-freesize-not-required-for-chunk-siz.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0083-manage-move-comment-with-function-description.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
0084-Revert-mdadm-systemd-remove-KillMode-none-from-servi.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0085-Grow-fix-can-t-change-bitmap-type-from-none-to-clust.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0086-Fix-NULL-dereference-in-super_by_fd.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0087-Mdmonitor-Make-alert_info-global.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0088-Mdmonitor-Pass-events-to-alert-using-enums-instead-o.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0089-Mdmonitor-Add-helper-functions.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0090-Add-helpers-to-determine-whether-directories-or-file.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0091-Mdmonitor-Refactor-write_autorebuild_pid.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0092-Mdmonitor-Refactor-check_one_sharer-for-better-error.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0093-util.c-reorder-code-lines-in-parse_layout_faulty.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0094-util.c-fix-memleak-in-parse_layout_faulty.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0095-Detail.c-fix-memleak-in-Detail.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0096-isuper-intel.c-fix-double-free-in-load_imsm_mpb.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0097-super-intel.c-fix-memleak-in-find_disk_attached_hba.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0098-super-ddf.c-fix-memleak-in-get_vd_num_of_subarray.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0099-Create-goto-abort_locked-instead-of-return-1-in-erro.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0100-Create-remove-safe_mode_delay-local-variable.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0101-Create-Factor-out-add_disks-helpers.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0102-mdadm-Introduce-pr_info.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0103-mdadm-Add-write-zeros-option-for-Create.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0104-tests-00raid5-zero-Introduce-test-to-exercise-write-.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0105-manpage-Add-write-zeroes-option-to-manpage.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0106-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0107-Use-existence-of-etc-initrd-release-to-detect-initrd.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0108-mdmon-don-t-test-both-all-and-container_name.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0109-mdmon-change-systemd-unit-file-to-use-foreground.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0110-mdmon-Remove-need-for-KillMode-none.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0111-mdmon-Improve-switchroot-interactions.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0112-mdopen-always-try-create_named_array.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0113-Improvements-for-IMSM_NO_PLATFORM-testing.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0114-Revert-Revert-mdadm-systemd-remove-KillMode-none-fro.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0115-Create-Fix-checking-for-container-in-update_metadata.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0116-Fix-null-pointer-for-incremental-in-mdadm.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0117-super1-fix-truncation-check-for-journal-device.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0118-Fix-some-cases-eyesore-formatting.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0119-Bump-minimum-kernel-version-to-2.6.32.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0120-Remove-the-config-files-in-mdcheck_start-continue-se.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0121-mdadm-define-DEV_MD_DIR.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0122-mdadm-define-DEV_NUM_PREF.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0123-mdadm-define-is_devname_ignore.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0124-mdadm-numbered-names-verification.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
0125-enable-RAID-for-SATA-under-VMD.patch Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
disable-Werror.patch Update to latest upstream 2021-08-03 22:34:11 +08:00
gating.yaml Add gating test 2021-08-09 22:34:16 +08:00
md-auto-readd.rule Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
md-auto-readd.sh Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
mdadm_event.conf RHEL 9.0.0 Alpha bootstrap 2020-10-15 19:31:25 +02:00
mdadm-2.5.2-static.patch Update to latest upstream 2021-08-03 22:34:11 +08:00
mdadm-4.1-no-Werror.patch RHEL 9.0.0 Alpha bootstrap 2020-10-15 19:31:25 +02:00
mdadm-raid-check-sysconfig RHEL 9.0.0 Alpha bootstrap 2020-10-15 19:31:25 +02:00
mdadm-udev.patch Update to latest upstream 2023-01-06 21:58:10 +08:00
mdadm.conf RHEL 9.0.0 Alpha bootstrap 2020-10-15 19:31:25 +02:00
mdadm.spec Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
mdcheck Update to latest upstream and fix mdcheck service bug 2023-05-16 10:41:01 +08:00
mdmonitor.service RHEL 9.0.0 Alpha bootstrap 2020-10-15 19:31:25 +02:00
raid-check RHEL 9.0.0 Alpha bootstrap 2020-10-15 19:31:25 +02:00
raid-check.service RHEL 9.0.0 Alpha bootstrap 2020-10-15 19:31:25 +02:00
raid-check.timer RHEL 9.0.0 Alpha bootstrap 2020-10-15 19:31:25 +02:00
Revert-mdadm-fix-coredump-of-mdadm-monitor-r.patch Update to latest upstream 2022-05-30 12:50:53 +08:00
sources Update to latest upstream 4.2 2021-12-31 13:21:58 +08:00