diff options
author | Guoqing Jiang <[email protected]> | 2019-11-27 17:57:50 +0100 |
---|---|---|
committer | Song Liu <[email protected]> | 2019-12-11 10:12:09 -0800 |
commit | a7ede3d16808b8f3915c8572d783530a82b2f027 (patch) | |
tree | 5fd180e26dab234c310e4f7841f92f2a0d07226d /lib/mpi/mpi-mul.c | |
parent | cc90bc68422318eb8e75b15cd74bc8d538a7df29 (diff) |
raid5: need to set STRIPE_HANDLE for batch head
With commit 6ce220dd2f8ea71d6afc29b9a7524c12e39f374a ("raid5: don't set
STRIPE_HANDLE to stripe which is in batch list"), we don't want to set
STRIPE_HANDLE flag for sh which is already in batch list.
However, the stripe which is the head of batch list should set this flag,
otherwise panic could happen inside init_stripe at BUG_ON(sh->batch_head),
it is reproducible with raid5 on top of nvdimm devices per Xiao oberserved.
Thanks for Xiao's effort to verify the change.
Fixes: 6ce220dd2f8ea ("raid5: don't set STRIPE_HANDLE to stripe which is in batch list")
Reported-by: Xiao Ni <[email protected]>
Tested-by: Xiao Ni <[email protected]>
Signed-off-by: Guoqing Jiang <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions