Commit Graph

313 Commits

Author SHA256 Message Date
Dominique Leuenberger
ac485368ec Accepting request 1033420 from Base:System
Update mdadm package to latest mdadm since mdadm-4.2 (jsc#PED-1009) (forwarded request 1033139 from colyli)

OBS-URL: https://build.opensuse.org/request/show/1033420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=136
2022-11-10 13:20:23 +00:00
Neil Brown
e802bd595e Accepting request 1033139 from home:colyli:branches:Base:System
Update mdadm package to latest mdadm since mdadm-4.2 (jsc#PED-1009)

OBS-URL: https://build.opensuse.org/request/show/1033139
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=210
2022-11-03 23:28:28 +00:00
Dominique Leuenberger
c38e3966a8 Accepting request 1004871 from Base:System
- mdadm.spec: add EXTRAVERSION string to make command line
  (jsc#SLE-24761, bsc#1193566) (forwarded request 1004742 from colyli)

OBS-URL: https://build.opensuse.org/request/show/1004871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=135
2022-09-21 12:41:39 +00:00
Neil Brown
d2a044edd9 Accepting request 1004742 from home:colyli:branches:openSUSE:Factory
- mdadm.spec: add EXTRAVERSION string to make command line
  (jsc#SLE-24761, bsc#1193566)

OBS-URL: https://build.opensuse.org/request/show/1004742
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=208
2022-09-19 22:47:55 +00:00
Dominique Leuenberger
c391e9974d Accepting request 994643 from Base:System
- imsm: support for third Sata controller (bsc#1201297)
  0121-imsm-support-for-third-Sata-controller.patch
- mdadm: enable Intel Alderlake RSTe configuration (bsc#1201297)
  1005-mdadm-enable-Intel-Alderlake-RSTe-configuration.patch (forwarded request 994528 from colyli)

OBS-URL: https://build.opensuse.org/request/show/994643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=134
2022-08-14 13:55:17 +00:00
Neil Brown
7e0a71b874 Accepting request 994528 from home:colyli:branches:openSUSE:Factory
- imsm: support for third Sata controller (bsc#1201297)
  0121-imsm-support-for-third-Sata-controller.patch
- mdadm: enable Intel Alderlake RSTe configuration (bsc#1201297)
  1005-mdadm-enable-Intel-Alderlake-RSTe-configuration.patch

OBS-URL: https://build.opensuse.org/request/show/994528
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=206
2022-08-11 22:41:10 +00:00
Dominique Leuenberger
60dc07364a Accepting request 979975 from Base:System
- resource RAID failed during cluster patch, Mdadm gets floating point error (bsc#1197158)
  1004-mdadm-super1-restore-commit-45a87c2f31335-to-fix-clu.patch (forwarded request 979803 from hmzhao)

OBS-URL: https://build.opensuse.org/request/show/979975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=133
2022-06-01 15:33:46 +00:00
Neil Brown
33ad39a117 Accepting request 979803 from home:hmzhao:branches:openSUSE:Factory
- resource RAID failed during cluster patch, Mdadm gets floating point error (bsc#1197158)
  1004-mdadm-super1-restore-commit-45a87c2f31335-to-fix-clu.patch

OBS-URL: https://build.opensuse.org/request/show/979803
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=204
2022-05-30 22:40:07 +00:00
Dominique Leuenberger
768543287a Accepting request 963102 from Base:System
- skip RAID assembly if DM_UDEV_DISABLE_OTHER_RULES_FLAG (bsc#1196054)
  * Add 0120-udev-md-raid-assembly.rules-skip-if-DM_UDEV_DISABLE_.patch

OBS-URL: https://build.opensuse.org/request/show/963102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=132
2022-03-22 18:36:12 +00:00
Neil Brown
a2b441a882 Accepting request 962961 from home:mwilck:branches:Base:System
- skip RAID assembly if DM_UDEV_DISABLE_OTHER_RULES_FLAG (bsc#1196054)
  * Add 0120-udev-md-raid-assembly.rules-skip-if-DM_UDEV_DISABLE_.patch

OBS-URL: https://build.opensuse.org/request/show/962961
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=202
2022-03-19 23:12:25 +00:00
Dominique Leuenberger
2799f609b0 Accepting request 933225 from Base:System
- Use %{_sbindir} for prerequisite of mkinitrd to work with
  usrmerge of dracut-mkinitrd-deprecated (forwarded request 933221 from suntorytimed)

OBS-URL: https://build.opensuse.org/request/show/933225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=131
2021-11-24 22:54:20 +00:00
980be59b36 Accepting request 933221 from home:suntorytimed:branches:Base:System
- Use %{_sbindir} for prerequisite of mkinitrd to work with
  usrmerge of dracut-mkinitrd-deprecated

OBS-URL: https://build.opensuse.org/request/show/933221
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=201
2021-11-23 08:52:32 +00:00
Dominique Leuenberger
a9d36453cb Accepting request 923384 from Base:System
- Install mdadm in _sbindir rather than /sbin.  This is more
  appropriate now that we have a merged-/usr.
  (bsc#1191076)

OBS-URL: https://build.opensuse.org/request/show/923384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=130
2021-10-11 13:30:19 +00:00
Neil Brown
6d00a3ce4b - Install mdadm in _sbindir rather than /sbin. This is more
appropriate now that we have a merged-/usr.
  (bsc#1191076)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=200
2021-10-06 04:16:57 +00:00
Dominique Leuenberger
516dc2a316 Accepting request 916947 from Base:System
- Remove Spare drives line from details for external metadata
  (bsc#1180661, bsc#1182642)
  0118-Remove-Spare-drives-line-from-details-for-external-m.patch
- Don't associate spares with other arrays during RAID Examine
  (bsc#1180661, bsc#1182642)
  0119-Don-t-associate-spares-with-other-arrays-during-RAID.patch (forwarded request 915689 from colyli)

OBS-URL: https://build.opensuse.org/request/show/916947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=129
2021-09-08 19:36:20 +00:00
Neil Brown
e82e6c7d1f Accepting request 915689 from home:colyli:branches:Base:System
- Remove Spare drives line from details for external metadata
  (bsc#1180661, bsc#1182642)
  0118-Remove-Spare-drives-line-from-details-for-external-m.patch
- Don't associate spares with other arrays during RAID Examine
  (bsc#1180661, bsc#1182642)
  0119-Don-t-associate-spares-with-other-arrays-during-RAID.patch

OBS-URL: https://build.opensuse.org/request/show/915689
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=199
2021-09-05 22:27:54 +00:00
Dominique Leuenberger
e5f612780f Accepting request 893458 from Base:System
OBS-URL: https://build.opensuse.org/request/show/893458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=128
2021-05-20 17:23:16 +00:00
38bab7da8c Accepting request 893159 from home:colyli:branches:Base:System
- Grow: be careful of corrupt dev_roles list (bsc#1181619)
  0117-Grow-be-careful-of-corrupt-dev_roles-list.patch

- imsm: nvme multipath support (bsc#1175758)
  0116-imsm-nvme-multipath-support.patch

OBS-URL: https://build.opensuse.org/request/show/893159
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=197
2021-05-16 12:37:31 +00:00
Richard Brown
3f86a13088 Accepting request 880599 from Base:System
- cluster-md/mdadm : avoid useless re-sync (bsc#1181341)
  0114-super1-fix-Floating-point-exception.patch
  0115-super1.c-avoid-useless-sync-when-bitmap-switches-fro.patch (forwarded request 879542 from hmzhao)

OBS-URL: https://build.opensuse.org/request/show/880599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=127
2021-03-29 16:21:03 +00:00
Neil Brown
ec91862c51 Accepting request 879542 from home:hmzhao:branches:openSUSE:Factory
- cluster-md/mdadm : avoid useless re-sync (bsc#1181341)
  0114-super1-fix-Floating-point-exception.patch
  0115-super1.c-avoid-useless-sync-when-bitmap-switches-fro.patch

OBS-URL: https://build.opensuse.org/request/show/879542
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=195
2021-03-22 21:05:28 +00:00
Dominique Leuenberger
54dc04e5e4 Accepting request 860545 from Base:System
- Incremental: Remove redundant spare movement logic
  (jsc#SLE-13700, bsc#1180220)
  0112-Incremental-Remove-redundant-spare-movement-logic.patch
- Dump: get stat from a wrong metadata file when restoring metadata
  (jsc#SLE-13700)
  0113-Dump-get-stat-from-a-wrong-metadata-file-when-restor.patch (forwarded request 860474 from colyli)

OBS-URL: https://build.opensuse.org/request/show/860545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=126
2021-01-10 18:38:39 +00:00
Neil Brown
52a13dbb79 Accepting request 860474 from home:colyli:branches:Base:System
- Incremental: Remove redundant spare movement logic
  (jsc#SLE-13700, bsc#1180220)
  0112-Incremental-Remove-redundant-spare-movement-logic.patch
- Dump: get stat from a wrong metadata file when restoring metadata
  (jsc#SLE-13700)
  0113-Dump-get-stat-from-a-wrong-metadata-file-when-restor.patch

OBS-URL: https://build.opensuse.org/request/show/860474
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=193
2021-01-05 21:14:09 +00:00
Dominique Leuenberger
3b649e0b1e Accepting request 854352 from Base:System
- There are some important fixes merged in mdadm upstream which
  should go with jsc#SLE-13700. This is the update from upstream
  mdadm including the important fixes we should have.
- Detail: show correct raid level when the array is inactive
  (jsc#SLE-13700)
  0095-Detail-show-correct-raid-level-when-the-array-is-ina.patch
- Don't create bitmap for raid5 with journal disk
  (jsc#SLE-13700)
  0096-Don-t-create-bitmap-for-raid5-with-journal-disk.patch
- Monitor: refresh mdstat fd after select (jsc#SLE-13700)
  0097-Monitor-refresh-mdstat-fd-after-select.patch
- Monitor: stop notifing about containers.  (jsc#SLE-13700)
  0098-Monitor-stop-notifing-about-containers.patch
- mdmonitor: set small delay once (jsc#SLE-13700)
  0099-mdmonitor-set-small-delay-once.patch
- Check if other Monitor instance running before fork.
  (jsc#SLE-13700)
  0100-Check-if-other-Monitor-instance-running-before-fork.patch
- Super1: allow RAID0 layout setting to be removed.
  (jsc#SLE-13700)
  0101-Super1-allow-RAID0-layout-setting-to-be-removed.patch
- Detail: fix segfault during IMSM raid creation
  (jsc#SLE-13700)
  0102-Detail-fix-segfault-during-IMSM-raid-creation.patch
- Create.c: close mdfd and generate uevent (jsc#SLE-13700)
  0103-Create.c-close-mdfd-and-generate-uevent.patch
- imsm: update num_data_stripes according to dev_size
  (jsc#SLE-13700)
  0104-imsm-update-num_data_stripes-according-to-dev_size.patch
- imsm: remove redundant calls to imsm_get_map (jsc#SLE-13700) (forwarded request 853269 from colyli)

OBS-URL: https://build.opensuse.org/request/show/854352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=125
2020-12-12 19:27:11 +00:00
Neil Brown
5563a724f6 Accepting request 853269 from home:colyli:branches:Base:System
- There are some important fixes merged in mdadm upstream which
  should go with jsc#SLE-13700. This is the update from upstream
  mdadm including the important fixes we should have.
- Detail: show correct raid level when the array is inactive
  (jsc#SLE-13700)
  0095-Detail-show-correct-raid-level-when-the-array-is-ina.patch
- Don't create bitmap for raid5 with journal disk
  (jsc#SLE-13700)
  0096-Don-t-create-bitmap-for-raid5-with-journal-disk.patch
- Monitor: refresh mdstat fd after select (jsc#SLE-13700)
  0097-Monitor-refresh-mdstat-fd-after-select.patch
- Monitor: stop notifing about containers.  (jsc#SLE-13700)
  0098-Monitor-stop-notifing-about-containers.patch
- mdmonitor: set small delay once (jsc#SLE-13700)
  0099-mdmonitor-set-small-delay-once.patch
- Check if other Monitor instance running before fork.
  (jsc#SLE-13700)
  0100-Check-if-other-Monitor-instance-running-before-fork.patch
- Super1: allow RAID0 layout setting to be removed.
  (jsc#SLE-13700)
  0101-Super1-allow-RAID0-layout-setting-to-be-removed.patch
- Detail: fix segfault during IMSM raid creation
  (jsc#SLE-13700)
  0102-Detail-fix-segfault-during-IMSM-raid-creation.patch
- Create.c: close mdfd and generate uevent (jsc#SLE-13700)
  0103-Create.c-close-mdfd-and-generate-uevent.patch
- imsm: update num_data_stripes according to dev_size
  (jsc#SLE-13700)
  0104-imsm-update-num_data_stripes-according-to-dev_size.patch
- imsm: remove redundant calls to imsm_get_map (jsc#SLE-13700)

OBS-URL: https://build.opensuse.org/request/show/853269
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=191
2020-12-09 21:09:06 +00:00
Dominique Leuenberger
720a65f71e Accepting request 842010 from Base:System
- Update to latest mdadm which is requested by jsc#SLE-13700 from
  partners. Mostly the purpose is for latest Intel IMSM raid
  support, while some other fixes are important too.
- imsm: Correct minimal device size (jsc#SLE-13700)
  0073-imsm-Correct-minimal-device-size.patch
- Detail: show correct bitmap info for cluster raid device
  (jsc#SLE-13700)
  0074-Detail-show-correct-bitmap-info-for-cluster-raid-dev.patch
- imsm: support the Array Creation Time field in metadata
  (jsc#SLE-13700)
  0075-imsm-support-the-Array-Creation-Time-field-in-metada.patch
- imsm: show Subarray and Volume ID in --examine output
  (jsc#SLE-13700)
  0076-imsm-show-Subarray-and-Volume-ID-in-examine-output.patch
- udev: Ignore change event for imsm (jsc#SLE-13700)
  0077-udev-Ignore-change-event-for-imsm.patch
- Manage, imsm: Write metadata before add (jsc#SLE-13700)
  0078-Manage-imsm-Write-metadata-before-add.patch
- Assemble: print error message if mdadm fails assembling
  with --uuid option (jsc#SLE-13700)
  0079-Assemble-print-error-message-if-mdadm-fails-assembli.patch
- clean up meaning of small typo (jsc#SLE-13700)
  0080-clean-up-meaning-of-small-typo.patch
- Assemble.c: respect force flag (jsc#SLE-13700)
  0081-Assemble.c-respect-force-flag.patch
- mdcheck: Log when done (jsc#SLE-13700)
  0082-mdcheck-Log-when-done.patch
- Makefile: add EXTRAVERSION support (jsc#SLE-13700)
  0083-Makefile-add-EXTRAVERSION-support.patch
- uuid.c: split uuid stuffs from util.c (jsc#SLE-13700) (forwarded request 841255 from colyli)

OBS-URL: https://build.opensuse.org/request/show/842010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=124
2020-10-20 13:59:42 +00:00
Neil Brown
0a100e5103 Accepting request 841255 from home:colyli:branches:Base:System
- Update to latest mdadm which is requested by jsc#SLE-13700 from
  partners. Mostly the purpose is for latest Intel IMSM raid
  support, while some other fixes are important too.
- imsm: Correct minimal device size (jsc#SLE-13700)
  0073-imsm-Correct-minimal-device-size.patch
- Detail: show correct bitmap info for cluster raid device
  (jsc#SLE-13700)
  0074-Detail-show-correct-bitmap-info-for-cluster-raid-dev.patch
- imsm: support the Array Creation Time field in metadata
  (jsc#SLE-13700)
  0075-imsm-support-the-Array-Creation-Time-field-in-metada.patch
- imsm: show Subarray and Volume ID in --examine output
  (jsc#SLE-13700)
  0076-imsm-show-Subarray-and-Volume-ID-in-examine-output.patch
- udev: Ignore change event for imsm (jsc#SLE-13700)
  0077-udev-Ignore-change-event-for-imsm.patch
- Manage, imsm: Write metadata before add (jsc#SLE-13700)
  0078-Manage-imsm-Write-metadata-before-add.patch
- Assemble: print error message if mdadm fails assembling
  with --uuid option (jsc#SLE-13700)
  0079-Assemble-print-error-message-if-mdadm-fails-assembli.patch
- clean up meaning of small typo (jsc#SLE-13700)
  0080-clean-up-meaning-of-small-typo.patch
- Assemble.c: respect force flag (jsc#SLE-13700)
  0081-Assemble.c-respect-force-flag.patch
- mdcheck: Log when done (jsc#SLE-13700)
  0082-mdcheck-Log-when-done.patch
- Makefile: add EXTRAVERSION support (jsc#SLE-13700)
  0083-Makefile-add-EXTRAVERSION-support.patch
- uuid.c: split uuid stuffs from util.c (jsc#SLE-13700)

OBS-URL: https://build.opensuse.org/request/show/841255
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=189
2020-10-15 23:45:51 +00:00
Dominique Leuenberger
9e3da1e1d1 Accepting request 821004 from Base:System
OBS-URL: https://build.opensuse.org/request/show/821004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=123
2020-07-17 18:45:52 +00:00
Neil Brown
79eb82c44e Accepting request 820854 from home:gmbr3:libexecdir
- Fixes for %_libexecdir changing to /usr/libexec(bsc#1174075)

OBS-URL: https://build.opensuse.org/request/show/820854
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=187
2020-07-15 03:37:25 +00:00
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