Message ID | 1459746376-27983-9-git-send-email-shaun@tancheff.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index b4f02c9..c96655e 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -937,6 +937,8 @@ again: rrdev = NULL; } if (rw & WRITE) { + if (i == sh->pd_idx || i == sh->qd_idx) + rw |= REQ_META; if (replace_only) rdev = NULL; if (rdev == rrdev)