SHA256
1
0
forked from pool/mdadm
Commit Graph

146 Commits

Author SHA256 Message Date
Neil Brown
849a39cd07 Accepting request 548207 from home:colyli:branches:Base:System
- Update mdadm for SLE15, for bug fixes and new feature enhancement
- 1000-The-mdcheck-script-now-adds-messages-to-the-system.patch is
  removed because upstream has similar fix with almost identical
  funcationality.
- The following patches are not deleted indeed, they are renamed
  and added into all other new-added patches with different perfix
  numbers,
  0038-Create-Fixup-bad-placement-of-logical-in-multi-line-.patch
  0039-Create-Fixup-various-whitespace-issues.patch
  0040-mdadm.c-fix-compile-warning-mdfd-is-uninitialized.patch
  0041-mdopen-use-parameters-new_array-to-create-arrays-whe.patch
  0042-mdadm-manpage-update-manpage-for-readonly-parameter.patch
  0043-mdadm-manpage-clustered-arrays-don-t-support-array-s.patch
  0044-maps-Terminate-modes-map-correctly.patch
  0045-Grow_continue_command-ensure-content-is-properly-ini.patch
  0046-systemd-mdadm-last-resort-use-ConditionPathExists-in.patch
  0047-Detail-ensure-export-names-are-acceptable-as-shell-v.patch
  0048-Grow-set-component-size-prior-to-array-size.patch
  0049-Grow-don-t-allow-to-enable-PPL-when-reshape-is-in-pr.patch
  0050-Grow-don-t-allow-array-geometry-change-with-ppl-enab.patch
  0051-IMSM-Correct-examine-output-for-4k-disks.patch
  0052-imsm-allow-drives-in-a-container-regardless-of-secto.patch
  0053-imsm-allocate-buffer-to-support-maximum-sector-size.patch
  0054-imsm-don-t-allow-disks-with-different-sector-size-in.patch
  0055-Allow-more-spare-selection-criteria.patch
  0056-Add-sector-size-as-spare-selection-criterion.patch
  0057-super1-fix-sb-max_dev-when-adding-a-new-disk-in-line.patch
  0058-super1-only-set-clustered-flag-when-bitmap-is-presen.patch
  0059-To-support-clustered-raid10.patch
  0060-udev-rules-introduce-rules-for-cluster-md-to-confirm.patch
- The following patche set includes the above renamed patches,
  they have bug fixes for bsc#1068030, bsc#1069165, bsc#1069167,
  and some other fixes and enhancement for raid5 ppl, imsm, and
  general mdadm code,
  0038-mdadm-Create-declaring-an-existing-struct-within-sam.patch
  0039-Create-Fixup-bad-placement-of-logical-in-multi-line-.patch
  0040-Create-Fixup-various-whitespace-issues.patch
  0041-mdadm.c-fix-compile-warning-mdfd-is-uninitialized.patch
  0042-mdopen-use-parameters-new_array-to-create-arrays-whe.patch
  0043-mdadm-manpage-update-manpage-for-readonly-parameter.patch
  0044-mdadm-manpage-clustered-arrays-don-t-support-array-s.patch
  0045-maps-Terminate-modes-map-correctly.patch
  0046-Grow_continue_command-ensure-content-is-properly-ini.patch
  0047-systemd-mdadm-last-resort-use-ConditionPathExists-in.patch
  0048-Detail-ensure-export-names-are-acceptable-as-shell-v.patch
  0049-Grow-set-component-size-prior-to-array-size.patch
  0050-Grow-don-t-allow-to-enable-PPL-when-reshape-is-in-pr.patch
  0051-Grow-don-t-allow-array-geometry-change-with-ppl-enab.patch
  0052-IMSM-Correct-examine-output-for-4k-disks.patch
  0053-imsm-allow-drives-in-a-container-regardless-of-secto.patch
  0054-imsm-allocate-buffer-to-support-maximum-sector-size.patch
  0055-imsm-don-t-allow-disks-with-different-sector-size-in.patch
  0056-mdadm-mdmon-deleted-the-abort_reshape-never-invoked.patch
  0057-util-Introduce-md_get_array_info.patch
  0058-Incremental-Remove-redundant-call-for-GET_ARRAY_INFO.patch
  0059-util-Introduce-md_get_disk_info.patch
  0060-util-Introduce-md_set_array_info.patch
  0061-md_u-Remove-some-unused-ioctl-declarations.patch
  0062-mdadm-grow-reshape-would-be-stuck-from-raid1-to-raid.patch
  0063-sysfs-Use-the-presence-of-sys-block-dev-md-as-indica.patch
  0064-sysfs-Make-sysfs_init-return-an-error-code.patch
  0065-util-must_be_container-Use-sysfs_read-GET_VERSION-to.patch
  0066-util-set_array_info-Simplify-code-since-md_get_versi.patch
  0067-Assemble-Assemble-Stop-checking-kernel-md-driver-ver.patch
  0068-Build-Stop-bothering-about-supporting-md-driver-olde.patch
  0069-Grow-Stop-bothering-about-md-driver-versions-older-t.patch
  0070-Detail-Stop-bothering-about-md-drivers-older-than-0..patch
  0071-Create-Remove-all-attemps-to-handle-md-driver-older-.patch
  0072-Manage-Remove-all-references-to-md_get_version.patch
  0073-Query-Remove-all-references-to-md_get_version.patch
  0074-bitmap-Remove-use-of-md_get_version.patch
  0075-mdmon-Stop-bothering-about-md_get_version.patch
  0076-mdopen-open_mddev-Use-md_get_array_info-to-determine.patch
  0077-mdassemble-Use-md_get_array_info-to-check-for-valid-.patch
  0078-Assemble-Assemble-Get-rid-of-last-use-of-md_get_vers.patch
  0079-util-Finally-kill-off-md_get_version.patch
  0080-mdadm-Fail-for-kernels-older-than-2.6.15.patch
  0081-Revert-mdadm-grow-reshape-would-be-stuck-from-raid1-.patch
  0082-Retire-mdassemble.patch
  0083-super1-Clean-up-various-style-abuses.patch
  0084-Detail-Remove-pre-2.6-code-for-printing-info-on-rebu.patch
  0085-Assemble-Remove-obsolete-test-for-kernels-older-than.patch
  0086-Detail-Fixup-ugly-if-foo-abuse.patch
  0087-Query-Handle-error-returned-by-fstat.patch
  0088-Query-Use-sysfs-to-obtain-data-if-possible.patch
  0089-sysfs-Parse-array_state-in-sysfs_read.patch
  0090-util-Introduce-md_array_active-helper.patch
  0091-maps-Use-keyvalue-for-null-terminator-to-indicate-un.patch
  0092-util-Get-rid-of-unused-enough_fd.patch
  0093-mdadm-retire-mdassemble-in-make-everything.patch
  0094-Query-Quiet-gcc-since-it-cannot-know-errno-0-in-this.patch
  0095-Makefile-Default-to-O2-optimization.patch
  0096-maps-Simplify-implementation-of-map_name.patch
  0097-Don-t-use-UnSet-with-consistency_policy.patch
  0098-Detail-determine-array-state-from-sysfs.patch
  0099-Detail-Respect-code-lines-are-80-character-wide.patch
  0100-Detail-Reinstate-support-for-not-having-sysfs.patch
  0101-Incremental-Use-md_array_active-where-applicable.patch
  0102-Incremental-Cleanup-some-if-statement-spaghetti.patch
  0103-Create-tell-udev-md-device-is-not-ready-when-first-c.patch
  0104-Incremental-Use-md_array_active-to-determine-state-o.patch
  0105-Manage-Manage_ro-Use-md_array_active.patch
  0106-IMSM-Initialize-my_vol_raid_dev_num-during-vol-creat.patch
  0107-Grow-Grow_continue_command-Avoid-aliasing-array-vari.patch
  0108-change-back-0644-permission-for-Grow.c.patch
  0109-util-md_array_valid-Introduce-md_array_valid-helper.patch
  0110-kernel-patch-Remove-obsolete-kernel-patches-against-.patch
  0111-mdassemble-Kill-off-the-last-remains.patch
  0112-mdadm-util-unify-fstat-checking-blkdev-into-function.patch
  0113-mdadm-util-unify-stat-checking-blkdev-into-function.patch
  0114-Fix-typo-in-new-udev-rule.patch
  0115-Incremental-return-is-not-a-function.patch
  0116-sysfs-sysfs_read-Count-active_disks-and-failed_disks.patch
  0117-container_members_max_degradation-Switch-to-using-sy.patch
  0118-IncrementalScan-Use-md_array_active-instead-of-md_ge.patch
  0119-Mention-endian-in-documentation-for-update-byte-orde.patch
  0120-Monitor-Use-md_array_active-instead-of-manually-fidd.patch
  0121-Monitor-Code-is-80-characters-per-line.patch
  0122-mdadm-md.4-set-page-length-as-1000-to-avoid-warnings.patch
  0123-Allow-more-spare-selection-criteria.patch
  0124-Add-sector-size-as-spare-selection-criterion.patch
  0125-Monitor-check_array-Centralize-exit-path.patch
  0126-Monitor-check_array-Reduce-duplicated-error-handling.patch
  0127-Monitor-check_array-Declate-mdinfo-instance-globally.patch
  0128-Monitor-check_array-Read-sysfs-entry-earlier.patch
  0129-Monitor-check_array-Obtain-RAID-level-from-syfs.patch
  0130-Monitor-check_array-Get-failed_disks-from-sysfs.patch
  0131-Monitor-check_array-Get-array_disks-from-sysfs.patch
  0132-Monitor-check_array-Get-nr_disks-active_disks-and-sp.patch
  0133-sysfs-sysfs_read-Count-working_disks.patch
  0134-Monitor-check_array-Use-working_disks-from-sysfs.patch
  0135-retire-the-APIs-that-driver-no-longer-supports.patch
  0136-Monitor-Not-much-point-declaring-mdlist-in-both-fork.patch
  0137-Monitor-mailfrom-is-initialized-correctly.patch
  0138-Monitor-Fixup-a-pile-of-whitespace-issues.patch
  0139-mdadm-Uninitialized-variable-rdev.patch
  0140-super-ddf-sysfs_read-takes-a-pointer-as-device-name-.patch
  0141-mdadm-Fixup-a-large-number-of-bad-formatting-of-logi.patch
  0142-mdadm-Fixup-more-broken-logical-operator-formatting.patch
  0143-mdadm-Fix-broken-formatting.patch
  0144-mdadm-Fixup-broken-formatting.patch
  0145-Detail-don-t-exit-if-ioctl-has-been-successful.patch
  0146-super1-fix-sb-max_dev-when-adding-a-new-disk-in-line.patch
  0147-md_u-Remove-unused-ioctl-declaration-of-START_ARRAY.patch
  0148-Get-failed-disk-count-from-array-state.patch
  0149-Monitor-don-t-assume-mdadm-parameter-is-a-block-devi.patch
  0150-super1-Always-round-data-offset-to-1M.patch
  0151-mdadm-r5cache-allow-adding-journal-to-array-without-.patch 
  0152-udev-rules-introduce-rules-for-cluster-md-to-confirm.patch
  0153-Detail-correct-output-for-active-arrays.patch
  0154-imsm-rebuild-from-2-disk-RAID10.patch (bsc#1069165)
  0155-Error-messages-should-end-with-a-newline-character.patch
  0156-Use-correct-syntax-for-passing-DEVLINKS-to-mdadm-fro.patch
  0157-super1-only-set-clustered-flag-when-bitmap-is-presen.patch
  0158-Don-t-use-exit-ERANGE.patch
  0159-Monitor-containers-don-t-have-the-same-sysfs-propert.patch
  0160-Monitor-Include-containers-in-spare-migration.patch
  0161-Detail-differentiate-between-container-and-inactive-.patch
  0162-mdadm-install-two-more-udev-rules-in-mdadm.spec.patch
  0163-mdadm-set-journal_clean-after-scanning-all-disks.patch
  0164-mdadm-bitmap-examine-bitmap-failed-when-bitmap-is-ex.patch
  0165-mdopen-call-modprobe-md_mod-if-it-might-be-needed.patch
  0166-lib-devid2kname-should-take-a-dev_t.patch
  0167-sysfs_init_dev-take-a-dev_t-argument.patch
  0168-Manage_subdevs-Use-a-dev_t.patch
  0169-util-Code-is-80-characters-wide.patch
  0170-Close-mdfd-before-returning-main-function.patch
  0171-Grow-stop-previous-reshape-process-first.patch
  0172-imsm-New-disk-controller-domains.patch
  0173-Monitor-Check-redundancy-for-arrays.patch
  0174-mdadm-grow-Component-size-must-be-larger-than-chunk-.patch
  0175-mdadm-manpage-disable-bitmap_resize-for-external-fil.patch
  0176-mdadm-fixes-some-trivial-typos-in-comments.patch
  (The following 12 patches are specifically for bsc#1068030)
  0177-Don-t-abort-starting-the-array-if-kernel-does-not-su.patch
  0178-super1-Add-support-for-multiple-ppls.patch
  0179-imsm-Add-support-for-multiple-ppls.patch
  0180-imsm-validate-multiple-ppls-during-assemble.patch
  0181-Zeroout-whole-ppl-space-during-creation-force-assemb.patch
  0182-imsm-switch-to-multiple-ppls-automatically-during-as.patch
  0183-Grow-fix-switching-on-PPL-during-recovery.patch
  0184-imsm-don-t-skip-resync-when-an-invalid-ppl-header-is.patch
  0185-imsm-Write-empty-PPL-header-if-assembling-regular-cl.patch
  0186-imsm-always-do-ppl-recovery-when-starting-a-rebuildi.patch
  0187-imsm-use-correct-map-when-validating-ppl.patch
  0188-imsm-write-initial-ppl-on-a-disk-added-for-rebuild.patch
  0189-Grow-Use-all-80-characters.patch
  0190-imsm-Set-disk-slot-number.patch
  (The following 1 patch is specifically for bsc#1069167)
  0191-mdmon-get-safe-mode-delay-file-descriptor-early.patch
  0192-mdadm-mdstat-fixup-a-number-of-broken-formatting.patch
  0193-mdadm-mdstat-correct-the-strncmp-number-4-as-6.patch
  0194-mdcheck-add-some-logging.patch
  0195-mdcheck-improve-cleanup.patch
  0196-Move-mdadm_env.sh-out-of-usr-lib-systemd.patch
  0197-mdadm-grow-adding-a-test-to-ensure-resize-was-requir.patch
  0198-mdadm-mdopen-create-new-function-create_named_array-.patch
  0199-systemd-add-I-to-description-of-mdadm-last-resort-se.patch
  0200-Incremental-Use-validate_geometry-instead-of-avail_s.patch
  0201-imsm-fix-reading-scsi-serial.patch
  0202-To-support-clustered-raid10.patch
  0203-imsm-More-precise-message-when-spanned-raid-is-creat.patch
  0204-sysfs-include-faulty-drive-in-disk-count.patch
  0205-Monitor-msg-Don-t-print-error-message-if-mdmon-doesn.patch
  0206-imsm-continue-resync-on-3-disk-RAID10.patch

OBS-URL: https://build.opensuse.org/request/show/548207
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=156
2017-12-04 21:26:22 +00:00
Neil Brown
81b5777cbc Accepting request 545003 from home:gqjiang:branches:Base:System
For fate#316335: Add udev rules for cluster-md to confirm device

OBS-URL: https://build.opensuse.org/request/show/545003
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=154
2017-11-24 04:12:35 +00:00
Neil Brown
ee7d0fd7bc Accepting request 544686 from home:RBrownSUSE:branches:Base:System
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544686
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=153
2017-11-23 22:53:57 +00:00
Neil Brown
108637af2d Accepting request 542977 from home:gqjiang:branches:Base:System
For fate 323171: To support clustered raid10

OBS-URL: https://build.opensuse.org/request/show/542977
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=152
2017-11-21 22:02:35 +00:00
Neil Brown
850cf2857b Accepting request 517978 from home:colyli:branches:Base:System
- SLE15 continues to use mdadm-4.0, synchronize mdadm package from
  SLE12-SP3 to SLE15, re-order all patches.
- Rename the following patches, they are deleted and re-add in next
  part of patches
    0001-Generic-support-for-consistency-policy-and-PPL.patch
    0002-Detail-show-consistency-policy.patch
    0002-The-mdcheck-script-now-adds-messages-to-the-system.patch
    0003-imsm-PPL-support.patch
    0004-super1-PPL-support.patch
    0005-Add-ppl-and-no-ppl-options-for-update.patch
    0006-Grow-support-consistency-policy-change.patch
    0007-udev-md-raid-assembly.rules-Skip-non-ready-devices.patch
    0008-Retry-HOT_REMOVE_DISK-a-few-times.patch
    0009-Introduce-sys_hot_remove_disk.patch
    0010-Add-force-flag-to-hot_remove_disk.patch
    0011-Detail-handle-non-existent-arrays-better.patch
- Synchronize patches from mdadm of SLE12-SP3, the above renamed
  patches are re-add here,
    0001-Makefile-Fix-date-to-be-output-in-ISO-format.patch
    0002-imsm-fix-missing-error-message-during-migration.patch
    0003-Fix-oddity-where-mdadm-did-not-recognise-a-relative-.patch
    0004-mdadm-check-the-nodes-when-operate-clustered-array.patch
    0005-examine-tidy-up-some-code.patch
    0006-mdadm-add-man-page-for-symlinks.patch
    0007-mdadm-add-checking-clustered-bitmap-in-assemble-mode.patch
    0008-mdadm-Add-Wimplicit-fallthrough-0-in-Makefile.patch
    0009-mdadm-Specify-enough-length-when-write-to-buffer.patch
    0010-mdadm-it-doesn-t-make-sense-to-set-bitmap-twice.patch
    0011-mdadm-Monitor-Fix-NULL-pointer-dereference-when-stat.patch
    0012-Replace-snprintf-with-strncpy-at-some-places-to-avoi.patch

OBS-URL: https://build.opensuse.org/request/show/517978
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=150
2017-08-22 22:29:34 +00:00
Neil Brown
14365c87c1 - DELETE 0001-super1-Clear-memory-allocated-for-superblock-bitmap-.patch
this was included upstream

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=148
2017-03-27 03:46:18 +00:00
Neil Brown
35f025d42c - New upstream release 4.0
Multiple bugfixes and various enhancements
  including IMSM support for bad blocks and 4K block devices.
  (FATE#321941)
- 0001-Generic-support-for-consistency-policy-and-PPL.patch
- 0002-Detail-show-consistency-policy.patch
- 0003-imsm-PPL-support.patch
- 0004-super1-PPL-support.patch
- 0005-Add-ppl-and-no-ppl-options-for-update.patch
- 0006-Grow-support-consistency-policy-change.patch
   Add support for Partial Parity Logs
   (FATE#321941)
- 0007-udev-md-raid-assembly.rules-Skip-non-ready-devices.patch
   (bsc#956236)
- 0008-Retry-HOT_REMOVE_DISK-a-few-times.patch
   (bsc#808647)
- 0009-Introduce-sys_hot_remove_disk.patch
   (bsc#974154)
- 0010-Add-force-flag-to-hot_remove_disk.patch
   (bsc#808647)
- 0011-Detail-handle-non-existent-arrays-better.patch
   (bsc#966773)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=147
2017-03-27 03:26:19 +00:00
Neil Brown
8b210c1683 Accepting request 404074 from home:wmerriam:branches:Base:System
Added messages to mdcheck script to report progess to system log.  Also submitted to linux-raid@vger.kernel.org

OBS-URL: https://build.opensuse.org/request/show/404074
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=145
2016-07-15 01:40:06 +00:00
45e5d429bd Accepting request 396989 from home:jengelh:branches:T
- Do not list XXX@.service files for anything but service_del_preun.

OBS-URL: https://build.opensuse.org/request/show/396989
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=143
2016-05-23 15:21:59 +00:00
Neil Brown
e3c4b80f93 - Don't list XXX@.server files for service_add/del
They cannot be restarted by systemctl as they are
  just templates.  They don't need to be restarted
  at reinstall anyway.
  (bsc#979749)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=142
2016-05-20 05:16:52 +00:00
Neil Brown
2367da7f16 - New upstream release mdadm-3.4
Adds support for clustered-raid1 and journalled raid5
- 0001-super1-Clear-memory-allocated-for-superblock-bitmap-.patch
  Important upstream bugfix relating to uninialised memory.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=140
2016-05-04 05:00:38 +00:00
Neil Brown
9fe4d5b409 Accepting request 349012 from home:tiwai:branches:Base:System
- Add missing pre-requres for initrd macros (boo#958562)

OBS-URL: https://build.opensuse.org/request/show/349012
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=138
2015-12-15 21:28:50 +00:00
Stephan Kulow
7773c657a3 Accepting request 330895 from home:dimstar:Factory
- Own %{_systemdshutdowndir} in case nothing else does. This
  ensures build success even if systemd-mini does not own it
  (happens in some versions of our package).

OBS-URL: https://build.opensuse.org/request/show/330895
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=136
2015-09-19 06:35:27 +00:00
f0b1949aef Accepting request 328239 from home:dimstar:Factory
- Do not BuildRequire systemd: it conflicts with systemd-mini,
  pulled in by systemd-mini-devel (due to BuildRequires:
  pkgconfig(systemd)). The reason systemd was added as a
  buildrequires was for 'something' to onw
  /usr/lib/systemd/system-shutdown/; systemd-mini does that also
  for us.

OBS-URL: https://build.opensuse.org/request/show/328239
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=134
2015-09-10 10:26:14 +00:00
Neil Brown
298450c1f7 - new upstream version 3.3.4. Important bugfix
to honour IMSM ROM settings when RAID is disabled.
  (bsc#939748 bsc#937363)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=132
2015-08-03 06:34:23 +00:00
Neil Brown
7c84e71997 - new upstream version 3.3.3. Lots of bug fixes, particular
"mdadm --assemble --force" would often not do the right thing
  for RAID5.
-  0001-Grow-Do-not-try-to-restart-if-reshape-is-running.patch
   0001-Grow-fix-removal-of-line-in-wrong-case.patch
   0001-IMSM-Add-warning-message-when-assemble-spanned-conta.patch
   0001-Makefile-install-mdadm-grow-continue-.service.patch
   mdcheck-careful.patch
   mdcheck-no-devices.fix
   All removed as now included upstream.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=131
2015-07-27 05:12:21 +00:00
Dr. Werner Fink
3d978b3d96 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=130
2015-07-13 09:20:46 +00:00
Neil Brown
8b4d8b0693 Accepting request 288571 from home:mgorse:branches:Base:System
- 0001-IMSM-Add-warning-message-when-assemble-spanned-conta.patch
  (bnc#882634)
- 0001-Grow-Do-not-try-to-restart-if-reshape-is-running.patch
  (bnc#887773)

Found these while looking through sle for things which should
probably go into openSUSE.

OBS-URL: https://build.opensuse.org/request/show/288571
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=128
2015-03-04 05:40:10 +00:00
Neil Brown
0fbbbc9233 - mdcheck-careful.patch
Be careful about reading all output of "mdadm --detail --export"
  as shell commands - it isn't quoted.
  (bnc#910500)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=126
2015-02-03 23:41:59 +00:00
Neil Brown
246689df82 - mdcheck-no-devices.fix
mdcheck mustn't report an error if not md devices
  exist (bnc#903051)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=124
2014-11-03 00:26:47 +00:00
Neil Brown
5353775bea - cron.d.mdadm: add correct PATH setting
(bnc#898239)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=122
2014-09-29 01:24:00 +00:00
Neil Brown
2c15bc8dc2 - Add cron job to run 'mdcheck' regularly to
verify all md arrays. (bnc#869261)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=120
2014-09-16 01:06:21 +00:00
Neil Brown
252d4aff0d Accepting request 242360 from home:posophe:branches:Base:System
- Remove insserv dependency; the package has been moved to systemd
  init system
- Remove redundant %clean section

OBS-URL: https://build.opensuse.org/request/show/242360
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=118
2014-07-25 21:09:40 +00:00
OBS User buildservice-autocommit
18396eb711 Accepting request 239413 from Base:System
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/239413
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=116
2014-07-12 15:14:20 +00:00
OBS User buildservice-autocommit
0accd6ce31 Updating link to change in openSUSE:Factory/mdadm revision 92.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=4a1fbabd751d27bf803b138c748e7616
2014-07-12 15:14:20 +00:00
Neil Brown
73c5df56d5 - Remove mkinitrd scripts again. "libguestfs" now
includes them so "guestfs" does not need us to.
  (bnc#883873)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=115
2014-07-07 01:53:50 +00:00
Neil Brown
2f00f4a9dc - 0001-Grow-fix-removal-of-line-in-wrong-case.patch
(bnc#881530)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=114
2014-06-26 03:46:07 +00:00
Neil Brown
84bbd33f6a - add mkinitrd scripts back in. They are needed by
"guestfs"
  (bnc#883873)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=113
2014-06-26 02:54:59 +00:00
Neil Brown
1f1a89c2f8 - mdadm.spec: change calling of mkinitrd to use the
%regenerate_initrd_{post,posttrans} macros to optimise
  initrd regeneration. (bnc#881780)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=111
2014-06-12 02:09:59 +00:00
Neil Brown
f8d060f40b Really remove the mkinitrd scripts
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=110
2014-06-10 11:17:34 +00:00
Neil Brown
c5ea449a91 - 0001-Makefile-install-mdadm-grow-continue-.service.patch
make sure mdadm-grow-continue.service is installed properly.
- remove mkinitrd files, we now use dracut

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=109
2014-06-10 11:05:25 +00:00
Neil Brown
50a71fa70b - new upstream release 3.3.1, incorporates all current patches
and includes assorted other minor fixes.
- Delete  0001-Assemble-allow-load_devices-to-change-the-st-which-i.patch
- Delete  0001-DDF-mark-missing-on-assembly-device-properly.patch
- Delete  0001-mdmon-.service-Change-type-of-process-start-up-to-fo.patch
- Delete  0001-systemd-various-fixes-for-boot-with-container-arrays.patch
- Delete  0002-Assemble-re-arrange-freeing-of-tst-in-load_devices.patch
- Delete  0002-DDF-guard-against-pdnum-being-negative.patch
- Delete  0003-Assemble-change-load_devices-to-return-most_recent-s.patch
- Delete  0003-DDF-fix-possible-mdmon-crash-when-updating-metadata.patch
- Delete  0003-Work-around-architectures-having-statfs.f_type-defin.patch
- Delete  0004-DDF-Don-t-fail-compare_super_ddf-due-to-re-configure.patch
- Delete  0004-DDF-report-seq-counter-as-events.patch
- Delete  0005-DDF-when-first-activating-an-array-record-any-missin.patch
- Delete  Assembe-fix-bug-in-force_array-it-wasn-t-forcing-pro.patch
- Delete  Assemble-Incremental-don-t-hold-O_EXCL-on-mddev-afte.patch
- Delete  Assemble-avoid-infinite-loop-when-auto-assembling-pa.patch
- Delete  DDF-add_to_super_ddf-be-careful-with-workspace_lba.patch
- Delete  DDF-allow-for-possibility-that-there-is-no-secondary.patch
- Delete  DDF-brief_examine_subarrays_ddf-print-array-name.patch
- Delete  DDF-compare_super_ddf-fix-sequence-number-check.patch
- Delete  DDF-factor-out-array-name-generation.patch
- Delete  DDF-fix-detection-of-failed-devices-during-assembly.patch
- Delete  DDF-handle-fake-RAIDs-with-changing-subarray-UUIDs.patch
- Delete  DDF-really-ignore-DDF-metadata-on-partitions.patch
- Delete  Grow-fix-problems-with-prematurely-aborting-of-resha.patch
- Delete  IMSM-don-t-crash-when-creating-an-array-with-missing.patch
- Delete  Incremental-add-export-handling.patch
- Delete  Incremental-improve-support-for-DEVICE-based-restric.patch
- Delete  Make-IRs-and-run-work-properly-for-containers.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=108
2014-06-10 04:08:57 +00:00
Neil Brown
19460dbde5 - 0001-systemd-various-fixes-for-boot-with-container-arrays.patch
various fixes to improve boot-from-DDF or IMSM
  (bnc#866660)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=106
2014-04-08 07:39:43 +00:00
Neil Brown
ceac01b560 - 0001-DDF-mark-missing-on-assembly-device-properly.patch
- 0002-DDF-guard-against-pdnum-being-negative.patch
- 0003-DDF-fix-possible-mdmon-crash-when-updating-metadata.patch
- 0004-DDF-Don-t-fail-compare_super_ddf-due-to-re-configure.patch
  More upstream DDF fixes (bnc#866660)

- 0001-mdmon-.service-Change-type-of-process-start-up-to-fo.patch
- 0003-Work-around-architectures-having-statfs.f_type-defin.patch
- 0004-DDF-report-seq-counter-as-events.patch
- 0005-DDF-when-first-activating-an-array-record-any-missin.patch
  Two fixes for DDF (bnc#866660) and a couple of other upstream fixes
  just for good measure.

- 0001-Assemble-allow-load_devices-to-change-the-st-which-i.patch
  0002-Assemble-re-arrange-freeing-of-tst-in-load_devices.patch
  0003-Assemble-change-load_devices-to-return-most_recent-s.patch
  Allow RAID5 to be assembled even when firs device listed recently
  failed (bnc#865221)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=105
2014-04-02 06:19:16 +00:00
Neil Brown
965afc5e88 Add %fillup_only back in
I removed %fillup_and_insserv but only really wanted to remove %insserv.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=103
2014-01-23 09:31:18 +00:00
Neil Brown
32adf105ab - remove boot.md. It no longer does anything useful.
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=102
2014-01-22 23:46:10 +00:00
Neil Brown
702c57405a - mdmonitor
run "mdadm --monitor" from systemd instead of init.d
  sciprt (bnc#849523)
- remove mdadmd due to above.
- udev-rules-try-mdadm-I-on-change-events.patch
  (bnc#851993)
- policy-NULL-path-isn-t-really-acceptable-use-the-dev.patch
- DDF-really-ignore-DDF-metadata-on-partitions.patch
- Assemble-avoid-infinite-loop-when-auto-assembling-pa.patch
- DDF-fix-detection-of-failed-devices-during-assembly.patch
- Grow-fix-problems-with-prematurely-aborting-of-resha.patch
- IMSM-don-t-crash-when-creating-an-array-with-missing.patch
- mdmon-don-t-complain-about-notifying-parent-when-the.patch
- systemd-mdmon-set-IMSM_NO_PLATFORM-1.patch
- mdmon-.service-remove-over-ride-of-Standard-IO.patch
  Various upstream bug fixes.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=101
2014-01-22 04:59:00 +00:00
Neil Brown
976798c0df - Assemble-Incremental-don-t-hold-O_EXCL-on-mddev-afte.patch
Ensure fsck/mount don't find an md array to be BUSY
  the moment it appears.
- mkinitrd-setup.sh: Make the array device names in
  /etc/mdadm.conf in the initrd match those in /etc/mdadm.conf
  in the root filesystem.  (bnc#851993)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=99
2013-12-04 23:59:54 +00:00
Neil Brown
b646ad77a6 - Restructure-assemble_container_content-and-improve-m.patch
- Incremental-add-export-handling.patch
- udev-rules.degraded
- systemd-mdadm-last-resort@.service
- systemd-mdadm-last-resort@.timer
  Teach systemd to start degraded arrays after a timeout if
  some missing devices never appear (bnc#832501)
- Incremental-improve-support-for-DEVICE-based-restric.patch
  Teach "mdadm --incremental" to handle "DEVICE" lists from
  mdadm.conf properly (bnc@851993)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=98
2013-12-03 03:13:54 +00:00
Neil Brown
9eeca8cc12 - DDF-handle-fake-RAIDs-with-changing-subarray-UUIDs.patch
- DDF-compare_super_ddf-fix-sequence-number-check.patch
- Monitor-don-t-set-arrays-dirty-after-transition-to-r.patch
- DDF-add_to_super_ddf-be-careful-with-workspace_lba.patch
- Monitor-write-meta-data-in-readonly-state-sometimes.patch
- Assembe-fix-bug-in-force_array-it-wasn-t-forcing-pro.patch
  Various bugfixes from upstream - several to improve
  DDF support, one which fixes a nasty bug in "--assemble --force".

- DDF-brief_examine_subarrays_ddf-print-array-name.patch
  DDF-factor-out-array-name-generation.patch
  Include name in "-Db" output for DDF
  FATE#316007

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=96
2013-11-11 00:47:33 +00:00
Neil Brown
8efa38dd9e - DDF-allow-for-possibility-that-there-is-no-secondary.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=94
2013-09-13 10:39:56 +00:00
Neil Brown
231108cf6e Multiple fixes for mdadm:
- upstream bugfixes in 3.3
 - simplify array assembly in initrd and normal boot.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=93
2013-09-13 01:49:53 +00:00
Neil Brown
b5f32620da - mkinitd-boot.sh: Clear {root,resume}_major variable
If multipath is in use, md is always on top of it. Therefore, the root
  device is always an md device. (bnc#786526)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=91
2013-09-09 03:08:27 +00:00
Neil Brown
984ab4d563 - mkinitrd-setup.sh: copy new udev rules files into
the initrd.
  The "mkinitrd" package does this for the old name.
  It is easier if this packages does it for the files
  this package installs.
  (bnc#838777)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=90
2013-09-06 04:05:58 +00:00
Neil Brown
378c6a0dcb Hot-replace support and more.
Removes patches:
    assemble-EXCL-race.fix
    0001-Add-support-for-launching-mdmon-via-systemctl-instea.patch
    0002-In-case-launching-mdmon-fails-print-an-error-message.patch
    0003-mdmon-add-foreground-option.patch
    0004-Suppress-error-messages-from-systemctl.patch
  which were backports from upstream.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=88
2013-09-04 03:21:19 +00:00
Neil Brown
abc5af37bf - New upstream release - mdadm-3.3
Lot of improvements to --grow and DDF support.
  Better interaction with systemd.
  Hot-replace support
  and more.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=87
2013-09-03 05:46:59 +00:00
Neil Brown
e25ca3c260 - assemble-EXCL-race.fix: avoid some races during
array assembled- particularly at boot (bnc#793954)
- boot.md: make sure systemd-udev-trigger runs before
  boot.md to avoid races: bnc#793954
- mdmon@.service - new file plus patches to allow
  mdmon to be started by systemd, so it doesn't
  kill it (bnc#321366)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=85
2013-06-13 04:16:10 +00:00
cd373fb85d Accepting request 171084 from home:namtrac:bugfix
- Add Source URL, see https://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/171084
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=83
2013-04-17 08:05:12 +00:00
Neil Brown
d0fbf8cdcd Accepting request 156539 from home:babelworx:ldig:branches:Base:System
license update: GPL-2.0
mdadm/Software-RAID.HOWTO.tar.bz2

OBS-URL: https://build.opensuse.org/request/show/156539
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=81
2013-02-27 22:27:08 +00:00
Cristian Rodríguez
d633f700ad Accepting request 140064 from home:elvigia:branches:Base:System
- Fix factory breakage on udev and systemd rules.

OBS-URL: https://build.opensuse.org/request/show/140064
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=79
2012-11-04 02:24:36 +00:00