SHA256
1
0
forked from pool/mdadm

358 Commits

Author SHA256 Message Date
6b3841dbd8 Accepting request 1299252 from Base:System
- Stop emitting %release into program binaries [boo#1246806] (forwarded request 1294792 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/1299252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=157
2025-08-14 09:36:13 +00:00
61306f0987 - Stop emitting %release into program binaries [boo#1246806]
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=256
2025-08-13 14:31:02 +00:00
3ffc369e1d Accepting request 1280604 from Base:System
- monitor: Add MAILFROM address to email envelope to avoid smtp auth
  errors (bsc#1241474)
  * add 1008-mdmonitor-use-MAILFROM-to-set-sendmail-envelope-send.patch

OBS-URL: https://build.opensuse.org/request/show/1280604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=156
2025-05-30 12:27:57 +00:00
1b8ed28186 - monitor: Add MAILFROM address to email envelope to avoid smtp auth
errors (bsc#1241474)
  * add 1008-mdmonitor-use-MAILFROM-to-set-sendmail-envelope-send.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=254
2025-05-27 13:37:14 +00:00
90146d9161 Accepting request 1275591 from Base:System
- Allow any valid minor name in md device name (bsc#1240789)
  * add 1007-mdadm-allow-any-valid-minor-number-in-md-device-name.patch

- Add dependency on suse-module-tools for SLE15 (bsc#1242696)

OBS-URL: https://build.opensuse.org/request/show/1275591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=155
2025-05-08 18:39:48 +00:00
045af51d81 fix copy/paste error
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=252
2025-05-08 14:08:47 +00:00
55720a3abd - Allow any valid minor name in md device name (bsc#1240789)
* add 1007-mdadm-allow-any-valid-minor-number-in-md-device-name.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=251
2025-05-07 16:10:48 +00:00
f691ff9e13 - Add dependency on suse-module-tools for SLE15 (bsc#1242696)
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=250
2025-05-06 16:00:23 +00:00
2fd0f7abdc Accepting request 1268644 from Base:System
- IMSM RAID0 2 disks to RAID10 4 disks migration fix
  add 1006-imsm-Fix-RAID0-to-RAID10-migration.patch (bsc#1241001) (forwarded request 1268424 from alnovak)

OBS-URL: https://build.opensuse.org/request/show/1268644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=154
2025-04-14 10:55:33 +00:00
f62486438f - IMSM RAID0 2 disks to RAID10 4 disks migration fix
add 1006-imsm-Fix-RAID0-to-RAID10-migration.patch (bsc#1241001)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=248
2025-04-11 14:34:57 +00:00
5178f22379 Accepting request 1252074 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1252074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=153
2025-03-12 14:20:12 +00:00
1bcba85eb0 Accepting request 1250082 from home:mwilck:branches:Base:System
- cleanup 1005-mdadm-enable-Intel-Alderlake-RSTe-configuration.patch
  (remove a redundant macro definition)

OBS-URL: https://build.opensuse.org/request/show/1250082
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=246
2025-03-04 13:48:51 +00:00
2466cc244a Accepting request 1249330 from Base:System
- mdopen: add sbin path to env PATH when call system("modprobe md_mod")
  (bsc#1233265)
  add 0010-mdopen-add-sbin-path-to-env-PATH-when-call-system-mo.patch (forwarded request 1249329 from mwilck)

OBS-URL: https://build.opensuse.org/request/show/1249330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=152
2025-03-03 15:04:31 +00:00
2ee57c3410 - mdopen: add sbin path to env PATH when call system("modprobe md_mod")
(bsc#1233265)
  add 0010-mdopen-add-sbin-path-to-env-PATH-when-call-system-mo.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=244
2025-02-28 22:36:43 +00:00
7349532f03 - Update to version 4.4 (jsc#PED-10220)
Features:
  * Remove custom bitmap file support from Yu Kuai.
  * Custom device policies implementation from Mariusz Tkaczyk.
  * Self encrypted drives (**SED**) support for IMSM metadata from Blazej Kucman.
  * Support more than 4 disks for **IMSM** RAID10 from Mateusz Kusiak.
  * Read **IMSM** license information from ACPI tables from Blazej Kucman.
  * Support devnode in **--Incremental --remove** from Mariusz Tkaczyk.
  * Printing **IMSM** license type in **--detail-platform** from Blazej Kucman.
  * README.md from Mariusz Tkaczyk and Anna Sztukowska.
  Fixes:
  * Tests improvements from Xiao Ni and Kinga Stefaniuk.
  * Mdmon's Checkpointing improvements from Mateusz Kusiak.
  * Pass mdadm environment flags to systemd-env to enable tests from Mateusz Kusiak.
  * Superblock 1.0 uuid printing fixes from Mariusz Tkaczyk.
  * Find VMD bus manually if link is not available from Mariusz Tkaczyk.
  * Unconditional devices count printing in --detail from Anna Sztukowska.
  * Improve SIGTERM handling during reshape, from Mateusz Kusiak.
  * **Monitor.c** renamed to **Mdmonitor.c** from Kinga Stefaniuk.
  * Mdmonitor service documentation update from Mariusz Tkaczyk.
  * Rework around writing to sysfs files from Mariusz Tkaczyk.
  * Drop of HOT_REMOVE_DISK ioctl in Manage in favour of sysfs from Mariusz Tkaczyk.
  * Delegate disk removal to managemon from Mariusz Tkaczyk.
  * Some clean-ups of legacy code and functionalities like **--auto=md** from Mariusz Tkaczyk.
  * Manual clean-up, references to old kernels removed from Mariusz Tkaczyk.
  * Various static code analysis fixes.
- Add 1000-Revert-mdmonitor-Abandon-custom-configuration-files.patch
  (reverts upstream change to ignore /etc/sysconfig/mdadm)
- Drop obsolete patches (included upstream):
  * Del 0001-Remove-hardcoded-checkpoint-interval-checking.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=243
2025-02-28 21:37:57 +00:00
bcd20d35f5 Accepting request 1243271 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1243271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=151
2025-02-07 21:56:01 +00:00
Coly Li
47f51bd5ec - Drop rcFOO symlinks for CODE16 (PED-266).
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=241
2025-02-05 08:09:07 +00:00
d61034bb43 Accepting request 1202506 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1202506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=150
2024-09-23 13:18:43 +00:00
Coly Li
ca78f33aa3 - Detail: remove duplicated code (bsc#1226413)
0008-Detail-remove-duplicated-code.patch
- mdadm: Fix native --detail --export (bsc#1226413)
  0009-mdadm-Fix-native-detail-export.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=239
2024-09-23 02:32:30 +00:00
80c1387a28 Accepting request 1193244 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1193244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=149
2024-08-12 10:29:50 +00:00
72af0b6762 Accepting request 1153965 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1153965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=148
2024-03-03 19:18:49 +00:00
98f48a5cb5 Accepting request 1149809 from home:pgajdos:m
- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1149809
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=235
2024-03-01 12:35:00 +00:00
9a8f0f68f4 Accepting request 1149805 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1149805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=147
2024-02-25 13:04:46 +00:00
Coly Li
5ab69e45ee Accepting request 1149803 from home:colyli:branches:openSUSE:Factory
- Update mdadm-4.3 to latest status (jsc#PED-7542)
  - Remove hardcoded checkpoint interval checking
    0001-Remove-hardcoded-checkpoint-interval-checking.patch
  - monitor: refactor checkpoint update
    0002-monitor-refactor-checkpoint-update.patch
  - Super-intel: Fix first checkpoint restart
    0003-Super-intel-Fix-first-checkpoint-restart.patch
  - Grow: Move update_tail assign to Grow_reshape()
    0004-Grow-Move-update_tail-assign-to-Grow_reshape.patch
  - Add understanding output section in man
    0005-Add-understanding-output-section-in-man.patch

- Upgrade to mdadm-4.3 (jsc#PED-7542). Beside previous already back
  ported patches, mdadm-4.3 has the following extra changes since
  last update upto commit 582945c2d3bb,
  - Fix null pointer for incremental in mdadm.
  - Super1: fix truncation check for journal device.
  - Fix some cases eyesore formatting.
  - Bump minimum kernel version to 2.6.32.
  - Remove the config files in mdcheck_start|continue service.
  - Define DEV_MD_DIR, DEV_NUM_PREF, is_devname_ignore(),
    ident_set_devname().
  - Enable RAID for SATA under VMD.
  - Imsm: Fix possible segfault in check_no_platform()
  - Imsm refactor on imsm_get_free_size(), merge_extents().
  - Imsm: return free space after volume for expand.
  - Imsm: fix free space calculations.
  - Add secure gethostname() wrapper.
  - mdadm: Stop mdcheck_continue timer when mdcheck_start service can
    finish check.

OBS-URL: https://build.opensuse.org/request/show/1149803
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=233
2024-02-23 10:44:13 +00:00
3a0dc33526 Accepting request 1138013 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1138013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=146
2024-01-11 20:04:42 +00:00
Coly Li
90d4e6869d Accepting request 1137473 from home:colyli:branches:Base:System
- Update mdadm to latest upstream state upto commit
  582945c2d3bb. (jsc#PED-7542)
  1) The testing changes are not included here.
  2) Code clean up, and more helper routines added for Manage.c,
     Monitor.c, mdadm.c, ReadMe.c, super-intel.c, super0.c, super1.c,
     Create.c, Incremental.c and so on.
  3) Man page update for mdadm.8.in.
  4) Several memory leak and double free fixes.
  5) Check /etc/initrd-release for whether systemd running on an initrd.
  - Manage: Block unsafe member failing
    0062-Manage-Block-unsafe-member-failing.patch
  - Mdmonitor: Split alert() into separate functions
    0063-Mdmonitor-Split-alert-into-separate-functions.patch
  - Monitor: block if monitor modes are combined.
    0064-Monitor-block-if-monitor-modes-are-combined.patch
  - Update mdadm Monitor manual.
    0065-Update-mdadm-Monitor-manual.patch
  - mdadm: create ident_init()
    0066-mdadm-create-ident_init.patch
  - mdadm: Add option validation for --update-subarray
    0067-mdadm-Add-option-validation-for-update-subarray.patch
  - Fix --update-subarray on active volume
    0068-Fix-update-subarray-on-active-volume.patch
  - Add code specific update options to enum.
    0069-Add-code-specific-update-options-to-enum.patch
  - super-ddf: Remove update_super_ddf.
    0070-super-ddf-Remove-update_super_ddf.patch
  - super0: refactor the code for enum
    0071-super0-refactor-the-code-for-enum.patch
  - super1: refactor the code for enum

OBS-URL: https://build.opensuse.org/request/show/1137473
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=231
2024-01-11 00:49:23 +00:00
817a6cb9f9 Accepting request 1127378 from Base:System
- No longer recommend smtp-daemon: this was a remainder from the
  cron configuration, which was removed back in 2018.

OBS-URL: https://build.opensuse.org/request/show/1127378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=145
2023-11-21 20:31:07 +00:00
Neil Brown
8314e57d34 Accepting request 1127333 from home:dimstar:Factory
- No longer recommend smtp-daemon: this was a remainder from the
  cron configuration, which was removed back in 2018.

OBS-URL: https://build.opensuse.org/request/show/1127333
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=229
2023-11-17 23:25:52 +00:00
1d1c9835d4 Accepting request 1100535 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1100535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=144
2023-07-26 11:21:48 +00:00
Coly Li
eb2a088ed9 Accepting request 1100437 from home:lnussel:usrmerge
- mdadm.spec: replace transitional %usrmerged macro with regular
  version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1100437
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=227
2023-07-25 06:12:22 +00:00
36cd05b104 Accepting request 1089072 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1089072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=143
2023-05-28 17:21:20 +00:00
Coly Li
ea21db88b7 Accepting request 1089071 from home:colyli:branches:openSUSE:Factory
- Grow: fix possible memory leak (bsc#1208618)
  0060-Grow-fix-possible-memory-leak.patch
- Grow: fix can't change bitmap type from none to clustered
  (bsc#1208618)
  0061-Grow-fix-can-t-change-bitmap-type-from-none-to-clustered.patch
- Use source code mdadm-4.2.tar.xz from kernel.org version for
  checksum 
  - mdadm-4.2.tar.xz

OBS-URL: https://build.opensuse.org/request/show/1089071
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=225
2023-05-26 02:53:17 +00:00
7db78d5cae Accepting request 1083057 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1083057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=142
2023-04-28 14:22:05 +00:00
Coly Li
fba44b112e Accepting request 1082557 from home:colyli:branches:openSUSE:Factory
- Fixes for mdmon to ensure it run at the right time in the
  fight mount namespace.  This fixes various problems with 
  IMSM raid arrays in 15-SP4 (bsc#1205493, bsc#1205830)
  - mdmon: fix segfault
    0052-mdmon-fix-segfault.patch
  - util: remove obsolete code from get_md_name
    0053-util-remove-obsolete-code-from-get_md_name.patch
  - mdmon: don't test both 'all' and 'container_name'.
    0054-mdmon-don-t-test-both-all-and-container_name.patch
  - mdmon: change systemd unit file to use --foreground
    0055-mdmon-change-systemd-unit-file-to-use-foreground.patch
  - mdmon: Remove need for KillMode=none
    0056-mdmon-Remove-need-for-KillMode-none.patch
  - mdmon: Improve switchroot interactions.
    0057-mdmon-Improve-switchroot-interactions.patch
  - mdopen: always try create_named_array()
    0058-mdopen-always-try-create_named_array.patch
  - Improvements for IMSM_NO_PLATFORM testing
    0059-Improvements-for-IMSM_NO_PLATFORM-testing.patch

OBS-URL: https://build.opensuse.org/request/show/1082557
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=223
2023-04-26 15:45:39 +00:00
c8533335be Accepting request 1076783 from Base:System
- sysconfig.mdadm: Remove ServiceRestart line to mdadm since there
  is not such systemd service. (bsc#1203491) (forwarded request 1076652 from colyli)

OBS-URL: https://build.opensuse.org/request/show/1076783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=141
2023-04-04 19:16:54 +00:00
Neil Brown
1e463242ad Accepting request 1076652 from home:colyli:branches:openSUSE:Factory
- sysconfig.mdadm: Remove ServiceRestart line to mdadm since there
  is not such systemd service. (bsc#1203491)

OBS-URL: https://build.opensuse.org/request/show/1076652
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=221
2023-04-03 00:00:10 +00:00
5ddc9c9787 Accepting request 1055863 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1055863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=140
2023-01-04 16:52:16 +00:00
Coly Li
c55d230725 Accepting request 1045490 from home:colyli:branches:openSUSE:Factory
- The patch from SLE15-SP4 is removed because it is in mdadm-4.2
  upstream already,
  - Monitor: print message before quit for no array to monitor
    (bsc#1183229)
   0120-Monitor-print-message-before-quit-for-no-array-to-mo.patch

OBS-URL: https://build.opensuse.org/request/show/1045490
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=219
2023-01-04 14:24:42 +00:00
04c255ddf2 Accepting request 1045464 from Base:System
- mdadm.spec: create the following symbolic link in /sbin for
  compatibility,
  	/sbin/mdadm -> /usr/sbin/mdadm
  	/sbin/mdmon -> /usr/sbin/mdmon
  (jsc#PED-1009, jsc#PED-947) (forwarded request 1045353 from colyli)

OBS-URL: https://build.opensuse.org/request/show/1045464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=139
2022-12-28 09:54:26 +00:00
b3a0e5f8fd Accepting request 1045353 from home:colyli:branches:openSUSE:Factory
- mdadm.spec: create the following symbolic link in /sbin for
  compatibility,
  	/sbin/mdadm -> /usr/sbin/mdadm
  	/sbin/mdmon -> /usr/sbin/mdmon
  (jsc#PED-1009, jsc#PED-947)

OBS-URL: https://build.opensuse.org/request/show/1045353
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=217
2022-12-27 09:31:26 +00:00
61e6f4e362 Accepting request 1040907 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1040907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=138
2022-12-08 15:50:14 +00:00
Coly Li
95abaf4325 Accepting request 1040880 from home:colyli:branches:openSUSE:Factory
- Drop the patch which is reported as regression by upstream developer
  (bsc#1206139)
  0045-Manage-Block-unsafe-member-failing.patch
- Add jsc#PED-947 together with jsc#PED-1009 in mdadm.changes, they
  are both the requirement to update mdadm to latest upstream state
  via different requestors.

  (jsc#PED-1009, jsc#PED-947)
- Update mdadm package to mdadm-4.2 (jsc#PED-1009, jsc#PED-947)

OBS-URL: https://build.opensuse.org/request/show/1040880
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=215
2022-12-07 09:53:46 +00:00
e2580bf86b Accepting request 1039445 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1039445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=137
2022-12-03 09:03:12 +00:00
Neil Brown
dfd3d1e3e7 Accepting request 1039443 from home:colyli:branches:openSUSE:Factory
- The patch (bsc#1111960) which fixed rpm check failure is replaced
  by the above patch,
  1004-Makefile-install-mdadm_env.sh-to-usr-lib-mdadm.patch.

OBS-URL: https://build.opensuse.org/request/show/1039443
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=213
2022-12-02 03:16:46 +00:00
Neil Brown
52d30d97b3 Accepting request 1039342 from home:colyli:branches:Base:System
- Call mdadm_env.sh from /usr/libexec/mdadm (bsc#1111960, bsc#1202090)
  1004-call-mdadm_env.sh-from-usr-libexec-mdadm.patch

- mdadm.spec: remove "PreReq: %{_sbindir}/mkinitrd" as it is
  unnecessary now. (bsc#1202352)

OBS-URL: https://build.opensuse.org/request/show/1039342
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=212
2022-12-01 22:04:51 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
00d343cf49 Accepting request 330316 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/330316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=102
2015-09-16 08:36:22 +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
c104e0cbcf Accepting request 320089 from Base:System
- new upstream version 3.3.4. Important bugfix
  to honour IMSM ROM settings when RAID is disabled.
  (bsc#939748 bsc#937363)

- 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.

- Make it build, that is build-require pkgconfig of udev and the
  package systemd as this one is the owner of the directory
  /usr/lib/systemd/system-shutdown

OBS-URL: https://build.opensuse.org/request/show/320089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=101
2015-08-21 05:36:44 +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
3d978b3d96 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=130
2015-07-13 09:20:46 +00:00
1321c34f74 Accepting request 290257 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/290257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=100
2015-03-12 15:38:23 +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
3f419be5c9 Accepting request 283972 from Base:System
- 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/request/show/283972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=99
2015-02-06 09:21:18 +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
63e1d1487c Accepting request 259406 from Base:System
- mdcheck-no-devices.fix
  mdcheck mustn't report an error if not md devices
  exist (bnc#903051)

OBS-URL: https://build.opensuse.org/request/show/259406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=98
2014-11-11 08:59:13 +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
Stephan Kulow
348693b02e Accepting request 252726 from Base:System
- cron.d.mdadm: add correct PATH setting
  (bnc#898239)

OBS-URL: https://build.opensuse.org/request/show/252726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=97
2014-10-15 14:19:23 +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
Stephan Kulow
123acfcb6e Accepting request 249485 from Base:System
- Add cron job to run 'mdcheck' regularly to
  verify all md arrays. (bnc#869261)

OBS-URL: https://build.opensuse.org/request/show/249485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=96
2014-09-17 19:23:25 +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
Stephan Kulow
28a21a3331 Accepting request 242436 from Base:System
- Remove insserv dependency; the package has been moved to systemd
  init system
- Remove redundant %clean section (forwarded request 242360 from posophe)

OBS-URL: https://build.opensuse.org/request/show/242436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=94
2014-07-28 04:31:19 +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
Stephan Kulow
3a3bf2f404 Accepting request 240873 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/240873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=93
2014-07-16 14:36:21 +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
Stephan Kulow
d2fd6b611a Accepting request 239413 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/239413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=92
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
Stephan Kulow
9c97a536d6 Accepting request 236929 from Base:System
- mdadm.spec: change calling of mkinitrd to use the
  %regenerate_initrd_{post,posttrans} macros to optimise
  initrd regeneration. (bnc#881780)

- new upstream release 3.3.1, incorporates all current patches
  and includes assorted other minor fixes.
- 0001-Makefile-install-mdadm-grow-continue-.service.patch
  make sure mdadm-grow-continue.service is installed properly.
- remove mkinitrd files, we now use dracut
- 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

OBS-URL: https://build.opensuse.org/request/show/236929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=91
2014-06-18 05:49:35 +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
Stephan Kulow
8773a97f68 Accepting request 230133 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/230133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=90
2014-04-22 14:59:52 +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
Stephan Kulow
0ce065f6e4 Accepting request 214760 from Base:System
Main focus of this update is improving interaction with systemd.
Other bugfixes from upstream added for good measure.

This time with %fillup_only which was missing before.

- remove boot.md.  It no longer does anything useful.

- 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/request/show/214760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=89
2014-01-30 11:52:06 +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
Stephan Kulow
80c8f1759d Accepting request 209450 from Base:System
Assorted mdadm update to make it work better with systemd

- 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)

- 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/request/show/209450
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=88
2013-12-06 10:46:05 +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
Stephan Kulow
df496dc74a Accepting request 206456 from Base:System
Bug fixes for mdadm and a new minor feature for FATE#316007

- 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/request/show/206456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=87
2013-11-12 08:51:53 +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
Tomáš Chvátal
46ae3ba0da Accepting request 198909 from Base:System
mdadm update - with fixes mdadm.changes

- boot.md - simplify boot.
  As array assembly is done by udev, it shouldn't
  be done by boot.md.  This will avoid some problems
  with arrays getting started degraded.

- Make-IRs-and-run-work-properly-for-containers.patch
- mdmon-honour-offroot-again.patch
- DDF-allow-for-possibility-that-there-is-no-secondary.patch
  Upstream fixes

- config-set-auto_seen-after-processing-the-auto-line.patch
  Fix bug which causes "AUTO -all" in mdadm.conf
  in initrd to be ignored, so array might be
  auto-assembled too early.

- mkinitrd-boot.sh: simplify boot sequence by relying
  completely on udev running "mdadm -I".  Thus
  mkinitrd-boot.sh needs to do very little.
  The devfunction script in the mkinitrd package has
  been modified to start newly degraded array after
  a suitable timeout.
- mkinitrd-setup.sh:
   - don't save md_devs as it isn't used any more
   - allow md device names like "/dev/md_foo" which will
     need to be supported in due course.

- 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/request/show/198909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=85
2013-09-13 12:45:21 +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
Stephan Kulow
ac94faf309 Accepting request 197947 from Base:System
- 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/request/show/197947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=84
2013-09-09 17:45:25 +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
Stephan Kulow
83d9a6fab8 Accepting request 197358 from Base:System
Complete with extra noise in changes file aas requested.

- New upstream release - mdadm-3.3
  Lot of improvements to --grow and DDF support.
  Better interaction with systemd.
  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/request/show/197358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=83
2013-09-04 11:57:46 +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
Stephan Kulow
7908d22c77 Accepting request 178832 from Base:System
- 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/request/show/178832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=82
2013-06-18 08:33:48 +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
Stephan Kulow
f6851f095c Accepting request 171239 from Base:System
- Add Source URL, see https://en.opensuse.org/SourceUrls (forwarded request 171084 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/171239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=81
2013-04-17 21:06:40 +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
Stephan Kulow
4ccf242fff Accepting request 156767 from Base:System
license update: GPL-2.0
mdadm/Software-RAID.HOWTO.tar.bz2 (forwarded request 156539 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/156767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=80
2013-03-01 06:27:36 +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
Stephan Kulow
fa54a9ecaa Accepting request 140065 from Base:System
- Fix factory breakage on udev and systemd rules. (forwarded request 140064 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/140065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=78
2012-11-06 15:12:52 +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
Stephan Kulow
e7d717df5f Accepting request 139359 from Base:System
- new upstream release 3.2.6.  Subsumes all of our
  patches and adds a lot of other bug fixes for
  less common cases including for a couple that cause
  mdadm to crash.

OBS-URL: https://build.opensuse.org/request/show/139359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=77
2012-10-26 15:25:55 +00:00
Neil Brown
824e66d00a - new upstream release 3.2.6. Subsumes all of our
patches and adds a lot of other bug fixes for
  less common cases including for a couple that cause
  mdadm to crash.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=77
2012-10-25 23:19:41 +00:00
Stephan Kulow
b3e613fe92 Accepting request 137540 from Base:System
- remove /lib/udev/devices from specfile as it is
  unused
- mkinitrd-setup.sh: fixed recent breakage for IMSM
  arrays (bnc#783444)

OBS-URL: https://build.opensuse.org/request/show/137540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=76
2012-10-11 09:02:41 +00:00
Neil Brown
6c3ee769b5 - remove /lib/udev/devices from specfile as it is
unused
- mkinitrd-setup.sh: fixed recent breakage for IMSM
  arrays (bnc#783444)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=75
2012-10-09 03:37:26 +00:00
Stephan Kulow
e7ca2aab74 Accepting request 135563 from Base:System
- mdmon-takeover.fix
  find-free-devnum.fix
  mapfile-rebuild.fix
  udev-offroot
   Fix various issues will installation on IMSM
  RAID arrays, booting from those arrays, and
  clean shutdown when such an array is used for '/'.
  (bnc#752107 bnc#732294 bnc#770351)
- mkinitrd-setup.sh: allow use stable md device name
  and allow it to have a ':' in it. (bnc#779087)
- boot.md: make sure udev-trigger runs before
  boot.md. (bnc#772286)

OBS-URL: https://build.opensuse.org/request/show/135563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=75
2012-09-25 08:41:38 +00:00
Stephan Kulow
0927375b35 - mdmon-takeover.fix
find-free-devnum.fix
  mapfile-rebuild.fix
  udev-offroot
   Fix various issues will installation on IMSM
  RAID arrays, booting from those arrays, and
  clean shutdown when such an array is used for '/'.
  (bnc#752107 bnc#732294 bnc#770351)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=73
2012-09-24 05:24:58 +00:00
Ismail Dönmez
0457828e2d Accepting request 131201 from Base:System
mdadm update to fix various install/boot issues with IMSM RAID.

- mdmon-takeover.fix
  find-free-devnum.fix
  mapfile-rebuild.fix
  udev-offroot
   Fix various issues will installation on IMSM
  RAID arrays, booting from those arrays, and
  clean shutdown when such an array is used for '/'.
  (bnc#752107 bnc#732294 bnc#770351)

OBS-URL: https://build.opensuse.org/request/show/131201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=74
2012-08-22 12:37:17 +00:00
Neil Brown
e99df50458 - mdmon-takeover.fix
find-free-devnum.fix
  mapfile-rebuild.fix
  udev-offroot
   Fix various issues will installation on IMSM
  RAID arrays, booting from those arrays, and
  clean shutdown when such an array is used for '/'.
  (bnc#752107 bnc#732294 bnc#770351)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=70
2012-08-20 07:01:39 +00:00
Neil Brown
1a1bebde19 - mdmon-takeover.fix
find-free-devnum.fix
  mapfile-rebuild.fix
  udev-offroot
   Fix various issues will installation on IMSM
  RAID arrays, booting from those arrays, and
  clean shutdown when such an array is used for '/'.
  (bnc#752107 bnc#732294 bnc#770351)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=69
2012-08-20 06:57:35 +00:00
Stephan Kulow
63b120bdd2 Accepting request 129123 from Base:System
- Add blkid-builtin.patch: use blkid built-in from udev (less fork, useful for dracut, please fwd for 12.2) (forwarded request 129089 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/129123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=73
2012-07-30 07:22:40 +00:00
527d4aa0ac Accepting request 129089 from home:fcrozat:branches:Base:System
- Add blkid-builtin.patch: use blkid built-in from udev (less fork, useful for dracut, please fwd for 12.2)

OBS-URL: https://build.opensuse.org/request/show/129089
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=67
2012-07-27 16:43:55 +00:00
Stephan Kulow
e98df9a882 Accepting request 127149 from Base:System
mdadm bugfix for Factory

- mdmon-arg.fix: fix arg parsing in mdmon so that
  "--all --takeover" works. (bnc#767150)

OBS-URL: https://build.opensuse.org/request/show/127149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=72
2012-07-09 07:50:37 +00:00
Neil Brown
fd6258fec6 - mdmon-arg.fix: fix arg parsing in mdmon so that
"--all --takeover" works. (bnc#767150)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=65
2012-07-05 03:15:54 +00:00
Stephan Kulow
399ea79618 Accepting request 125982 from Base:System
- use recommends: smtp_daemon, similar to cronie example

- add missing dependencies on cron and /usr/sbin/sendmail (bnc#767155)

OBS-URL: https://build.opensuse.org/request/show/125982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=71
2012-06-26 15:07:06 +00:00
ab0baeee50 - use recommends: smtp_daemon, similar to cronie example
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=63
2012-06-25 12:07:01 +00:00
8c730eaf75 - use recommends: smtp_daemon postfix, just like cronie example
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=62
2012-06-21 07:28:06 +00:00
03acda9fc6 Accepting request 125036 from home:cboltz:branches:Base:System
- add missing dependencies on cron and /usr/sbin/sendmail (bnc#767155)

See https://bugzilla.novell.com/show_bug.cgi?id=767155 for a detailed
explanation - and feel free to close the bug after accepting this SR ;-)

OBS-URL: https://build.opensuse.org/request/show/125036
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=61
2012-06-21 07:26:19 +00:00
Stephan Kulow
9a0c8f4291 Accepting request 123057 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/123057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=69
2012-06-01 05:21:25 +00:00
Neil Brown
0650dcc2aa - udev-rules.fix: make sure systemd doesn't try
to mount array before it is fully assembled.
  (bnc#752869)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=59
2012-05-24 01:54:00 +00:00
Neil Brown
7bd795bf3e Add missing %files entry
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=58
2012-05-22 05:25:59 +00:00
Neil Brown
37dd4e28e9 - boot.md/mkinitrd-boot.sh: complete any incremental
assembly before attempting to assemble arrays.
  If incremental assembly has partialy assembled
  degraded arrays, now is the time to start them going.
  (bnc#752869)
- mdamd.cron: send daily reports if any arrays are
  degraded.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=57
2012-05-22 05:18:08 +00:00
Stephan Kulow
30ccee148a Accepting request 121367 from Base:System
- New upstream version: 3.2.5.  Serious regression
  in 3.2.4 necessitated a new release.  Only significant
  fix is that "--add" now works again.

OBS-URL: https://build.opensuse.org/request/show/121367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=68
2012-05-21 06:07:29 +00:00
Neil Brown
cb1c6bc876 - New upstream version: 3.2.5. Serious regression
in 3.2.4 necessitated a new release.  Only significant
  fix is that "--add" now works again.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=55
2012-05-18 07:23:54 +00:00
Stephan Kulow
4e55a1939e Accepting request 116799 from Base:System
New upstream mdadm for openSUSE 12.2

- New upstream version: 3.2.4. /run/mdadm is not
  used for runtime files, not /var/run or /dev/.mdadm.

OBS-URL: https://build.opensuse.org/request/show/116799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=67
2012-05-09 16:18:17 +00:00
Neil Brown
01c75c25cb Remove old patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=53
2012-05-09 01:24:09 +00:00
Neil Brown
6904a50cd2 - New upstream version: 3.2.4. /run/mdadm is not
used for runtime files, not /var/run or /dev/.mdadm.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=52
2012-05-09 01:23:18 +00:00
Stephan Kulow
6d0a709e52 Accepting request 114777 from Base:System
- Run update of initrd at %post and %postun.
  We need this to make sure initrd reflects the updates.

OBS-URL: https://build.opensuse.org/request/show/114777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=66
2012-04-23 07:15:39 +00:00
Robert Milasan
7fd8d96f2b - Run update of initrd at %post and %postun.
We need this to make sure initrd reflects the updates.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=50
2012-04-20 08:01:08 +00:00
Stephan Kulow
d5c0c874ef Accepting request 97882 from Base:System
- remove call to suse_update_config (very old work around) (forwarded request 97714 from coolo)

OBS-URL: https://build.opensuse.org/request/show/97882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=65
2011-12-25 16:36:34 +00:00
Stephan Kulow
dfce3d1bf1 Accepting request 97714 from home:coolo:removeautoconf
- remove call to suse_update_config (very old work around)

OBS-URL: https://build.opensuse.org/request/show/97714
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=48
2011-12-22 12:42:21 +00:00
Stephan Kulow
876ff1a71f replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=64
2011-12-06 17:28:43 +00:00
Ruediger Oertel
3a05a92ae8 Accepting request 86854 from Base:System
Fix for bnc#721905 - for Factory and 12.1

- mkinitrd-setup.sh -- add "AUTO -all" to initrd mdadm.conf
  so that only arrays needed for boot are auto-assembled.
- auto-line.fix -- fix handling of "AUTO" line
  in mdadm.conf so it actually works.
  (bnc#721905)

OBS-URL: https://build.opensuse.org/request/show/86854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=62
2011-10-06 14:43:46 +00:00
Neil Brown
894e7e46b2 - mkinitrd-setup.sh -- add "AUTO -all" to initrd mdadm.conf
so that only arrays needed for boot are auto-assembled.
- auto-line.fix -- fix handling of "AUTO" line
  in mdadm.conf so it actually works.
  (bnc#721905)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=45
2011-10-06 02:24:11 +00:00
Ruediger Oertel
d144b3bea7 Accepting request 86440 from Base:System
- cross-build fix: use %__cc macro (forwarded request 86414 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=61
2011-10-04 16:13:27 +00:00
9ce8c5d116 Accepting request 86414 from home:uli_suse:branches:Base:System
- cross-build fix: use %__cc macro

OBS-URL: https://build.opensuse.org/request/show/86414
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=43
2011-10-04 08:39:41 +00:00
Sascha Peilicke
8ff59c7b50 Accepting request 79195 from Base:System
New upstream mdadm release, and assort minor tidy-ups.

- boot.md: improve 'status' and add 'reload'
  function.  Also change 'Raid' to 'RAID'
  for consistency (bnc#709474)

- Use udev rules file from upstream package, rather
  have having a separate one.

- Update to new upstream 3.2.2 plug git patches.
  Also update FSF address in boot-md.

OBS-URL: https://build.opensuse.org/request/show/79195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=60
2011-08-18 08:19:54 +00:00
Neil Brown
b4f2199395 - boot.md: improve 'status' and add 'reload'
function.  Also change 'Raid' to 'RAID'
  for consistency (bnc#709474)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=41
2011-08-18 06:32:28 +00:00
Neil Brown
b5de3e63a0 - Use udev rules file from upstream package, rather
have having a separate one.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=40
2011-08-18 06:03:57 +00:00
Neil Brown
80b9aa3f04 - Update to new upstream 3.2.2 plug git patches.
Also update FSF address in boot-md.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=39
2011-08-18 03:03:50 +00:00
Sascha Peilicke
0a27bf7c2f Autobuild autoformatter for 78476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=59
2011-08-11 08:05:48 +00:00
OBS User buildservice-autocommit
3f0eb4b4a7 Updating link to change in openSUSE:Factory/mdadm revision 59.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=898a812a0a1d554b0694b753de661bac
2011-08-11 08:05:48 +00:00
Sascha Peilicke
6979715993 Accepting request 78476 from Base:System
- Do not use -fno-strict-aliasing when not needed (forwarded request 78412 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/78476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=58
2011-08-11 08:05:40 +00:00
af3a245816 Accepting request 78412 from home:elvigia:branches:Base:System
- Do not use -fno-strict-aliasing when not needed

OBS-URL: https://build.opensuse.org/request/show/78412
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=37
2011-08-10 20:17:52 +00:00
Sascha Peilicke
816827e0e3 Autobuild autoformatter for 73485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=57
2011-06-14 10:00:02 +00:00
OBS User buildservice-autocommit
0106a9789f Updating link to change in openSUSE:Factory/mdadm revision 57.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=bc00ffef997cfa354fe980e670b48723
2011-06-14 10:00:02 +00:00
Sascha Peilicke
a173f08650 Accepting request 73485 from Base:System
- 64-md-raid.rules - make clear distinction between
  'disk' and 'partition' cases.  In particular it
  is wrong and problematic to test for 'md/array_state'
  for 'partition' devices as they cannot see 'md/*'
  and cannot exist when it doesn't have a valid value
  anyway. (bnc#684291)

OBS-URL: https://build.opensuse.org/request/show/73485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=56
2011-06-14 09:59:44 +00:00
Neil Brown
0be0f8c467 - 64-md-raid.rules - make clear distinction between
'disk' and 'partition' cases.  In particular it
  is wrong and problematic to test for 'md/array_state'
  for 'partition' devices as they cannot see 'md/*'
  and cannot exist when it doesn't have a valid value
  anyway. (bnc#684291)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=35
2011-06-14 06:09:00 +00:00
Sascha Peilicke
1aac49c454 Autobuild autoformatter for 63188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=55
2011-03-02 08:59:50 +00:00
OBS User buildservice-autocommit
073d0b3398 Updating link to change in openSUSE:Factory/mdadm revision 55.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=a704862fc7634b495601af08c7900b84
2011-03-02 08:59:50 +00:00
Sascha Peilicke
ff6000650a Accepting request 63188 from Base:System
Accepted submit request 63188 from user neilbrown

OBS-URL: https://build.opensuse.org/request/show/63188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=54
2011-03-02 08:59:39 +00:00
Neil Brown
1b4305f284 - mkinitrd-boot.sh: don't assume /dev/md when device
name cannot be found.  It could easily be wrong,
  and there is no need as mdadm will choose a device.
  (bnc#656536)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=33
2011-03-01 22:16:38 +00:00
Ruediger Oertel
ae90a85446 Autobuild autoformatter for 61540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=53
2011-02-18 11:25:57 +00:00
OBS User buildservice-autocommit
6e8ec861d8 Updating link to change in openSUSE:Factory/mdadm revision 53.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=fe045118e6625dec94cf4c657e30dae6
2011-02-18 11:25:57 +00:00
Ruediger Oertel
9fa7616260 Accepting request 61540 from Base:System
Accepted submit request 61540 from user neilbrown

OBS-URL: https://build.opensuse.org/request/show/61540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=52
2011-02-18 11:25:41 +00:00
Neil Brown
328f1d8ab9 - 64-md-raid.rules: avoid races with md devices
appearing and disappearing.
  If the 'array_state' file doesn't exist, that is equivalent
  to it having 'clear' in it. (bnc#641382)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=31
2011-02-17 00:28:50 +00:00
OBS User autobuild
66efc8ceea Autobuild autoformatter for 53224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=50
2010-11-18 15:17:07 +00:00
OBS User buildservice-autocommit
4616f601e6 Updating link to change in openSUSE:Factory/mdadm revision 50.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=369c042e7b2676ea5768054f9aa1325e
2010-11-18 15:17:07 +00:00
Ruediger Oertel
42c97fe442 Accepting request 53224 from Base:System
Accepted submit request 53224 from user neilbrown

OBS-URL: https://build.opensuse.org/request/show/53224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=49
2010-11-18 15:16:58 +00:00
Neil Brown
cfe801adf7 - boot.md - change args to mdmon.
The argument parsing of mdmon changed in the recent update
   and we need to change boot.md to match.  bnc#653965

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=29
2010-11-17 03:29:15 +00:00
OBS User autobuild
82443bf32e Autobuild autoformatter for 51253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=48
2010-10-22 14:31:55 +00:00
OBS User buildservice-autocommit
c61ad5b95a Updating link to change in openSUSE:Factory/mdadm revision 48.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=8b8482559426848a9cce25441ac2b345
2010-10-22 14:31:55 +00:00
Ruediger Oertel
a919852d86 Accepting request 51253 from Base:System
Accepted submit request 51253 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/51253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=47
2010-10-22 14:31:48 +00:00
Cristian Rodríguez
7dcea2ba8a Accepting request 51209 from home:oertel:branches:openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/51209
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=27
2010-10-22 14:13:36 +00:00
OBS User autobuild
fa4696591a Accepting request 43454 from Base:System
Copy from Base:System/mdadm based on submit request 43454 from user coolo

OBS-URL: https://build.opensuse.org/request/show/43454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=46
2010-07-20 18:49:21 +00:00
OBS User buildservice-autocommit
7ca04ed32d Updating link to change in openSUSE:Factory/mdadm revision 46.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=a51c6516dd0113ed46602522d69cacd3
2010-07-20 18:49:21 +00:00
OBS User autobuild
82de050fda Accepting request 43454 from Base:System
checked in (request 43454)

OBS-URL: https://build.opensuse.org/request/show/43454
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=25
2010-07-20 18:49:20 +00:00
OBS User autobuild
4f09ed47ae Accepting request 42186 from Base:System
Copy from Base:System/mdadm based on submit request 42186 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/42186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=43
2010-06-29 14:43:02 +00:00
OBS User autobuild
6bb23a30c4 Accepting request 42186 from Base:System
checked in (request 42186)

OBS-URL: https://build.opensuse.org/request/show/42186
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=24
2010-06-29 14:43:02 +00:00
OBS User buildservice-autocommit
00e7ac046d Updating link to change in openSUSE:Factory/mdadm revision 43.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=4b089b0165abf84b4cb0140035fcc1bb
2010-06-29 14:43:02 +00:00
Stephan Kulow
4abda5eebc Accepting request 42147 from home:jengelh:smp
Copy from home:jengelh:smp/mdadm via accept of submit request 42147 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/42147
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=23
2010-06-28 21:25:10 +00:00
Michal Marek
fa09927701 Accepting request 42185 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 42185 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/42185
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=22
2010-06-28 09:44:27 +00:00
OBS User autobuild
f9e2fef35c Accepting request 40963 from Base:System
Copy from Base:System/mdadm based on submit request 40963 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/40963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=42
2010-06-02 00:00:41 +00:00
OBS User autobuild
43539c5748 Accepting request 40963 from Base:System
checked in (request 40963)

OBS-URL: https://build.opensuse.org/request/show/40963
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=21
2010-06-02 00:00:41 +00:00
OBS User buildservice-autocommit
ef9da5c0f9 Updating link to change in openSUSE:Factory/mdadm revision 42.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=6374b72b137ada687d9a97d862b5e3a8
2010-06-02 00:00:41 +00:00
Pavol Rusnak
a03e0655b8 Accepting request 40951 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 40951 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/40951
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=20
2010-06-01 22:01:48 +00:00
OBS User autobuild
4bf3b049a5 Accepting request 35700 from Base:System
Copy from Base:System/mdadm based on submit request 35700 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/35700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=41
2010-03-26 00:36:15 +00:00
OBS User buildservice-autocommit
2ee23aeee5 Updating link to change in openSUSE:Factory/mdadm revision 41.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=90e9a90faa8ceb3c9e0776a3da560cc8
2010-03-26 00:36:15 +00:00
OBS User autobuild
8b39662d22 Accepting request 35700 from Base:System
checked in (request 35700)

OBS-URL: https://build.opensuse.org/request/show/35700
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=19
2010-03-26 00:36:14 +00:00
Michal Marek
254889ca3a Accepting request 35699 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 35699 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/35699
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=18
2010-03-24 16:43:18 +00:00
Michal Marek
431b5a0d2a Accepting request 35548 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 35548 revision 3.
Request was accepted with message:

OBS-URL: https://build.opensuse.org/request/show/35548
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=17
2010-03-23 15:23:39 +00:00
OBS User autobuild
8a293620cb Accepting request 35415 from openSUSE:Factory
Copy from openSUSE:Factory/mdadm based on submit request 35415 from user coolo

OBS-URL: https://build.opensuse.org/request/show/35415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=40
2010-03-21 10:51:29 +00:00
OBS User autobuild
c2912a0608 Accepting request 35415 from openSUSE:Factory
Copy from openSUSE:Factory/mdadm based on submit request 35415 from user coolo

OBS-URL: https://build.opensuse.org/request/show/35415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=40
2010-03-21 10:51:29 +00:00
OBS User autobuild
c6d3953365 Accepting request 35265 from Base:System
Copy from Base:System/mdadm based on submit request 35265 from user coolo

OBS-URL: https://build.opensuse.org/request/show/35265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=39
2010-03-18 23:31:31 +00:00
OBS User autobuild
9a4209ca5e Accepting request 35265 from Base:System
Copy from Base:System/mdadm based on submit request 35265 from user coolo

OBS-URL: https://build.opensuse.org/request/show/35265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=39
2010-03-18 23:31:31 +00:00
OBS User autobuild
a750dc7847 Accepting request 35265 from Base:System
checked in (request 35265)

OBS-URL: https://build.opensuse.org/request/show/35265
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=16
2010-03-18 23:31:30 +00:00
OBS User autobuild
36a29c4f57 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=38 2010-03-18 15:08:42 +00:00
OBS User autobuild
3d6f1b5d00 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=38 2010-03-18 15:08:42 +00:00
OBS User buildservice-autocommit
dbd397ce47 Updating link to change in openSUSE:Factory/mdadm revision 38.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=16d5e781e3048c6591156ba0dc5ce554
2010-03-18 15:08:42 +00:00
Kay Sievers
dcb0f390c9 Accepting request 34602 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 34602 revision 3.
Request was accepted with message:
Thanks!

OBS-URL: https://build.opensuse.org/request/show/34602
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=15
2010-03-11 12:13:21 +00:00
OBS User autobuild
98e558763f Accepting request 29764 from Base:System
Copy from Base:System/mdadm based on submit request 29764 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/29764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=37
2010-01-18 13:08:58 +00:00
OBS User autobuild
4061108e2d Accepting request 29764 from Base:System
Copy from Base:System/mdadm based on submit request 29764 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/29764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=37
2010-01-18 13:08:58 +00:00
OBS User buildservice-autocommit
298bcd22f8 Updating link to change in openSUSE:Factory/mdadm revision 37.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=9b73d48c6d474dda681e03d96abdf80c
2010-01-18 13:08:58 +00:00
OBS User autobuild
410dbf2ce6 checked in (request 29764)
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=13
2010-01-18 13:08:57 +00:00
Michal Marek
b593e3099a Accepting request 29763 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 29763 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/29763
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=12
2010-01-15 16:44:42 +00:00
OBS User autobuild
568a395350 Accepting request 29138 from Base:System
Copy from Base:System/mdadm based on submit request 29138 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/29138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=36
2010-01-11 14:50:57 +00:00
OBS User autobuild
3dbb86c70a Accepting request 29138 from Base:System
Copy from Base:System/mdadm based on submit request 29138 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/29138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=36
2010-01-11 14:50:57 +00:00
OBS User buildservice-autocommit
b9f2c8ae10 Updating link to change in openSUSE:Factory/mdadm revision 36.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=8e44a773e803500d04d6cdde9396dc8b
2010-01-11 14:50:57 +00:00
OBS User autobuild
94b5356643 checked in
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=11
2010-01-11 14:50:56 +00:00
Michal Marek
bc6e213f2e Accepting request 29126 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 29126 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/29126
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=10
2010-01-11 14:06:42 +00:00
OBS User autobuild
4f2ffeac80 Accepting request 26748 from Base:System
Copy from Base:System/mdadm based on submit request 26748 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/26748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=35
2009-12-16 15:59:32 +00:00
OBS User autobuild
e499e72cb5 Accepting request 26748 from Base:System
Copy from Base:System/mdadm based on submit request 26748 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/26748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=35
2009-12-16 15:59:32 +00:00
OBS User buildservice-autocommit
f5eef324e8 Updating link to change in openSUSE:Factory/mdadm revision 35.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=f2d4b0d7fb0f87869893fc82a04c4b1f
2009-12-16 15:59:32 +00:00
OBS User autobuild
911e571316 checked in
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=9
2009-12-16 15:59:31 +00:00
Michal Marek
4a4d38e89a Accepting request 26694 from home:jengelh:branches:Base:System
Copy from home:jengelh:branches:Base:System/mdadm via accept of submit request 26694 revision 2.
Request was accepted with message:
reviewed ok.

OBS-URL: https://build.opensuse.org/request/show/26694
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=8
2009-12-16 08:01:21 +00:00
OBS User autobuild
f57f62a805 Accepting request 23607 from Base:System
Copy from Base:System/mdadm based on submit request 23607 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/23607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=34
2009-11-02 17:10:11 +00:00
OBS User autobuild
bbe112a8b9 Accepting request 23607 from Base:System
Copy from Base:System/mdadm based on submit request 23607 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/23607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=34
2009-11-02 17:10:11 +00:00
OBS User autobuild
89700d3b94 checked in
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=7
2009-11-02 17:10:09 +00:00
Michal Marek
d48ea4f4e2 Accepting request 23605 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 23605 revision 2.
Request was accepted with message:
.

OBS-URL: https://build.opensuse.org/request/show/23605
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=6
2009-11-02 15:39:07 +00:00
OBS User autobuild
7e566d63df Accepting request 21463 from Base:System
Copy from Base:System/mdadm based on submit request 21463 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/21463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=32
2009-10-02 22:44:49 +00:00
OBS User autobuild
9dedcbd2c3 Accepting request 21463 from Base:System
Copy from Base:System/mdadm based on submit request 21463 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/21463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=32
2009-10-02 22:44:49 +00:00
OBS User buildservice-autocommit
c401580f98 Updating link to change in openSUSE:Factory/mdadm revision 32.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=1f6000d46b0cb8516846595a0046a4f9
2009-10-02 22:44:49 +00:00
OBS User autobuild
9fd43f6b20 checked in
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=5
2009-10-02 22:44:47 +00:00
Michal Marek
d854ef80ea Accepting request 21462 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 21462 revision 2.

OBS-URL: https://build.opensuse.org/request/show/21462
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=4
2009-10-01 09:12:36 +00:00
OBS User autobuild
639f55d56f Accepting request 17443 from Base:System
Copy from Base:System/mdadm based on submit request 17443 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/17443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=31
2009-08-11 15:09:53 +00:00
OBS User autobuild
2fc8835c69 Accepting request 17443 from Base:System
Copy from Base:System/mdadm based on submit request 17443 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/17443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=31
2009-08-11 15:09:53 +00:00
OBS User unknown
44eb9191d4 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=30 2009-03-17 19:08:56 +00:00
OBS User unknown
e31bf10e2e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=30 2009-03-17 19:08:56 +00:00
OBS User unknown
6da2afe4ed OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=29 2009-02-23 11:57:34 +00:00
OBS User unknown
de7be309e9 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=29 2009-02-23 11:57:34 +00:00
OBS User unknown
1422e7c520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=28 2009-02-17 22:07:01 +00:00
OBS User unknown
497526e378 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=28 2009-02-17 22:07:01 +00:00
OBS User unknown
8d7d26446e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=27 2009-02-16 15:15:28 +00:00
OBS User unknown
3afdc4f0aa OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=27 2009-02-16 15:15:28 +00:00
OBS User unknown
ad4b196b5f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=26 2009-01-27 01:19:51 +00:00
OBS User unknown
bd206bd903 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=26 2009-01-27 01:19:51 +00:00
OBS User unknown
d573a899ad OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=25 2008-12-05 15:04:23 +00:00
OBS User unknown
7f5a0a38d0 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=25 2008-12-05 15:04:23 +00:00
OBS User unknown
2f7c55a8d9 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=24 2008-12-05 14:45:45 +00:00
OBS User unknown
b367a6f6e2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=24 2008-12-05 14:45:45 +00:00
OBS User unknown
cf70caa120 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=23 2008-11-20 14:53:21 +00:00
OBS User unknown
783b8551f2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=23 2008-11-20 14:53:21 +00:00
OBS User unknown
9d2ab22019 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=22 2008-11-17 16:22:54 +00:00
OBS User unknown
983c220251 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=22 2008-11-17 16:22:54 +00:00
OBS User unknown
14b2916b32 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=21 2008-11-09 23:30:20 +00:00
OBS User unknown
a081c7b76a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=21 2008-11-09 23:30:20 +00:00
OBS User unknown
80cc949385 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=20 2008-11-07 14:24:02 +00:00
OBS User unknown
b2dce9999a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=20 2008-11-07 14:24:02 +00:00
OBS User unknown
d8c9c1f77b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=19 2008-11-07 09:41:08 +00:00
OBS User unknown
89404fe74f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=19 2008-11-07 09:41:08 +00:00
OBS User unknown
f0c428e555 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=18 2008-11-07 02:14:41 +00:00
OBS User unknown
31b9d497b4 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=18 2008-11-07 02:14:41 +00:00
OBS User unknown
ab762c8d5e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=17 2008-11-06 21:19:12 +00:00
OBS User unknown
8a0f82ca20 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=17 2008-11-06 21:19:12 +00:00
OBS User unknown
b7a1ef182f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=16 2008-10-06 15:46:23 +00:00
OBS User unknown
4769cdb5df OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=16 2008-10-06 15:46:23 +00:00
OBS User unknown
05d024bd96 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=15 2008-09-24 23:04:15 +00:00
OBS User unknown
1359ce6d46 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=15 2008-09-24 23:04:15 +00:00
OBS User unknown
8e87afbd14 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=14 2008-09-24 15:12:07 +00:00
OBS User unknown
77d023930b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=14 2008-09-24 15:12:07 +00:00
OBS User unknown
6b0b7e3dbe OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=13 2008-09-05 19:15:10 +00:00
OBS User unknown
31dbcfdae1 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=13 2008-09-05 19:15:10 +00:00
OBS User unknown
e2dadedc96 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=12 2008-08-17 22:16:04 +00:00
OBS User unknown
aaee2ad9fd OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=12 2008-08-17 22:16:04 +00:00
OBS User unknown
622aa915e2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=11 2008-07-25 00:32:37 +00:00
OBS User unknown
7b76b7f88b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=11 2008-07-25 00:32:37 +00:00
OBS User unknown
ad7f039e9b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=10 2008-06-23 02:11:39 +00:00
OBS User unknown
bc4cbaecaa OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=10 2008-06-23 02:11:39 +00:00
OBS User unknown
90c5c1a6cc OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=9 2008-05-01 12:47:26 +00:00
OBS User unknown
1de2eeb520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=9 2008-05-01 12:47:26 +00:00
OBS User unknown
842d0b194f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=8 2008-02-04 20:59:25 +00:00
OBS User unknown
65feb0c361 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=8 2008-02-04 20:59:25 +00:00
OBS User unknown
768e3875db OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=7 2008-01-24 17:30:41 +00:00
OBS User unknown
ca1dc7c3bb OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=7 2008-01-24 17:30:41 +00:00
OBS User unknown
8c3a71f07e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=6 2007-10-25 00:35:29 +00:00
OBS User unknown
88a121f058 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=6 2007-10-25 00:35:29 +00:00
OBS User unknown
0e7d8d6162 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=5 2007-07-27 13:12:30 +00:00
OBS User unknown
0147113bc7 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=5 2007-07-27 13:12:30 +00:00
OBS User unknown
e3d86c8b5f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=4 2007-07-13 16:13:41 +00:00
OBS User unknown
322930bb9b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=4 2007-07-13 16:13:41 +00:00
OBS User unknown
30fee41153 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=3 2007-06-21 20:43:12 +00:00
OBS User unknown
1697affed4 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=3 2007-06-21 20:43:12 +00:00
OBS User unknown
d41ff8c28e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=2 2007-04-05 22:37:00 +00:00
OBS User unknown
c469aea323 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=2 2007-04-05 22:37:00 +00:00
OBS User unknown
b83d13220d OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=1 2007-01-10 16:49:57 +00:00
OBS User unknown
80762580fa OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=1 2007-01-10 16:49:57 +00:00
23 changed files with 558 additions and 628 deletions

View File

@@ -1,68 +0,0 @@
From aec3b907de48be54106600a1ecb69d1231f4801d Mon Sep 17 00:00:00 2001
From: Mateusz Kusiak <mateusz.kusiak@intel.com>
Date: Thu, 18 Jan 2024 11:30:15 +0100
Subject: [PATCH 1/5] Remove hardcoded checkpoint interval checking
Git-commit: aec3b907de48be54106600a1ecb69d1231f4801d
Patch-mainline: mdadm-4.3+
References: jsc#PED-7542
Mdmon assumes that kernel marks checkpoint every 1/16 of the volume size
and that the checkpoints are equal in size. This is not true, kernel may
mark checkpoints more frequently depending on several factors, including
sync speed. This results in checkpoints reported by mdadm --examine
falling behind the one reported by kernel.
Remove hardcoded checkpoint interval checking.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Coly Li <colyli@suse.de>
---
monitor.c | 22 ++++++----------------
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/monitor.c b/monitor.c
index 4acec67..b8d9e88 100644
--- a/monitor.c
+++ b/monitor.c
@@ -564,22 +564,10 @@ static int read_and_act(struct active_array *a, fd_set *fds)
}
}
- /* Check for recovery checkpoint notifications. We need to be a
- * minimum distance away from the last checkpoint to prevent
- * over checkpointing. Note reshape checkpointing is handled
- * in the second branch.
+ /* Handle reshape checkpointing
*/
- if (sync_completed > a->last_checkpoint &&
- sync_completed - a->last_checkpoint > a->info.component_size >> 4 &&
- a->curr_action > reshape) {
- /* A (non-reshape) sync_action has reached a checkpoint.
- * Record the updated position in the metadata
- */
- a->last_checkpoint = sync_completed;
- a->container->ss->set_array_state(a, a->curr_state <= clean);
- } else if ((a->curr_action == idle && a->prev_action == reshape) ||
- (a->curr_action == reshape &&
- sync_completed > a->last_checkpoint)) {
+ if ((a->curr_action == idle && a->prev_action == reshape) ||
+ (a->curr_action == reshape && sync_completed > a->last_checkpoint)) {
/* Reshape has progressed or completed so we need to
* update the array state - and possibly the array size
*/
@@ -607,8 +595,10 @@ static int read_and_act(struct active_array *a, fd_set *fds)
a->last_checkpoint = sync_completed;
}
- if (sync_completed > a->last_checkpoint)
+ if (sync_completed > a->last_checkpoint) {
a->last_checkpoint = sync_completed;
+ a->container->ss->set_array_state(a, a->curr_state <= clean);
+ }
if (sync_completed >= a->info.component_size)
a->last_checkpoint = 0;
--
2.35.3

View File

@@ -1,100 +0,0 @@
From cf87fe75fd83dac008ea116c2c52ec69783fdf6a Mon Sep 17 00:00:00 2001
From: Mateusz Kusiak <mateusz.kusiak@intel.com>
Date: Thu, 18 Jan 2024 11:30:16 +0100
Subject: [PATCH 2/5] monitor: refactor checkpoint update
Git-commit: cf87fe75fd83dac008ea116c2c52ec69783fdf6a
Patch-mainline: mdadm-4.3+
References: jsc#PED-7542
"if" statements of checkpoint updates have too many responsibilties.
This results in unclear code flow and duplicated code.
Refactor checkpoint update code and simplify "if" statements.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Coly Li <colyli@suse.de>
---
monitor.c | 51 +++++++++++++++++++++++++--------------------------
1 file changed, 25 insertions(+), 26 deletions(-)
diff --git a/monitor.c b/monitor.c
index b8d9e88..be0bec7 100644
--- a/monitor.c
+++ b/monitor.c
@@ -412,6 +412,7 @@ static int read_and_act(struct active_array *a, fd_set *fds)
int ret = 0;
int count = 0;
struct timeval tv;
+ bool write_checkpoint = false;
a->next_state = bad_word;
a->next_action = bad_action;
@@ -564,40 +565,38 @@ static int read_and_act(struct active_array *a, fd_set *fds)
}
}
- /* Handle reshape checkpointing
- */
- if ((a->curr_action == idle && a->prev_action == reshape) ||
- (a->curr_action == reshape && sync_completed > a->last_checkpoint)) {
- /* Reshape has progressed or completed so we need to
- * update the array state - and possibly the array size
- */
+ /* Update reshape checkpoint, depending if it finished or progressed */
+ if (a->curr_action == idle && a->prev_action == reshape) {
+ char buf[SYSFS_MAX_BUF_SIZE];
+
if (sync_completed != 0)
a->last_checkpoint = sync_completed;
- /* We might need to update last_checkpoint depending on
- * the reason that reshape finished.
- * if array reshape is really finished:
- * set check point to the end, this allows
- * set_array_state() to finalize reshape in metadata
- * if reshape if broken: do not set checkpoint to the end
- * this allows for reshape restart from checkpoint
+
+ /*
+ * If reshape really finished, set checkpoint to the end to finalize it.
+ * Do not set checkpoint if reshape is broken.
+ * Reshape will restart from last checkpoint.
*/
- if ((a->curr_action != reshape) &&
- (a->prev_action == reshape)) {
- char buf[SYSFS_MAX_BUF_SIZE];
- if ((sysfs_get_str(&a->info, NULL,
- "reshape_position",
- buf,
- sizeof(buf)) >= 0) &&
- str_is_none(buf) == true)
+ if (sysfs_get_str(&a->info, NULL, "reshape_position", buf, sizeof(buf)) >= 0)
+ if (str_is_none(buf) == true)
a->last_checkpoint = a->info.component_size;
- }
- a->container->ss->set_array_state(a, a->curr_state <= clean);
- a->last_checkpoint = sync_completed;
+
+ write_checkpoint = true;
}
- if (sync_completed > a->last_checkpoint) {
+ if (a->curr_action >= reshape && sync_completed > a->last_checkpoint) {
+ /* Update checkpoint if neither reshape nor idle action */
a->last_checkpoint = sync_completed;
+
+ write_checkpoint = true;
+ }
+
+ /* Save checkpoint */
+ if (write_checkpoint) {
a->container->ss->set_array_state(a, a->curr_state <= clean);
+
+ if (a->curr_action <= reshape)
+ a->last_checkpoint = sync_completed;
}
if (sync_completed >= a->info.component_size)
--
2.35.3

View File

@@ -1,51 +0,0 @@
From fdb7e802f4cf64d067c3abaafa35056e2bc1ed43 Mon Sep 17 00:00:00 2001
From: Mateusz Kusiak <mateusz.kusiak@intel.com>
Date: Thu, 18 Jan 2024 11:30:17 +0100
Subject: [PATCH 3/5] Super-intel: Fix first checkpoint restart
Git-commit: fdb7e802f4cf64d067c3abaafa35056e2bc1ed43
Patch-mainline: mdadm-4.3+
References: jsc#PED-7542
When imsm based array is stopped after reaching first checkpoint and
then assembled, first checkpoint is reported as 0.
This behaviour is valid only for initial checkpoint, if the array was
stopped while performing some action.
Last checkpoint value is not taken from metadata but always starts
with 0 and it's incremented when sync_completed in sysfs changes.
In simplification, read_and_act() is responsible for checkpoint updates
and is executed each time sysfs checkpoint update happens. For first
checkpoint it is executed twice and due to marking checkpoint before
triggering any action on the array, it is impossible to read
sync_completed from sysfs in just two iterations.
The workaround to this is not marking any checkpoint for first
sysfs checkpoint after RAID assembly, to preserve checkpoint value
stored in metadata.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Coly Li <colyli@suse.de>
---
super-intel.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/super-intel.c b/super-intel.c
index dbea235..e61f3f6 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -8771,6 +8771,9 @@ static int imsm_set_array_state(struct active_array *a, int consistent)
super->updates_pending++;
}
+ if (a->prev_action == idle)
+ goto skip_mark_checkpoint;
+
mark_checkpoint:
/* skip checkpointing for general migration,
* it is controlled in mdadm
--
2.35.3

View File

@@ -1,65 +0,0 @@
From ea2ca7ed3dbbf881ce08d80fe371f2aaf05011c3 Mon Sep 17 00:00:00 2001
From: Mateusz Kusiak <mateusz.kusiak@intel.com>
Date: Thu, 18 Jan 2024 11:30:18 +0100
Subject: [PATCH 4/5] Grow: Move update_tail assign to Grow_reshape()
Git-commit: ea2ca7ed3dbbf881ce08d80fe371f2aaf05011c3
Patch-mainline: mdadm-4.3+
References: jsc#PED-7542
Due to e919fb0af245 ("FIX: Enable metadata updates for raid0") code
can't enter super-intel.c:3415, resulting in checkpoint not being
saved to metadata for second volume in matrix raid array.
This results in checkpoint being stuck at last value for the
first volume.
Move st->update_tail to Grow_reshape() so it is assigned for each
volume.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Coly Li <colyli@suse.de>
---
Grow.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/Grow.c b/Grow.c
index f95dae8..5498e54 100644
--- a/Grow.c
+++ b/Grow.c
@@ -2085,9 +2085,10 @@ int Grow_reshape(char *devname, int fd,
if (!mdmon_running(st->container_devnm))
start_mdmon(st->container_devnm);
ping_monitor(container);
- if (mdmon_running(st->container_devnm) &&
- st->update_tail == NULL)
- st->update_tail = &st->updates;
+ if (mdmon_running(st->container_devnm) == false) {
+ pr_err("No mdmon found. Grow cannot continue.\n");
+ goto release;
+ }
}
if (s->size == MAX_SIZE)
@@ -3048,6 +3049,8 @@ static int reshape_array(char *container, int fd, char *devname,
dprintf("Cannot get array information.\n");
goto release;
}
+ if (st->update_tail == NULL)
+ st->update_tail = &st->updates;
if (array.level == 0 && info->component_size == 0) {
get_dev_size(fd, NULL, &array_size);
info->component_size = array_size / array.raid_disks;
@@ -5152,9 +5155,7 @@ int Grow_continue_command(char *devname, int fd,
start_mdmon(container);
ping_monitor(container);
- if (mdmon_running(container))
- st->update_tail = &st->updates;
- else {
+ if (mdmon_running(container) == false) {
pr_err("No mdmon found. Grow cannot continue.\n");
ret_val = 1;
goto Grow_continue_command_exit;
--
2.35.3

View File

@@ -1,60 +0,0 @@
From 37eeae381a8ed07a1fabb64184fe45d95a861496 Mon Sep 17 00:00:00 2001
From: Mateusz Kusiak <mateusz.kusiak@intel.com>
Date: Thu, 18 Jan 2024 11:30:19 +0100
Subject: [PATCH 5/5] Add understanding output section in man
Git-commit: 37eeae381a8ed07a1fabb64184fe45d95a861496
Patch-mainline: mdadm-4.3+
References: jsc#PED-7542
Add new section in man for explaining mdadm outputs.
Describe checkpoint entry.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Coly Li <colyli@suse.de>
---
mdadm.8.in | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/mdadm.8.in b/mdadm.8.in
index 96a4a08..9ba6682 100644
--- a/mdadm.8.in
+++ b/mdadm.8.in
@@ -3179,7 +3179,7 @@ environment. This can be useful for testing or for disaster
recovery. You should be aware that interoperability may be
compromised by setting this value.
-These change can also be suppressed by adding
+These change can also be suppressed by adding
.B mdadm.imsm.test=1
to the kernel command line. This makes it easy to test IMSM
code in a virtual machine that doesn't have IMSM virtual hardware.
@@ -3454,6 +3454,25 @@ is any string. These names are supported by
since version 3.3 provided they are enabled in
.IR mdadm.conf .
+.SH UNDERSTANDING OUTPUT
+
+.TP
+EXAMINE
+
+.TP
+.B checkpoint
+Checkpoint value is reported when array is performing some action including
+resync, recovery or reshape. Checkpoints allow resuming action from certain
+point if it was interrupted.
+
+Checkpoint is reported as combination of two values: current migration unit
+and number of blocks per unit. By multiplying those values and dividing by
+array size checkpoint progress percentage can be obtained in relation to
+current progress reported in /proc/mdstat. Checkpoint is also related to (and
+sometimes based on) sysfs entry sync_completed but depending on action units
+may differ. Even if units are the same, it should not be expected that
+checkpoint and sync_completed will be exact match nor updated simultaneously.
+
.SH NOTE
.I mdadm
was previously known as
--
2.35.3

View File

@@ -1,59 +0,0 @@
From b0f4e8e30f38d83f7e3f53d01d72d4cb3b4d42d7 Mon Sep 17 00:00:00 2001
From: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
Date: Tue, 7 May 2024 05:38:55 +0200
Subject: [PATCH] util.c: change devnm to const in mdmon functions
Git-commit: b0f4e8e30f38d83f7e3f53d01d72d4cb3b4d42d7
Patch-mainline: mdadm-4.3+
References: bsc#1225307
Devnm shall not be changed inside mdmon_running()
and mdmon_pid() functions, change this parameter to const.
Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Coly Li <colyli@suse.de>
---
mdadm.h | 4 ++--
util.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/mdadm.h b/mdadm.h
index 2ff3e463..1ba541fc 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -1768,8 +1768,8 @@ extern int is_subarray_active(char *subarray, char *devname);
extern int open_subarray(char *dev, char *subarray, struct supertype *st, int quiet);
extern struct superswitch *version_to_superswitch(char *vers);
-extern int mdmon_running(char *devnm);
-extern int mdmon_pid(char *devnm);
+extern int mdmon_running(const char *devnm);
+extern int mdmon_pid(const char *devnm);
extern int check_env(char *name);
extern __u32 random32(void);
extern void random_uuid(__u8 *buf);
diff --git a/util.c b/util.c
index 4fbf11c4..e2b490e1 100644
--- a/util.c
+++ b/util.c
@@ -1902,7 +1902,7 @@ unsigned long long min_recovery_start(struct mdinfo *array)
return recovery_start;
}
-int mdmon_pid(char *devnm)
+int mdmon_pid(const char *devnm)
{
char path[100];
char pid[10];
@@ -1922,7 +1922,7 @@ int mdmon_pid(char *devnm)
return atoi(pid);
}
-int mdmon_running(char *devnm)
+int mdmon_running(const char *devnm)
{
int pid = mdmon_pid(devnm);
if (pid <= 0)
--
2.35.3

View File

@@ -1,125 +0,0 @@
From aa1cc5815d2b14a8b47add18cfaa8264e19c10ce Mon Sep 17 00:00:00 2001
From: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
Date: Tue, 7 May 2024 05:38:56 +0200
Subject: [PATCH] Wait for mdmon when it is stared via systemd
Git-commit: aa1cc5815d2b14a8b47add18cfaa8264e19c10ce
Patch-mainline: mdadm-4.3+
References: bsc#1225307
When mdmon is being started it may need few seconds to start.
For now, we didn't wait for it. Introduce wait_for_mdmon()
function, which waits up to 5 seconds for mdmon to start completely.
Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Coly Li <colyli@suse.de>
---
Assemble.c | 4 ++--
Grow.c | 7 ++++---
mdadm.h | 2 ++
util.c | 29 +++++++++++++++++++++++++++++
4 files changed, 37 insertions(+), 5 deletions(-)
diff --git a/Assemble.c b/Assemble.c
index f5e9ab1f..83dced19 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -2173,8 +2173,8 @@ int assemble_container_content(struct supertype *st, int mdfd,
if (!mdmon_running(st->container_devnm))
start_mdmon(st->container_devnm);
ping_monitor(st->container_devnm);
- if (mdmon_running(st->container_devnm) &&
- st->update_tail == NULL)
+ if (wait_for_mdmon(st->container_devnm) == MDADM_STATUS_SUCCESS &&
+ !st->update_tail)
st->update_tail = &st->updates;
}
diff --git a/Grow.c b/Grow.c
index 87ed9214..1923c27c 100644
--- a/Grow.c
+++ b/Grow.c
@@ -2134,7 +2134,7 @@ int Grow_reshape(char *devname, int fd,
if (!mdmon_running(st->container_devnm))
start_mdmon(st->container_devnm);
ping_monitor(container);
- if (mdmon_running(st->container_devnm) == false) {
+ if (wait_for_mdmon(st->container_devnm) != MDADM_STATUS_SUCCESS) {
pr_err("No mdmon found. Grow cannot continue.\n");
goto release;
}
@@ -3218,7 +3218,8 @@ static int reshape_array(char *container, int fd, char *devname,
if (!mdmon_running(container))
start_mdmon(container);
ping_monitor(container);
- if (mdmon_running(container) && st->update_tail == NULL)
+ if (wait_for_mdmon(container) == MDADM_STATUS_SUCCESS &&
+ !st->update_tail)
st->update_tail = &st->updates;
}
}
@@ -5173,7 +5174,7 @@ int Grow_continue_command(char *devname, int fd, struct context *c)
start_mdmon(container);
ping_monitor(container);
- if (mdmon_running(container) == false) {
+ if (wait_for_mdmon(container) != MDADM_STATUS_SUCCESS) {
pr_err("No mdmon found. Grow cannot continue.\n");
ret_val = 1;
goto Grow_continue_command_exit;
diff --git a/mdadm.h b/mdadm.h
index 1ba541fc..b71d7b32 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -1770,6 +1770,8 @@ extern struct superswitch *version_to_superswitch(char *vers);
extern int mdmon_running(const char *devnm);
extern int mdmon_pid(const char *devnm);
+extern mdadm_status_t wait_for_mdmon(const char *devnm);
+
extern int check_env(char *name);
extern __u32 random32(void);
extern void random_uuid(__u8 *buf);
diff --git a/util.c b/util.c
index e2b490e1..bf79742f 100644
--- a/util.c
+++ b/util.c
@@ -1932,6 +1932,35 @@ int mdmon_running(const char *devnm)
return 0;
}
+/*
+ * wait_for_mdmon() - Waits for mdmon within specified time.
+ * @devnm: Device for which mdmon should start.
+ *
+ * Function waits for mdmon to start. It may need few seconds
+ * to start, we set timeout to 5, it should be sufficient.
+ * Do not wait if mdmon has been started.
+ *
+ * Return: MDADM_STATUS_SUCCESS if mdmon is running, error code otherwise.
+ */
+mdadm_status_t wait_for_mdmon(const char *devnm)
+{
+ const time_t mdmon_timeout = 5;
+ time_t start_time = time(0);
+
+ if (mdmon_running(devnm))
+ return MDADM_STATUS_SUCCESS;
+
+ pr_info("Waiting for mdmon to start\n");
+ while (time(0) - start_time < mdmon_timeout) {
+ sleep_for(0, MSEC_TO_NSEC(200), true);
+ if (mdmon_running(devnm))
+ return MDADM_STATUS_SUCCESS;
+ };
+
+ pr_err("Timeout waiting for mdmon\n");
+ return MDADM_STATUS_ERROR;
+}
+
int start_mdmon(char *devnm)
{
int i;
--
2.35.3

View File

@@ -0,0 +1,56 @@
From b5f5415636cebafc1a10cc5ee1887adba8fce74d Mon Sep 17 00:00:00 2001
From: Coly Li <colyli@suse.de>
Date: Wed, 22 Jan 2025 23:18:59 +0800
Subject: [PATCH] mdopen: add sbin path to env PATH when call system("modprobe
md_mod")
During the boot process if mdadm is called in udev context, sbin paths
like /sbin, /usr/sbin, /usr/local/sbin normally not defined in PATH env
variable, calling system("modprobe md_mod") in create_named_array() may
fail with 'sh: modprobe: command not found' error message.
We don't want to move modprobe binary into udev private directory, so
setting the PATH env is a more proper method to avoid the above issue.
This patch sets PATH env variable with "/sbin:/usr/sbin:/usr/local/sbin"
before calling system("modprobe md_mod"). The change only takes effect
within the udev worker context, not seen by global udev environment.
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Mariusz Tkaczyk <mtkaczyk@kernel.org>
---
mdopen.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/mdopen.c b/mdopen.c
index 26f0c71..57252b6 100644
--- a/mdopen.c
+++ b/mdopen.c
@@ -39,6 +39,24 @@ int create_named_array(char *devnm)
fd = open(new_array_file, O_WRONLY);
if (fd < 0 && errno == ENOENT) {
+ char buf[PATH_MAX] = {0};
+ char *env_ptr;
+
+ env_ptr = getenv("PATH");
+ /*
+ * When called by udev worker context, path of modprobe
+ * might not be in env PATH. Set sbin paths into PATH
+ * env to avoid potential failure when run modprobe here.
+ */
+ if (env_ptr)
+ snprintf(buf, PATH_MAX - 1, "%s:%s", env_ptr,
+ "/sbin:/usr/sbin:/usr/local/sbin");
+ else
+ snprintf(buf, PATH_MAX - 1, "%s",
+ "/sbin:/usr/sbin:/usr/local/sbin");
+
+ setenv("PATH", buf, 1);
+
if (system("modprobe md_mod") == 0)
fd = open(new_array_file, O_WRONLY);
}
--
2.48.1

View File

@@ -0,0 +1,113 @@
From 58a2ce726968dcc60aa4d8c380e4f093afd33c58 Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Thu, 27 Feb 2025 23:17:42 +0100
Subject: [PATCH] Revert "mdmonitor: Abandon custom configuration files"
This reverts commit a7a5e676a7eb2ac97acd31b13f75515e9573f891.
For the time being, we want to stick with /etc/sysconfig/mdadm
---
Makefile | 1 +
systemd/SUSE-mdadm_env.sh | 48 +++++++++++++++++++++++++++++++++++++++
systemd/mdmonitor.service | 22 ++++--------------
3 files changed, 53 insertions(+), 18 deletions(-)
create mode 100644 systemd/SUSE-mdadm_env.sh
diff --git a/Makefile b/Makefile
index bcd092d..24367b0 100644
--- a/Makefile
+++ b/Makefile
@@ -341,6 +341,7 @@ install-systemd: systemd/mdmon@.service
$(INSTALL) -D -m 755 .install.tmp.3 $(DESTDIR)$(SYSTEMD_DIR)-shutdown/$$file ; \
rm -f .install.tmp.3; \
done
+ if [ -f /etc/SuSE-release -o -n "$(SUSE)" ] ;then $(INSTALL) -D -m 755 systemd/SUSE-mdadm_env.sh $(DESTDIR)$(LIB_DIR)/mdadm_env.sh ;fi
install-bin: mdadm mdmon
$(INSTALL) -D $(STRIP) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm
diff --git a/systemd/SUSE-mdadm_env.sh b/systemd/SUSE-mdadm_env.sh
new file mode 100644
index 0000000..c13b48a
--- /dev/null
+++ b/systemd/SUSE-mdadm_env.sh
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+# extract configuration from /etc/sysconfig/mdadm and write
+# environment to /run/sysconfig/mdadm to be used by
+# systemd unit files.
+
+MDADM_SCAN="yes"
+
+# Following adapted from /etc/init.d/mdadmd on openSUSE
+
+mdadmd_CONFIG=/etc/sysconfig/mdadm
+if test -r $mdadmd_CONFIG; then
+ . $mdadmd_CONFIG
+fi
+
+if [ x$MDADM_DELAY != x"" ]; then
+ MDADM_DELAY="-d "$MDADM_DELAY;
+fi
+
+if [ x$MDADM_MAIL != x"" ]; then
+ MDADM_MAIL="-m \"$MDADM_MAIL\""
+fi
+
+if [ x$MDADM_PROGRAM != x"" ]; then
+ MDADM_PROGRAM="-p \"$MDADM_PROGRAM\""
+fi
+
+if [ x$MDADM_SCAN = x"yes" ]; then
+ MDADM_SCAN="--scan"
+else
+ MDADM_SCAN=""
+fi
+
+if [ x$MDADM_SEND_MAIL_ON_START = x"yes" ]; then
+ MDADM_SEND_MAIL="-t"
+else
+ MDADM_SEND_MAIL=""
+fi
+
+if [ x$MDADM_CONFIG != x"" ]; then
+ MDADM_CONFIG="-c \"$MDADM_CONFIG\""
+fi
+
+mkdir -p /run/sysconfig
+echo "MDADM_MONITOR_ARGS=$MDADM_RAIDDEVICES $MDADM_DELAY $MDADM_MAIL $MDADM_PROGRAM $MDADM_SCAN $MDADM_SEND_MAIL $MDADM_CONFIG" > /run/sysconfig/mdadm
+if [ -n "$MDADM_CHECK_DURATION" ]; then
+ echo "MDADM_CHECK_DURATION=$MDADM_CHECK_DURATION" >> /run/sysconfig/mdadm
+fi
diff --git a/systemd/mdmonitor.service b/systemd/mdmonitor.service
index 95046bc..9c36478 100644
--- a/systemd/mdmonitor.service
+++ b/systemd/mdmonitor.service
@@ -11,21 +11,7 @@ DefaultDependencies=no
Documentation=man:mdadm(8)
[Service]
-# For Maintainers:
-# We need to ensure that the mdmonitor configuration aligns with the guidelines provided
-# in the man page for users.
-# /etc/sysconfig/mdadm, /etc/sysconfig/mdmonitor, or any other similar configuration file should
-# not be supported because non upstream components are not described in man pages.
-
-# Parameters designed to be customized by user, should be settable via mdadm.conf:
-# - MONITORDELAY (do not set --delay in service)
-# - MAILADDR (do not set --mail in service)
-# - MAILFROM (not settable from cmdline)
-# - PROGRAM (do not set --program or --alert in service)
-#
-# Following parameters can be customized in service:
-# - --syslog (configure syslog logging)
-# - --fork (Type=forking must be added, not recommended and not needed with systemd)
-# - --pid-file (allowed only when --fork selected)
-
-ExecStart=BINDIR/mdadm --monitor --scan
+Environment= MDADM_MONITOR_ARGS=--scan
+EnvironmentFile=-/run/sysconfig/mdadm
+ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
+ExecStart=BINDIR/mdadm --monitor $MDADM_MONITOR_ARGS
--
2.48.1

View File

@@ -1,13 +1,18 @@
---
Detail.c | 1 +
md_p.h | 1 +
2 files changed, 2 insertions(+)
From 37339bd211623574efd2f6f5e5133a3247e3bbde Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Thu, 27 Feb 2025 23:24:16 +0100
Subject: [PATCH 1001/1005] mdadm -D: display timeout status
Index: mdadm-4.0/Detail.c
===================================================================
--- mdadm-4.0.orig/Detail.c
+++ mdadm-4.0/Detail.c
@@ -693,6 +693,8 @@ This is pretty boring
---
Detail.c | 2 ++
md_p.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/Detail.c b/Detail.c
index 5819ced..1e2e4c0 100644
--- a/Detail.c
+++ b/Detail.c
@@ -745,6 +745,8 @@ int Detail(char *dev, struct context *c)
disk.raid_disk >= 0)
failed++;
}
@@ -16,10 +21,10 @@ Index: mdadm-4.0/Detail.c
if (disk.state & (1 << MD_DISK_ACTIVE))
printf(" active");
if (disk.state & (1 << MD_DISK_SYNC)) {
Index: mdadm-4.0/md_p.h
===================================================================
--- mdadm-4.0.orig/md_p.h
+++ mdadm-4.0/md_p.h
diff --git a/md_p.h b/md_p.h
index 358a28c..9c66dc6 100644
--- a/md_p.h
+++ b/md_p.h
@@ -90,6 +90,7 @@
* dire need
*/
@@ -28,3 +33,6 @@ Index: mdadm-4.0/md_p.h
#define MD_DISK_REPLACEMENT 17
#define MD_DISK_JOURNAL 18 /* disk is used as the write journal in RAID-5/6 */
--
2.48.1

View File

@@ -1,7 +1,7 @@
From e9d2cca0f83075a946fef81012cf60bb73fee73b Mon Sep 17 00:00:00 2001
From: Ali Abdallah <ali.abdallah@suse.com>
Subject: OnCalendar format fix of mdcheck_start.timer
Patch-mainline: in-house patch at this moment, will post to upstream in future
References: bsc#1173137
Date: Thu, 27 Feb 2025 23:24:25 +0100
Subject: [PATCH 1002/1005] OnCalendar format fix of mdcheck_start.timer
This patch includes the fix of the OnCalendar format, changing the format of
mdcheck_start.timer [Timer] section,
@@ -10,10 +10,14 @@ to OnCalendar=Sun *-*-* 1:00:00
Signed-off-by: Ali Abdallah <ali.abdallah@suse.com>
Acked-by: Coly Li <colyli@suse.de>
Index: mdadm-4.1/systemd/mdcheck_start.timer
===================================================================
--- mdadm-4.1.orig/systemd/mdcheck_start.timer
+++ mdadm-4.1/systemd/mdcheck_start.timer
---
systemd/mdcheck_start.timer | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/systemd/mdcheck_start.timer b/systemd/mdcheck_start.timer
index 9e7e02a..ba15ef5 100644
--- a/systemd/mdcheck_start.timer
+++ b/systemd/mdcheck_start.timer
@@ -9,7 +9,7 @@
Description=MD array scrubbing
@@ -23,3 +27,6 @@ Index: mdadm-4.1/systemd/mdcheck_start.timer
[Install]
WantedBy= mdmonitor.service
--
2.48.1

View File

@@ -1,9 +1,7 @@
From 2361620a9d78a4e26ec438b5cc21fe796d411497 Mon Sep 17 00:00:00 2001
From 1b1936b64511186ef0ea78b8b147825302f8ef56 Mon Sep 17 00:00:00 2001
From: Coly Li <colyli@suse.de>
Date: Mon, 31 Aug 2020 00:02:10 +0800
Subject: [PATCH] mdadm: treat the Dell softraid array as local array
Patch-mainline: N/A, in-house usage only as a workaround to Dell's softraid bug
References: bsc#1175004
Subject: [PATCH 1003/1005] mdadm: treat the Dell softraid array as local array
Dell softraid FW uses homehost in md raid superblock to store
its virtual disk name e.g. "VirtualDisk01". The improper usage
@@ -24,17 +22,17 @@ Signed-off-by: Coly Li <colyli@suse.de>
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/super1.c b/super1.c
index 7664883..d15067a 100644
index fe3c4c6..2ad373d 100644
--- a/super1.c
+++ b/super1.c
@@ -954,8 +954,25 @@ static int examine_badblocks_super1(struct supertype *st, int fd, char *devname)
@@ -958,8 +958,25 @@ static int examine_badblocks_super1(struct supertype *st, int fd, char *devname)
static int match_home1(struct supertype *st, char *homehost)
{
struct mdp_superblock_1 *sb = st->sb;
- int l = homehost ? strlen(homehost) : 0;
+ char *dell_softraid_header = "VirtualDisk";
+ int l = strlen(dell_softraid_header);
+
+ /*
+ * Dell softraid FW uses homehost in md raid superblock to store
+ * its virtual disk name e.g. "VirtualDisk01". The improper usage
@@ -48,12 +46,12 @@ index 7664883..d15067a 100644
+ */
+ if (strncmp(sb->set_name, dell_softraid_header, l) == 0)
+ return 1;
+
+ /* Normal cases handleing */
+ l = homehost ? strlen(homehost) : 0;
return (l > 0 && l < 32 && sb->set_name[l] == ':' &&
strncmp(sb->set_name, homehost, l) == 0);
}
--
2.26.2
2.48.1

View File

@@ -1,9 +1,7 @@
From 6e79d4bd229e5db4e435917daf4c57cd79db9265 Mon Sep 17 00:00:00 2001
From 8a5cf693f728f55456b18d79b2313adc4ea4bc43 Mon Sep 17 00:00:00 2001
From: colyli <colyli@suse.coly>
Date: Wed, 17 Oct 2018 11:08:39 +0800
Subject: [PATCH] Call mdadm_env.sh from /usr/libexec/mdadm
Patch-mainline: N/A, SUSE only patch
References: bsc#1111960, bsc#1202090
Subject: [PATCH 1004/1005] Call mdadm_env.sh from /usr/libexec/mdadm
Current Makefile installs mdadm_env.sh to /usr/libexec/mdadm but the
systemd service files call it from /usr/lib/mdadm. This patch changes
@@ -12,13 +10,16 @@ make things working.
Signed-off-by: Coly Li <colyli@suse.de>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
systemd/mdcheck_continue.service | 2 ++
systemd/mdcheck_start.service | 2 ++
systemd/mdmonitor-oneshot.service | 2 +-
systemd/mdmonitor.service | 2 +-
4 files changed, 6 insertions(+), 2 deletions(-)
Index: mdadm-4.3/systemd/mdcheck_continue.service
===================================================================
--- mdadm-4.3.orig/systemd/mdcheck_continue.service
+++ mdadm-4.3/systemd/mdcheck_continue.service
diff --git a/systemd/mdcheck_continue.service b/systemd/mdcheck_continue.service
index 70892a1..454b92f 100644
--- a/systemd/mdcheck_continue.service
+++ b/systemd/mdcheck_continue.service
@@ -13,4 +13,6 @@ Documentation=man:mdadm(8)
[Service]
Type=oneshot
@@ -26,10 +27,10 @@ Index: mdadm-4.3/systemd/mdcheck_continue.service
+EnvironmentFile=-/run/sysconfig/mdadm
+ExecStartPre=-/usr/libexec/mdadm/mdadm_env.sh
ExecStart=/usr/share/mdadm/mdcheck --continue --duration ${MDADM_CHECK_DURATION}
Index: mdadm-4.3/systemd/mdcheck_start.service
===================================================================
--- mdadm-4.3.orig/systemd/mdcheck_start.service
+++ mdadm-4.3/systemd/mdcheck_start.service
diff --git a/systemd/mdcheck_start.service b/systemd/mdcheck_start.service
index fc4fc43..a1077f0 100644
--- a/systemd/mdcheck_start.service
+++ b/systemd/mdcheck_start.service
@@ -13,4 +13,6 @@ Documentation=man:mdadm(8)
[Service]
Type=oneshot
@@ -37,10 +38,10 @@ Index: mdadm-4.3/systemd/mdcheck_start.service
+EnvironmentFile=-/run/sysconfig/mdadm
+ExecStartPre=-/usr/libexec/mdadm/mdadm_env.sh
ExecStart=/usr/share/mdadm/mdcheck --duration ${MDADM_CHECK_DURATION}
Index: mdadm-4.3/systemd/mdmonitor-oneshot.service
===================================================================
--- mdadm-4.3.orig/systemd/mdmonitor-oneshot.service
+++ mdadm-4.3/systemd/mdmonitor-oneshot.service
diff --git a/systemd/mdmonitor-oneshot.service b/systemd/mdmonitor-oneshot.service
index ba86b44..3b9d073 100644
--- a/systemd/mdmonitor-oneshot.service
+++ b/systemd/mdmonitor-oneshot.service
@@ -12,5 +12,5 @@ Documentation=man:mdadm(8)
[Service]
Environment=MDADM_MONITOR_ARGS=--scan
@@ -48,10 +49,10 @@ Index: mdadm-4.3/systemd/mdmonitor-oneshot.service
-ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
+ExecStartPre=-/usr/libexec/mdadm/mdadm_env.sh
ExecStart=BINDIR/mdadm --monitor --oneshot $MDADM_MONITOR_ARGS
Index: mdadm-4.3/systemd/mdmonitor.service
===================================================================
--- mdadm-4.3.orig/systemd/mdmonitor.service
+++ mdadm-4.3/systemd/mdmonitor.service
diff --git a/systemd/mdmonitor.service b/systemd/mdmonitor.service
index 9c36478..71cf4fe 100644
--- a/systemd/mdmonitor.service
+++ b/systemd/mdmonitor.service
@@ -13,5 +13,5 @@ Documentation=man:mdadm(8)
[Service]
Environment= MDADM_MONITOR_ARGS=--scan
@@ -59,3 +60,6 @@ Index: mdadm-4.3/systemd/mdmonitor.service
-ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
+ExecStartPre=-/usr/libexec/mdadm/mdadm_env.sh
ExecStart=BINDIR/mdadm --monitor $MDADM_MONITOR_ARGS
--
2.48.1

View File

@@ -1,9 +1,7 @@
From 449c8b62164880ab132ad6eec86a8d53f793af69 Mon Sep 17 00:00:00 2001
From b30b6e1c3ae6c3258ec7f6862d361842e4ec489f Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Tue, 19 Jul 2022 13:18:23 +0800
Subject: [PATCH 19/23] mdadm: enable Intel Alderlake RSTe configuration
Patch-mainline: N/A, SUSE only patch
References: bsc#1201297
Subject: [PATCH 1005/1006] mdadm: enable Intel Alderlake RSTe configuration
Alderlake has a slightly different RST configuration; the UEFI
variable is name 'RstVmdV', and the AHCI controller shows up as
@@ -13,41 +11,23 @@ PCI class (and not the RAID class as RSTe would normally do).
Signed-off-by: Hannes Reinecke <hare@suse.de>
Acked-by: Coly Li <colyli@suse.de>
---
platform-intel.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
platform-intel.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: mdadm-4.2/platform-intel.c
===================================================================
--- mdadm-4.2.orig/platform-intel.c
+++ mdadm-4.2/platform-intel.c
@@ -512,6 +512,7 @@ static const struct imsm_orom *find_imsm
#define AHCI_PROP "RstSataV"
#define AHCI_SSATA_PROP "RstsSatV"
#define AHCI_TSATA_PROP "RsttSatV"
+#define AHCI_RST_PROP "RstVmdV"
#define VROC_VMD_PROP "RstUefiV"
diff --git a/platform-intel.c b/platform-intel.c
index 95bc492..9a6f586 100644
--- a/platform-intel.c
+++ b/platform-intel.c
@@ -656,6 +656,7 @@ static const struct imsm_orom *find_imsm_hba_orom(struct sys_dev *hba)
#define RST_VMD_PROP "RstVmdV"
@@ -519,6 +520,7 @@ static const struct imsm_orom *find_imsm
EFI_GUID(0x193dfefa, 0xa445, 0x4302, 0x99, 0xd8, 0xef, 0x3a, 0xad, 0x1a, 0x04, 0xc6)
#define PCI_CLASS_RAID_CNTRL 0x010400
+#define PCI_CLASS_SATA_HBA 0x010601
static int read_efi_var(void *buffer, ssize_t buf_size,
const char *variable_name, struct efi_guid guid)
@@ -605,7 +607,8 @@ const struct imsm_orom *find_imsm_efi(st
struct imsm_orom orom;
struct orom_entry *ret;
static const char * const sata_efivars[] = {AHCI_PROP, AHCI_SSATA_PROP,
- AHCI_TSATA_PROP};
+ AHCI_TSATA_PROP,
+ AHCI_RST_PROP};
static const char * const vmd_efivars[] = {VROC_VMD_PROP, RST_VMD_PROP};
unsigned long i;
@@ -624,7 +627,8 @@ const struct imsm_orom *find_imsm_efi(st
/* GUID length in Bytes */
#define GUID_LENGTH 16
@@ -1049,7 +1050,8 @@ const struct imsm_orom *find_imsm_efi(struct sys_dev *hba)
break;
return NULL;
case SYS_DEV_SATA:
- if (hba->class != PCI_CLASS_RAID_CNTRL)
@@ -55,4 +35,7 @@ Index: mdadm-4.2/platform-intel.c
+ hba->class != PCI_CLASS_SATA_HBA)
return NULL;
for (i = 0; i < ARRAY_SIZE(sata_efivars); i++) {
if (find_imsm_efi_orom(&orom, hba->type))
--
2.48.1

View File

@@ -0,0 +1,74 @@
From 127e38b59cbdf717d1569bcdc75b8d823d8485f3 Mon Sep 17 00:00:00 2001
From: Blazej Kucman <blazej.kucman@intel.com>
Date: Mon, 31 Mar 2025 12:46:52 +0200
Subject: [PATCH] imsm: Fix RAID0 to RAID10 migration
Support for RAID10 with +4 disks in IMSM introduced an inconsistency
between the VROC UEFI driver and Linux IMSM. VROC UEFI does not
support RAID10 with +4 disks, therefore appropriate protections were
added to the mdadm IMSM code that results in skipping processing of
such RAID in the UEFI phase. Unfortunately the case of migration
RAID0 2 disks to RAID10 4 disks was omitted, this case requires
maintaining compatibility with the VROC UEFI driver because it is
supported.
For RAID10 +4 disk the MPB_ATTRIB_RAID10_EXT attribute is set in the
metadata, thanks to which the UEFI driver does not process such RAID.
In the series adding support, a new metadata raid level value
IMSM_T_RAID10 was also introduced. It is not recognized by VROC UEFI.
The issue is caused by the fact that in the case of the mentioned
migration, IMSM_T_RAID10 is entered into the metadata but attribute
MPB_ATTRIB_RAID10_EXT is not entered, which causes an attempt to
process such RAID in the UEFI phase. This situation results in
the platform hang during booting in UEFI phase, this also results in
data loss after failed and interrupted RAID processing in VROC UEFI.
The above situation is result of the update_imsm_raid_level()
function, for the mentioned migration function is executed on a map
with a not yet updated number of disks.
The fix is to explicitly handle migration in the function mentioned
above to maintain compatibility with VROC UEFI driver.
Steps to reproduce:
mdadm -C /dev/md/imsm0 -e imsm -n 2 /dev/nvme[1,2]n1 -R
mdadm -C /dev/md/vol -l 0 -n 2 /dev/nvme[1,2]n1 --assume-clean -R
mdadm -a /dev/md127 /dev/nvme3n1
mdadm -a /dev/md127 /dev/nvme4n1
mdadm -G /dev/md126 -l 10
reboot
Fixes: 27550b13297a ("imsm: add support for literal RAID 10")
Signed-off-by: Blazej Kucman <blazej.kucman@intel.com>
---
super-intel.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/super-intel.c b/super-intel.c
index 4988eef1..b7b030a2 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -1327,6 +1327,19 @@ static void update_imsm_raid_level(struct imsm_map *map, int new_level)
return;
}
+ /*
+ * RAID0 to RAID10 migration.
+ * Due to the compatibility with VROC UEFI must be maintained, this case must be handled
+ * separately, because the map does not have an updated number of disks.
+ */
+ if (map->raid_level == IMSM_T_RAID0) {
+ if (map->num_members == 2)
+ map->raid_level = IMSM_T_RAID1;
+ else
+ map->raid_level = IMSM_T_RAID10;
+ return;
+ }
+
if (map->num_members == 4) {
if (map->raid_level == IMSM_T_RAID10 || map->raid_level == IMSM_T_RAID1)
return;
--
2.35.3

View File

@@ -0,0 +1,42 @@
From 48319768f534e4655ef66176a95d2355a431d735 Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Wed, 30 Apr 2025 21:18:36 +0200
Subject: [PATCH 1007/1008] mdadm: allow any valid minor number in md device
name
Since 25aa732 ("mdadm: numbered names verification"), it is not possible
any more to create arrays /dev/md${N} with N >= 127. The limit has later
been increased to 1024, which is also artificial. The error message printed
by mdadm is misleading, as the problem is not POSIX compatibility here.
# mdadm -C -v /dev/md9999 --name=foo -l1 -n2 /dev/loop0 /dev/loop1
mdadm: Value "/dev/md9999" cannot be set as devname. Reason: Not POSIX compatible.
Given that mdadm creates an array with minor number ${N} if the argument is
/dev/md${N}, the natural limit for the number is the highest minor number
available, which is (1 << MINORBITS) with MINORBITS=20 on Linux.
Fixes: 25aa732 ("mdadm: numbered names verification")
Fixes: f786072 ("mdadm: Increase number limit in md device name to 1024.")
Signed-off-by: Martin Wilck <mwilck@suse.com>
---
util.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/util.c b/util.c
index 9fe2d22..0f77521 100644
--- a/util.c
+++ b/util.c
@@ -972,7 +972,8 @@ static bool is_devname_numbered(const char *devname, const char *pref, const int
if (parse_num(&val, devname + pref_len) != 0)
return false;
- if (val > 1024)
+ /* Allow any number that represents a valid minor number */
+ if (val >= (1 << 20))
return false;
return true;
--
2.49.0

View File

@@ -0,0 +1,47 @@
From 730586b291b9aecdbf03704ac2cb4e38082f2ce9 Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Wed, 7 May 2025 17:49:05 +0200
Subject: [PATCH] mdmonitor: use MAILFROM to set sendmail envelope sender
address
Modern mail relays may reject emails with unknown envelope sender
address.
Use the MAILFROM address also as envelope sender address to work
around this issue.
Signed-off-by: Martin Wilck <mwilck@suse.com>
---
mdmonitor.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/mdmonitor.c b/mdmonitor.c
index d51617c..ea35d98 100644
--- a/mdmonitor.c
+++ b/mdmonitor.c
@@ -639,11 +639,20 @@ static void execute_alert_cmd(const struct event_data *data)
*/
static void send_event_email(const struct event_data *data)
{
- FILE *mp, *mdstat;
+ FILE *mp = NULL, *mdstat;
char buf[BUFSIZ];
int n;
- mp = popen(Sendmail, "w");
+ if (info.mailfrom) {
+ char cmd[1024];
+ int rc = snprintf(cmd, sizeof(cmd), "%s -f%s",
+ Sendmail, info.mailfrom);
+
+ if (rc >= 0 && (unsigned int)rc < sizeof(cmd))
+ mp = popen(cmd, "w");
+ }
+ if (mp == NULL)
+ mp = popen(Sendmail, "w");
if (!mp) {
pr_err("Cannot open pipe stream for sendmail.\n");
return;
--
2.49.0

16
_service Normal file
View File

@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git</param>
<param name="filename">mdadm</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@+g%h</param>
<param name="revision">mdadm-4.4</param>
<param name="match-tag">mdadm-[0-9].[0-9]*</param>
<param name="versionrewrite-pattern">mdadm-([0-9]\.[0-9]+)((\+0\+g[0-9a-f]+)|(\+[1-9][0-9]*\+g[0-9a-f]+))</param>
<param name="versionrewrite-replacement">\1\4</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual"/>
<service mode="buildtime" name="tar"/>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ed64ea459e464420d3489d3f1875d3083f72e281ad4cd2f9c12a9ea44a5b606
size 467024

BIN
mdadm-4.4.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,104 @@
-------------------------------------------------------------------
Mon Jul 21 10:53:04 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Stop emitting %release into program binaries [boo#1246806]
-------------------------------------------------------------------
Tue May 27 13:28:42 UTC 2025 - Martin Wilck <mwilck@suse.com>
- monitor: Add MAILFROM address to email envelope to avoid smtp auth
errors (bsc#1241474)
* add 1008-mdmonitor-use-MAILFROM-to-set-sendmail-envelope-send.patch
-------------------------------------------------------------------
Wed May 7 15:59:57 UTC 2025 - Martin Wilck <mwilck@suse.com>
- Allow any valid minor name in md device name (bsc#1240789)
* add 1007-mdadm-allow-any-valid-minor-number-in-md-device-name.patch
-------------------------------------------------------------------
Tue May 6 15:54:25 UTC 2025 - Martin Wilck <mwilck@suse.com>
- Add dependency on suse-module-tools for SLE15 (bsc#1242696)
-------------------------------------------------------------------
Thu Apr 10 10:54:06 UTC 2025 - Ales Novak <alnovak@suse.com>
- IMSM RAID0 2 disks to RAID10 4 disks migration fix
add 1006-imsm-Fix-RAID0-to-RAID10-migration.patch (bsc#1241001)
-------------------------------------------------------------------
Tue Mar 4 13:42:52 UTC 2025 - Martin Wilck <mwilck@suse.com>
- cleanup 1005-mdadm-enable-Intel-Alderlake-RSTe-configuration.patch
(remove a redundant macro definition)
-------------------------------------------------------------------
Fri Feb 28 22:10:00 UTC 2025 - Martin Wilck <mwilck@suse.com>
- mdopen: add sbin path to env PATH when call system("modprobe md_mod")
(bsc#1233265)
add 0010-mdopen-add-sbin-path-to-env-PATH-when-call-system-mo.patch
-------------------------------------------------------------------
Thu Feb 27 21:51:04 UTC 2025 - Martin Wilck <mwilck@suse.com>
- Update to version 4.4 (jsc#PED-10220)
Features:
* Remove custom bitmap file support from Yu Kuai.
* Custom device policies implementation from Mariusz Tkaczyk.
* Self encrypted drives (**SED**) support for IMSM metadata from Blazej Kucman.
* Support more than 4 disks for **IMSM** RAID10 from Mateusz Kusiak.
* Read **IMSM** license information from ACPI tables from Blazej Kucman.
* Support devnode in **--Incremental --remove** from Mariusz Tkaczyk.
* Printing **IMSM** license type in **--detail-platform** from Blazej Kucman.
* README.md from Mariusz Tkaczyk and Anna Sztukowska.
Fixes:
* Tests improvements from Xiao Ni and Kinga Stefaniuk.
* Mdmon's Checkpointing improvements from Mateusz Kusiak.
* Pass mdadm environment flags to systemd-env to enable tests from Mateusz Kusiak.
* Superblock 1.0 uuid printing fixes from Mariusz Tkaczyk.
* Find VMD bus manually if link is not available from Mariusz Tkaczyk.
* Unconditional devices count printing in --detail from Anna Sztukowska.
* Improve SIGTERM handling during reshape, from Mateusz Kusiak.
* **Monitor.c** renamed to **Mdmonitor.c** from Kinga Stefaniuk.
* Mdmonitor service documentation update from Mariusz Tkaczyk.
* Rework around writing to sysfs files from Mariusz Tkaczyk.
* Drop of HOT_REMOVE_DISK ioctl in Manage in favour of sysfs from Mariusz Tkaczyk.
* Delegate disk removal to managemon from Mariusz Tkaczyk.
* Some clean-ups of legacy code and functionalities like **--auto=md** from Mariusz Tkaczyk.
* Manual clean-up, references to old kernels removed from Mariusz Tkaczyk.
* Various static code analysis fixes.
- Add 1000-Revert-mdmonitor-Abandon-custom-configuration-files.patch
(reverts upstream change to ignore /etc/sysconfig/mdadm)
- Drop obsolete patches (included upstream):
* Del 0001-Remove-hardcoded-checkpoint-interval-checking.patch
* Del 0002-monitor-refactor-checkpoint-update.patch
* Del 0003-Super-intel-Fix-first-checkpoint-restart.patch
* Del 0004-Grow-Move-update_tail-assign-to-Grow_reshape.patch
* Del 0005-Add-understanding-output-section-in-man.patch
* Del 0006-util.c-change-devnm-to-const-in-mdmon-functions.patch
* Del 0007-Wait-for-mdmon-when-it-is-stared-via-systemd.patch
* Del 0008-Detail-remove-duplicated-code.patch
* Del 0009-mdadm-Fix-native-detail-export.patch
- Use obs_scm for code maintenance
-------------------------------------------------------------------
Wed Jan 22 16:00:35 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop rcFOO symlinks for CODE16 (PED-266).
-------------------------------------------------------------------
Wed Sep 18 15:43:37 UTC 2024 - Coly Li <colyli@suse.de>
- Detail: remove duplicated code (bsc#1226413)
0008-Detail-remove-duplicated-code.patch
- mdadm: Fix native --detail --export (bsc#1226413)
0009-mdadm-Fix-native-detail-export.patch
-------------------------------------------------------------------
Sat Jul 6 15:43:04 UTC 2024 - Coly Li <colyli@suse.de>

4
mdadm.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: mdadm
version: 4.4
mtime: 1734083693
commit: 8e56efac9afd7080bb42bae4b77cdad5f345633a

View File

@@ -1,7 +1,7 @@
#
# spec file for package mdadm
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
%endif
Name: mdadm
Version: 4.3
Version: 4.4
Release: 0
BuildRequires: binutils-devel
BuildRequires: groff
@@ -31,6 +31,9 @@ BuildRequires: sgmltool
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
%if 0%{?suse_version} < 1550
BuildRequires: suse-module-tools
%endif
PreReq: %fillup_prereq
PreReq: coreutils
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
@@ -38,21 +41,20 @@ Summary: Utility for configuring "MD" software RAID devices
License: GPL-2.0-only
Group: System/Base
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: https://www.kernel.org/pub/linux/utils/raid/mdadm/%{name}-%{version}.tar.xz
Source: %{name}-%{version}.tar
Source1: Software-RAID.HOWTO.tar.bz2
Source2: sysconfig.mdadm
Patch1: 0001-Remove-hardcoded-checkpoint-interval-checking.patch
Patch2: 0002-monitor-refactor-checkpoint-update.patch
Patch3: 0003-Super-intel-Fix-first-checkpoint-restart.patch
Patch4: 0004-Grow-Move-update_tail-assign-to-Grow_reshape.patch
Patch5: 0005-Add-understanding-output-section-in-man.patch
Patch6: 0006-util.c-change-devnm-to-const-in-mdmon-functions.patch
Patch7: 0007-Wait-for-mdmon-when-it-is-stared-via-systemd.patch
Patch0010: 0010-mdopen-add-sbin-path-to-env-PATH-when-call-system-mo.patch
Patch1000: 1000-Revert-mdmonitor-Abandon-custom-configuration-files.patch
Patch1001: 1001-display-timeout-status.patch
Patch1002: 1002-OnCalendar-format-fix-of-mdcheck_start-timer.patch
Patch1003: 1003-mdadm-treat-the-Dell-softraid-array-as-local-array.patch
Patch1004: 1004-call-mdadm_env.sh-from-usr-libexec-mdadm.patch
Patch1005: 1005-mdadm-enable-Intel-Alderlake-RSTe-configuration.patch
Patch1006: 1006-imsm-Fix-RAID0-to-RAID10-migration.patch
Patch1007: 1007-mdadm-allow-any-valid-minor-number-in-md-device-name.patch
Patch1008: 1008-mdmonitor-use-MAILFROM-to-set-sendmail-envelope-send.patch
%define _udevdir %(pkg-config --variable=udevdir udev)
%define _systemdshutdowndir %{_unitdir}/../system-shutdown
@@ -63,7 +65,7 @@ mdadm is a program that can be used to control Linux md devices.
%autosetup -p1 -a1
%build
make %{?_smp_mflags} CC="%__cc" CXFLAGS="%{optflags} -Wno-error" EXTRAVERSION="%{release}" SUSE=yes BINDIR=%{_sbindir}
%make_build CC="%{__cc}" CXFLAGS="%{optflags} -Wno-error" SUSE=yes BINDIR="%{_sbindir}"
cd Software-RAID.HOWTO
sgml2html Software-RAID.HOWTO.sgml
sgml2txt Software-RAID.HOWTO.sgml
@@ -77,7 +79,9 @@ install -m 755 misc/mdcheck %{buildroot}/usr/share/mdadm/mdcheck
install -m 644 %{S:2} %{buildroot}%{_fillupdir}/
install -d %{buildroot}%{_systemdshutdowndir}
install -d %{buildroot}%{_sbindir}
%if 0%{?suse_version} < 1600
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor
%endif
%if 0%{?suse_version} < 1550
mkdir -p %{buildroot}/sbin
ln -s %{_sbindir}/mdadm %{buildroot}/sbin/mdadm
@@ -107,7 +111,8 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor
%files
%defattr(-,root,root)
%license COPYING
%doc ChangeLog README.initramfs TODO mdadm.conf-example mkinitramfs
%doc CHANGELOG.md documentation/mdadm.conf-example
%doc documentation/external-reshape-design.txt documentation/mdmon-design.txt
%doc Software-RAID.HOWTO/Software-RAID.HOWTO*{.txt,.html}
%doc %{_mandir}/man?/*
%{_sbindir}/*