Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/
Draid1.c2028 sector_t sync_blocks = 0; in abort_sync_write() local
2034 mddev->bitmap_ops->end_sync(mddev, s, &sync_blocks); in abort_sync_write()
2035 s += sync_blocks; in abort_sync_write()
2036 sectors_to_go -= sync_blocks; in abort_sync_write()
2762 sector_t sync_blocks; in raid1_sync_request() local
2781 &sync_blocks); in raid1_sync_request()
2805 if (!mddev->bitmap_ops->start_sync(mddev, sector_nr, &sync_blocks, true) && in raid1_sync_request()
2809 return sync_blocks; in raid1_sync_request()
2971 sync_blocks = 0; in raid1_sync_request()
2979 if (sync_blocks == 0) { in raid1_sync_request()
[all …]
Draid10.c3149 sector_t sync_blocks; in raid10_sync_request() local
3199 &sync_blocks); in raid10_sync_request()
3205 &sync_blocks); in raid10_sync_request()
3328 &sync_blocks, in raid10_sync_request()
3330 if (sync_blocks < max_sync) in raid10_sync_request()
3331 max_sync = sync_blocks; in raid10_sync_request()
3373 &sync_blocks, still_degraded); in raid10_sync_request()
3551 &sync_blocks, in raid10_sync_request()
3557 return sync_blocks + sectors_skipped; in raid10_sync_request()
3559 if (sync_blocks < max_sync) in raid10_sync_request()
[all …]
Draid5.c6492 sector_t sync_blocks; in raid5_sync_request() local
6506 &sync_blocks); in raid5_sync_request()
6538 !mddev->bitmap_ops->start_sync(mddev, sector_nr, &sync_blocks, in raid5_sync_request()
6540 sync_blocks >= RAID5_STRIPE_SECTORS(conf)) { in raid5_sync_request()
6542 do_div(sync_blocks, RAID5_STRIPE_SECTORS(conf)); in raid5_sync_request()
6545 return sync_blocks * RAID5_STRIPE_SECTORS(conf); in raid5_sync_request()
6570 mddev->bitmap_ops->start_sync(mddev, sector_nr, &sync_blocks, in raid5_sync_request()