Hi, For this patchset , we add a new entry .disk_is_spare in super_type to check if the disk is in 'spare' state. If a disk is in spare, analyze_sbs() should skip the disk to be freshest disk. Otherwise, it may cause md run fail. There is a fail example in the second patch. V3: - add a new entry .disk_is_spare in super_type V2: - just fix analyze_sbs() to skip spare disk - https://www.spinics.net/lists/raid/msg63196.html V1: - directly modify super_*_load to skip event tests for spare disk - https://www.spinics.net/lists/raid/msg63136.html Yufen Yu (2): md: add a new entry .disk_is_spare in super_types md: don't let spare disk become the fresh disk in analyze_sbs() drivers/md/md.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 57 insertions(+), 3 deletions(-) -- 2.17.2