[PATCH AUTOSEL for 3.18 53/59] raid5: Set R5_Expanded on parity devices as well as data.

2017-12-07 Thread alexander . levin
From: NeilBrown [ Upstream commit 235b6003fb28f0dd8e7ed8fbdb088bb548291766 ] When reshaping a fully degraded raid5/raid6 to a larger nubmer of devices, the new device(s) are not in-sync and so that can make the newly grown stripe appear to be "failed". To avoid this, we set the

[PATCH AUTOSEL for 3.18 53/59] raid5: Set R5_Expanded on parity devices as well as data.

2017-12-07 Thread alexander . levin
From: NeilBrown [ Upstream commit 235b6003fb28f0dd8e7ed8fbdb088bb548291766 ] When reshaping a fully degraded raid5/raid6 to a larger nubmer of devices, the new device(s) are not in-sync and so that can make the newly grown stripe appear to be "failed". To avoid this, we set the R5_Expanded flag