Searched refs:sync_blocks (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/md/ |
D | raid1.c | 1933 sector_t sync_blocks = 0; in abort_sync_write() local 1939 md_bitmap_end_sync(mddev->bitmap, s, &sync_blocks, 1); in abort_sync_write() 1940 s += sync_blocks; in abort_sync_write() 1941 sectors_to_go -= sync_blocks; in abort_sync_write() 2675 sector_t sync_blocks; in raid1_sync_request() local 2695 &sync_blocks, 1); in raid1_sync_request() 2719 if (!md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && in raid1_sync_request() 2723 return sync_blocks; in raid1_sync_request() 2887 sync_blocks = 0; in raid1_sync_request() 2895 if (sync_blocks == 0) { in raid1_sync_request() [all …]
|
D | raid10.c | 3286 sector_t sync_blocks; in raid10_sync_request() local 3338 &sync_blocks, 1); in raid10_sync_request() 3343 &sync_blocks, 1); in raid10_sync_request() 3465 &sync_blocks, 1); in raid10_sync_request() 3466 if (sync_blocks < max_sync) in raid10_sync_request() 3467 max_sync = sync_blocks; in raid10_sync_request() 3511 &sync_blocks, still_degraded); in raid10_sync_request() 3687 &sync_blocks, mddev->degraded) && in raid10_sync_request() 3692 return sync_blocks + sectors_skipped; in raid10_sync_request() 3694 if (sync_blocks < max_sync) in raid10_sync_request() [all …]
|
D | raid5.c | 6478 sector_t sync_blocks; in raid5_sync_request() local 6492 &sync_blocks, 1); in raid5_sync_request() 6524 !md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && in raid5_sync_request() 6525 sync_blocks >= RAID5_STRIPE_SECTORS(conf)) { in raid5_sync_request() 6527 do_div(sync_blocks, RAID5_STRIPE_SECTORS(conf)); in raid5_sync_request() 6530 return sync_blocks * RAID5_STRIPE_SECTORS(conf); in raid5_sync_request() 6557 md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, still_degraded); in raid5_sync_request()
|