]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: load default sysfs attributes after assemblation
authorMariusz Dabrowski <mariusz.dabrowski@intel.com>
Wed, 10 Jul 2019 11:38:53 +0000 (13:38 +0200)
committerJes Sorensen <jsorensen@fb.com>
Wed, 10 Jul 2019 20:12:09 +0000 (16:12 -0400)
commitb06815989179e0f153e44e4336290e655edce9a1
treedd3b3b2de676d8de7c0ce322300441de4f972f0a
parent486720e0c2418e7e2e0a16221f7c42a308622254
mdadm: load default sysfs attributes after assemblation

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@intel.com>
Signed-off-by: Krzysztof Smolinski <krzysztof.smolinski@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Assemble.c
Incremental.c
config.c
mdadm.conf.5
mdadm.h
sysfs.c