Home
last modified time | relevance | path

Searched refs:sync_blocks (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/md/
Draid1.c1928 sector_t sync_blocks = 0; in abort_sync_write() local
1934 md_bitmap_end_sync(mddev->bitmap, s, &sync_blocks, 1); in abort_sync_write()
1935 s += sync_blocks; in abort_sync_write()
1936 sectors_to_go -= sync_blocks; in abort_sync_write()
2672 sector_t sync_blocks; in raid1_sync_request() local
2692 &sync_blocks, 1); in raid1_sync_request()
2716 if (!md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && in raid1_sync_request()
2720 return sync_blocks; in raid1_sync_request()
2884 sync_blocks = 0; in raid1_sync_request()
2892 if (sync_blocks == 0) { in raid1_sync_request()
[all …]
Draid10.c3302 sector_t sync_blocks; in raid10_sync_request() local
3355 &sync_blocks, 1); in raid10_sync_request()
3360 &sync_blocks, 1); in raid10_sync_request()
3489 &sync_blocks, 1); in raid10_sync_request()
3490 if (sync_blocks < max_sync) in raid10_sync_request()
3491 max_sync = sync_blocks; in raid10_sync_request()
3536 &sync_blocks, still_degraded); in raid10_sync_request()
3716 &sync_blocks, mddev->degraded) && in raid10_sync_request()
3721 return sync_blocks + sectors_skipped; in raid10_sync_request()
3723 if (sync_blocks < max_sync) in raid10_sync_request()
[all …]
Draid5.c6538 sector_t sync_blocks; in raid5_sync_request() local
6552 &sync_blocks, 1); in raid5_sync_request()
6584 !md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && in raid5_sync_request()
6585 sync_blocks >= RAID5_STRIPE_SECTORS(conf)) { in raid5_sync_request()
6587 do_div(sync_blocks, RAID5_STRIPE_SECTORS(conf)); in raid5_sync_request()
6590 return sync_blocks * RAID5_STRIPE_SECTORS(conf); in raid5_sync_request()
6617 md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, still_degraded); in raid5_sync_request()