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 <neilb@xxxxxxx> > --- > 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