Re: [PATCH AUTOSEL 4.19 118/146] MD: fix invalid stored role for a disk

2018-11-06 Thread Sasha Levin
On Tue, Nov 06, 2018 at 08:37:32AM +0100, Jack Wang wrote: Sasha Levin 于2018年11月1日周四 上午12:45写道: From: Shaohua Li [ Upstream commit d595567dc4f0c1d90685ec1e2e296e2cad2643ac ] If we change the number of array's device after device is removed from array, then add the device back to array, we c

Re: [PATCH AUTOSEL 4.19 118/146] MD: fix invalid stored role for a disk

2018-11-05 Thread Jack Wang
Sasha Levin 于2018年11月1日周四 上午12:45写道: > > From: Shaohua Li > > [ Upstream commit d595567dc4f0c1d90685ec1e2e296e2cad2643ac ] > > If we change the number of array's device after device is removed from array, > then add the device back to array, we can see that device is added as active > role instea

[PATCH AUTOSEL 4.19 118/146] MD: fix invalid stored role for a disk

2018-10-31 Thread Sasha Levin
From: Shaohua Li [ Upstream commit d595567dc4f0c1d90685ec1e2e296e2cad2643ac ] If we change the number of array's device after device is removed from array, then add the device back to array, we can see that device is added as active role instead of spare which we expected. Please see the below