Re: [PATCH v2] Improvements for IMSM_NO_PLATFORM testing.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux