Thread (2 messages) 2 messages, 2 authors, 2023-03-20

Re: [PATCH v2] Improvements for IMSM_NO_PLATFORM testing.

From: Jes Sorensen <hidden>
Date: 2023-03-20 18:01:30

On 3/19/23 23:43, NeilBrown wrote:
Factor out IMSM_NO_PLATFORM testing into a single function that caches
the result.

Allow mdmon to explicitly set the result to "1" so that we don't need
the ENV var in the unit file

Check if the kernel command line contains "mdadm.imsm.test=1" and in
that case assert NO_PLATFORM.  This simplifies testing in a virtual
machine.

Signed-off-by: NeilBrown <redacted>
---
 mdadm.8.in             |  5 +++++
 mdadm.h                |  2 ++
 mdmon.c                |  6 ++++++
 super-intel.c          | 45 +++++++++++++++++++++++++++++++++++++++---
 systemd/mdmon@.service |  3 ---
 5 files changed, 55 insertions(+), 6 deletions(-)
Applied!

Thanks,
Jes

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help