Re: [PATCH v2] mdadm: load default sysfs attributes after assemblation

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

 



On 7/10/19 7:38 AM, Mariusz Dabrowski wrote:
> Added new type of line to mdadm.conf which allows to specify values of
> sysfs attributes for MD devices that should be loaded after the array is
> assembled. Each line is interpreted as list of structures containing
> sysname of MD device (md126 etc.) and list of sysfs attributes and their
> values.
> 
> Signed-off-by: Mariusz Dabrowski <mariusz.dabrowski@xxxxxxxxx>
> Signed-off-by: Krzysztof Smolinski <krzysztof.smolinski@xxxxxxxxx>
> ---
>  Assemble.c    |  12 +++--
>  Incremental.c |   1 +
>  config.c      |   7 ++-
>  mdadm.conf.5  |  25 ++++++++++
>  mdadm.h       |   3 ++
>  sysfs.c       | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 202 insertions(+), 4 deletions(-)

Seems reasonable, 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