diff options
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r-- | drivers/md/raid5.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index d1c488b008af..51003b008de7 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -1645,6 +1645,7 @@ static sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, i | |||
1645 | return rv; | 1645 | return rv; |
1646 | } | 1646 | } |
1647 | if (!bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && | 1647 | if (!bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && |
1648 | !test_bit(MD_RECOVERY_REQUESTED, &mddev->recovery) && | ||
1648 | !conf->fullsync && sync_blocks >= STRIPE_SECTORS) { | 1649 | !conf->fullsync && sync_blocks >= STRIPE_SECTORS) { |
1649 | /* we can skip this block, and probably more */ | 1650 | /* we can skip this block, and probably more */ |
1650 | sync_blocks /= STRIPE_SECTORS; | 1651 | sync_blocks /= STRIPE_SECTORS; |