Commit Graph

285 Commits

Author SHA256 Message Date
Dominique Leuenberger
76ee963662 Accepting request 816923 from Base:System
OBS-URL: https://build.opensuse.org/request/show/816923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=122
2020-06-26 19:45:28 +00:00
4bdb26e052 Accepting request 816431 from home:colyli:branches:Base:System
- OnCalendar format fix of mdcheck_start.timer (bsc#1173137)
  1002-OnCalendar-format-fix-of-mdcheck_start-timer.patch

- Detail: adding sync status for cluster device
  (bsc#1163727)
  0072-Detail-adding-sync-status-for-cluster-device.patch
- Monitor: improve check_one_sharer() for checking duplicated process
  (bsc#1168953)
  0071-Monitor-improve-check_one_sharer-for-checking-duplic.patch

OBS-URL: https://build.opensuse.org/request/show/816431
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=185
2020-06-25 05:43:47 +00:00
Dominique Leuenberger
c7b443bae4 Accepting request 788735 from Base:System
- Don't list XX@.services even for sevice_del_preun
  They cannot be stopped without an instance name,
  so there is no value in listing them, and it causes
  and error with "rpm -e mdadm --nodeps".
  (bsc#1093163)

- Update for latest mdadm-4.1+ patches, this is required by
  jsc#SLE-10078 and jsc#SLE-9348. Mostly the purpose is for
  latest Intel IMSM raid support.
  The following patches also include previous patches with
  new re-ordered prefix numbers.
- Makefile: install mdadm_env.sh to /usr/lib/mdadm (bsc#1111960)
  0000-Makefile-install-mdadm_env.sh-to-usr-lib-mdadm.patch
- Assemble: keep MD_DISK_FAILFAST and MD_DISK_WRITEMOSTLY flag
  (jsc#SLE-10078, jsc#SLE-9348)
  0001-Assemble-keep-MD_DISK_FAILFAST-and-MD_DISK_WRITEMOST.patch
- Document PART-POLICY lines (jsc#SLE-10078, jsc#SLE-9348)
  0002-Document-PART-POLICY-lines.patch
- policy: support devices with multiple paths.
  (jsc#SLE-10078, jsc#SLE-9348)
  0003-policy-support-devices-with-multiple-paths.patch
- mdcheck: add systemd unit files to run mdcheck. (bsc#1115407)
  0004-mdcheck-add-systemd-unit-files-to-run-mdcheck.patch
- Monitor: add system timer to run --oneshot periodically (bsc#1115407)
  0005-Monitor-add-system-timer-to-run-oneshot-periodically.patch
- imsm: update metadata correctly while raid10 double
  (jsc#SLE-10078, jsc#SLE-9348)
  0006-imsm-update-metadata-correctly-while-raid10-double-d.patch
- Assemble: mask FAILFAST and WRITEMOSTLY flags when finding
  (jsc#SLE-10078, jsc#SLE-9348)

OBS-URL: https://build.opensuse.org/request/show/788735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=121
2020-03-31 15:31:45 +00:00
Neil Brown
88011c48fa 0002-Document-PART-POLICY-lines.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=183
2020-03-27 03:57:30 +00:00
Neil Brown
76fcedc045 - Don't list XX@.services even for sevice_del_preun
They cannot be stopped without an instance name,
  so there is no value in listing them, and it causes
  and error with "rpm -e mdadm --nodeps".
  (bsc#1093163)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=182
2020-03-27 03:54:58 +00:00
Neil Brown
2e35d7583b Accepting request 781064 from home:colyli:branches:Base:System
- Update for latest mdadm-4.1+ patches, this is required by
  jsc#SLE-10078 and jsc#SLE-9348. Mostly the purpose is for
  latest Intel IMSM raid support.
  The following patches also include previous patches with
  new re-ordered prefix numbers.
- Makefile: install mdadm_env.sh to /usr/lib/mdadm (bsc#1111960)
  0000-Makefile-install-mdadm_env.sh-to-usr-lib-mdadm.patch
- Assemble: keep MD_DISK_FAILFAST and MD_DISK_WRITEMOSTLY flag
  (jsc#SLE-10078, jsc#SLE-9348)
  0001-Assemble-keep-MD_DISK_FAILFAST-and-MD_DISK_WRITEMOST.patch
- Document PART-POLICY lines (jsc#SLE-10078, jsc#SLE-9348)
  0002-Document-PART-POLICY-lines.patc
- policy: support devices with multiple paths.
  (jsc#SLE-10078, jsc#SLE-9348)
  0003-policy-support-devices-with-multiple-paths.patch
- mdcheck: add systemd unit files to run mdcheck. (bsc#1115407)
  0004-mdcheck-add-systemd-unit-files-to-run-mdcheck.patch
- Monitor: add system timer to run --oneshot periodically (bsc#1115407)
  0005-Monitor-add-system-timer-to-run-oneshot-periodically.patch
- imsm: update metadata correctly while raid10 double
  (jsc#SLE-10078, jsc#SLE-9348)
  0006-imsm-update-metadata-correctly-while-raid10-double-d.patch
- Assemble: mask FAILFAST and WRITEMOSTLY flags when finding
  (jsc#SLE-10078, jsc#SLE-9348)
  0007-Assemble-mask-FAILFAST-and-WRITEMOSTLY-flags-when-fi.patch
- Grow: avoid overflow in compute_backup_blocks()
  (jsc#SLE-10078, jsc#SLE-9348)
  0008-Grow-avoid-overflow-in-compute_backup_blocks.patch
- Grow: report correct new chunk size. (jsc#SLE-10078, jsc#SLE-9348)
  0009-Grow-report-correct-new-chunk-size.patch

OBS-URL: https://build.opensuse.org/request/show/781064
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=181
2020-03-04 04:49:18 +00:00
Dominique Leuenberger
0db2180184 Accepting request 773542 from Base:System
- Create: add support for RAID0 layouts. (bsc#1162479)
  0015-Create-add-support-for-RAID0-layouts.patch
- Assemble: add support for RAID0 layouts. (bsc#1162479)
  0016-Assemble-add-support-for-RAID0-layouts.patch
- mdadm.8: add note information for raid0 growing operation
  (bsc#1129900)
  1002-mdadm.8-add-note-information-for-raid0-growing-opera.patch (forwarded request 771555 from colyli)

OBS-URL: https://build.opensuse.org/request/show/773542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=120
2020-02-15 21:24:27 +00:00
Neil Brown
ac9e955b11 Accepting request 771555 from home:colyli:branches:Base:System
- Create: add support for RAID0 layouts. (bsc#1162479)
  0015-Create-add-support-for-RAID0-layouts.patch
- Assemble: add support for RAID0 layouts. (bsc#1162479)
  0016-Assemble-add-support-for-RAID0-layouts.patch
- mdadm.8: add note information for raid0 growing operation
  (bsc#1129900)
  1002-mdadm.8-add-note-information-for-raid0-growing-opera.patch

OBS-URL: https://build.opensuse.org/request/show/771555
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=179
2020-02-11 22:29:07 +00:00
Dominique Leuenberger
d7e4fd63bc Accepting request 743911 from Base:System
- 0012-mdcheck-when-mdcheck_start-is-enabled-enable-mdcheck.patch
  0013-mdcheck-use-to-pass-variable-to-mdcheck.patch
  0014-SUSE-mdadm_env.sh-handle-MDADM_CHECK_DURATION.patch
 Improve mdcheck (bsc#1153258)

OBS-URL: https://build.opensuse.org/request/show/743911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=119
2019-11-03 10:20:29 +00:00
Neil Brown
89b8aa4b81 - 0012-mdcheck-when-mdcheck_start-is-enabled-enable-mdcheck.patch
0013-mdcheck-use-to-pass-variable-to-mdcheck.patch
  0014-SUSE-mdadm_env.sh-handle-MDADM_CHECK_DURATION.patch
 Improve mdcheck (bsc#1153258)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=177
2019-10-30 00:13:13 +00:00
Dominique Leuenberger
92b09a5ba9 Accepting request 689523 from Base:System
- imsm: finish recovery when drive with rebuild fails (bsc#1126975)
  0010-imsm-finish-recovery-when-drive-with-rebuild-fails.patch
- mdmon: don't attempt to manage new arrays when terminating
  (bsc#1127526)
  0011-mdmon-don-t-attempt-to-manage-new-arrays-when-termin.patch (forwarded request 689520 from colyli)

OBS-URL: https://build.opensuse.org/request/show/689523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=118
2019-04-03 07:23:57 +00:00
Neil Brown
a0854d5987 Accepting request 689520 from home:colyli:branches:Base:System
- imsm: finish recovery when drive with rebuild fails (bsc#1126975)
  0010-imsm-finish-recovery-when-drive-with-rebuild-fails.patch
- mdmon: don't attempt to manage new arrays when terminating
  (bsc#1127526)
  0011-mdmon-don-t-attempt-to-manage-new-arrays-when-termin.patch

OBS-URL: https://build.opensuse.org/request/show/689520
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=175
2019-03-29 04:09:44 +00:00
Stephan Kulow
cd02c22772 Accepting request 674340 from Base:System
- Detail.c: do not skip first character when calling xstrdup in
  Detail() (bsc#1123814)
  0009-Detail.c-do-not-skip-first-character-when-calling-xs.patch (forwarded request 673560 from colyli)

OBS-URL: https://build.opensuse.org/request/show/674340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=117
2019-02-24 16:04:53 +00:00
Neil Brown
c8e3386158 Accepting request 673560 from home:colyli:branches:Base:System
- Detail.c: do not skip first character when calling xstrdup in
  Detail() (bsc#1123814)
  0009-Detail.c-do-not-skip-first-character-when-calling-xs.patch

OBS-URL: https://build.opensuse.org/request/show/673560
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=173
2019-02-12 22:07:40 +00:00
Dominique Leuenberger
cc1bf93349 Accepting request 658682 from Base:System
- Update mdadm code base to mdadm-4.1
  (FATE#325869, bsc#1111960)
 - Assorted bug-fixes, minor improvements, and code cleanup
 - Add PPL support (alternate change-journalling model) (forwarded request 658654 from colyli)

OBS-URL: https://build.opensuse.org/request/show/658682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=116
2018-12-19 12:25:25 +00:00
Neil Brown
4a79c8d8ef Accepting request 658654 from home:colyli:branches:Base:System
- Update mdadm code base to mdadm-4.1
  (FATE#325869, bsc#1111960)
 - Assorted bug-fixes, minor improvements, and code cleanup
 - Add PPL support (alternate change-journalling model)

OBS-URL: https://build.opensuse.org/request/show/658654
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=171
2018-12-15 20:35:30 +00:00
Neil Brown
46b9e0c233 Accepting request 657206 from home:jengelh:branches:Base:System
- Update description. Remove references to historic software.

OBS-URL: https://build.opensuse.org/request/show/657206
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=170
2018-12-13 22:56:51 +00:00
Neil Brown
c827adab74 Report .xz with correct upstream copy.
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=169
2018-12-10 02:37:25 +00:00
Neil Brown
20d4d9c005 - 0001-Document-PART-POLICY-lines.patch
0002-policy-support-devices-with-multiple-paths.patch
  0008-policy.c-prevent-NULL-pointer-referencing.patch
  (bsc#1106078)
- 0003-mdcheck-add-systemd-unit-files-to-run-mdcheck.patch
  0004-Monitor-add-system-timer-to-run-oneshot-periodically.patch
  Remove mdadm.cron
  Remove crond.mdadm
  (bsc#1115407)
- 0005-imsm-update-metadata-correctly-while-raid10-double-d.patch
  0006-Grow-avoid-overflow-in-compute_backup_blocks.patch
  0007-Grow-report-correct-new-chunk-size.patch
  Other useful upstream patches.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=168
2018-12-10 02:29:03 +00:00
Neil Brown
435e702702 Accepting request 642552 from home:colyli:branches:openSUSE:Factory
- Remove the following code base and patches since they are in
  mdadm-4.1 already,
 - mdadm-4.0.tar.xz
 - 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
 - 0013-mdadm-Forced-type-conversion-to-avoid-truncation.patch
 - 0014-super1-ignore-failfast-flag-for-setting-device-role.patch
 - 0015-mdadm-bitmap-fixed-typos-in-comments-of-bitmap.h.patch
 - 0016-udev-md-raid-assembly.rules-Skip-non-ready-devices.patch
 - 0017-Retry-HOT_REMOVE_DISK-a-few-times.patch
 - 0018-mdadm-Build-check-the-level-parameter-when-build-new.patch
 - 0019-Introduce-sys_hot_remove_disk.patch
 - 0020-Add-force-flag-to-hot_remove_disk.patch
 - 0021-Detail-handle-non-existent-arrays-better.patch
 - 0022-Generic-support-for-consistency-policy-and-PPL.patch
 - 0023-Detail-show-consistency-policy.patch
 - 0024-imsm-PPL-support.patch
 - 0025-super1-PPL-support.patch
 - 0026-Add-ppl-and-no-ppl-options-for-update.patch
 - 0027-Grow-support-consistency-policy-change.patch

OBS-URL: https://build.opensuse.org/request/show/642552
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=167
2018-10-17 22:20:57 +00:00
Neil Brown
1bd371d7b6 Accepting request 642513 from home:colyli:branches:openSUSE:Factory
- Update mdadm code base to mdadm-4.1 (bsc#1111960)
- All backport patches are deleted since they are in mdadm-4.1
  already.
- Fix Makefile to install mdadm_env.sh to /usr/lib/mdadm/
  (bsc#1111960)
  0001-Makefile-install-mdadm_env.sh-to-usr-lib-mdadm.patch

- Add missing patches which exist in SLE12-SP3 and should be in
  SLE15 too,
  - mdadm: improve the dlm locking mechanism for clustered raid
    (bsc#1049126)
    0218-mdadm-improve-the-dlm-locking-mechanism-for-clustere.patch
  - Assemble: provide protection when clustered raid do assemble
    (bsc#1049126)
    0219-Assemble-provide-protection-when-clustered-raid-do-a.patch
  - Assemble: cleanup the failure path
    (bsc#1049126)
    0220-Assemble-cleanup-the-failure-path.patch
  - Assemble: remove the protection when clustered raid do assemble
    (bsc#1101348)
    0221-Assemble-remove-the-protection-when-clustered-raid-d.patch
  - 1001-display-timeout-status.patch 

- mdadm.spec
  Change %doc to %license for COPYING file, which was warned during
  'osc ci'. 

- imsm: change reserved space to 4MB
  (bsc#1101110)
  0212-imsm-change-reserved-space-to-4MB.patch

OBS-URL: https://build.opensuse.org/request/show/642513
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=166
2018-10-17 05:01:26 +00:00
Dominique Leuenberger
f48ab2f66a Accepting request 582467 from Base:System
mdadm: allow clustered raid10 to be created with default layout (forwarded request 582461 from gqjiang)

OBS-URL: https://build.opensuse.org/request/show/582467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=115
2018-03-07 09:30:13 +00:00
Neil Brown
db2444d5b4 Accepting request 582461 from home:gqjiang:branches:Base:System
mdadm: allow clustered raid10 to be created with default layout

OBS-URL: https://build.opensuse.org/request/show/582461
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=164
2018-03-05 04:52:43 +00:00
Dominique Leuenberger
97f2f8939f Accepting request 575332 from Base:System
- policy.c: Avoid to take spare without defined domain by imsm
  (bsc#1076588)
  0209-policy.c-Avoid-to-take-spare-without-defined-domain-.patch (forwarded request 575225 from colyli)

OBS-URL: https://build.opensuse.org/request/show/575332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=114
2018-02-12 09:25:04 +00:00
Neil Brown
91d5cd723f Accepting request 575225 from home:colyli:branches:Base:System
- policy.c: Avoid to take spare without defined domain by imsm
  (bsc#1076588)
  0209-policy.c-Avoid-to-take-spare-without-defined-domain-.patch

OBS-URL: https://build.opensuse.org/request/show/575225
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=162
2018-02-11 03:48:32 +00:00
Dominique Leuenberger
a0074746a0 Accepting request 562652 from Base:System
fix bug bsc#1074949 (forwarded request 562651 from zlliu)

OBS-URL: https://build.opensuse.org/request/show/562652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=113
2018-01-16 08:31:30 +00:00
Neil Brown
dfbf9b1f40 Accepting request 562651 from home:zlliu:branches:Base:System
fix bug bsc#1074949

OBS-URL: https://build.opensuse.org/request/show/562651
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=160
2018-01-09 05:05:57 +00:00
Dominique Leuenberger
f3c700a106 Accepting request 561488 from Base:System
- 0207-managemon-Don-t-add-disk-to-the-array-after-it-has-s.patch
  (bsc#1073862) (forwarded request 561438 from colyli)

OBS-URL: https://build.opensuse.org/request/show/561488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=112
2018-01-07 16:21:13 +00:00
Neil Brown
cc8c0b3bdf Accepting request 561438 from home:colyli:branches:Base:System
- 0207-managemon-Don-t-add-disk-to-the-array-after-it-has-s.patch
  (bsc#1073862)

OBS-URL: https://build.opensuse.org/request/show/561438
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=158
2018-01-03 23:48:54 +00:00
Dominique Leuenberger
f0e40e644e Accepting request 548348 from Base:System
OBS-URL: https://build.opensuse.org/request/show/548348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=111
2017-12-08 11:54:36 +00:00
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
Dominique Leuenberger
5ea47ed265 Accepting request 545008 from Base:System
For fate#316335: Add udev rules for cluster-md to confirm device (forwarded request 545003 from gqjiang)

OBS-URL: https://build.opensuse.org/request/show/545008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=110
2017-11-25 07:40:35 +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
Dominique Leuenberger
bfd470267f Accepting request 518296 from 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 (forwarded request 517978 from colyli)

OBS-URL: https://build.opensuse.org/request/show/518296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=109
2017-08-24 16:17:43 +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
Yuchen Lin
31801d9b8c Accepting request 482785 from Base:System
New upstream release including several patches from SLE12-SP2
which haven't landed upstream yet

- New upstream release 4.0
  Multiple bugfixes and various enhancements
  including IMSM support for bad blocks and 4K block devices.
  (FATE#321941)
- DELETE 0001-super1-Clear-memory-allocated-for-superblock-bitmap-.patch
  this was included upstream
- 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/request/show/482785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=108
2017-04-07 11:52:01 +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
Dominique Leuenberger
53e7203303 Accepting request 408603 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/408603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=107
2016-07-24 17:42:38 +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
Dominique Leuenberger
0cdc7fe91c Accepting request 397531 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/397531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=106
2016-05-25 19:21:53 +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
Dominique Leuenberger
1b9d44bbd3 Accepting request 393513 from Base:System
- 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/request/show/393513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=105
2016-05-08 08:39:01 +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
Dominique Leuenberger
f84f77e55b Accepting request 349083 from Base:System
- Add missing pre-requres for initrd macros (boo#958562) (forwarded request 349012 from tiwai)

OBS-URL: https://build.opensuse.org/request/show/349083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=104
2015-12-18 20:50:08 +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
Dominique Leuenberger
a038cfb2ea Accepting request 332070 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/332070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=103
2015-09-27 12:31:51 +00:00