diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 53c6434beda917d0e0920ea5decb25d955e6554c..01021382131bcf30f3f238ccd0f67b64972a207c 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -5724,7 +5724,7 @@ static bool raid5_make_request(struct mddev *mddev, struct bio * bi) do_flush = false; } - if (!sh->batch_head) + if (!sh->batch_head || sh == sh->batch_head) set_bit(STRIPE_HANDLE, &sh->state); clear_bit(STRIPE_DELAYED, &sh->state); if ((!sh->batch_head || sh == sh->batch_head) &&