Searched refs:resync_max_sectors (Results 1 – 7 of 7) sorted by relevance
3417 enum sync_state state, sector_t resync_max_sectors) in rs_get_progress() argument3426 r = resync_max_sectors; in rs_get_progress()3435 if (state == st_idle && r >= resync_max_sectors) { in rs_get_progress()3494 return min(r, resync_max_sectors); in rs_get_progress()3514 sector_t progress, resync_max_sectors, resync_mismatches; in raid_status() local3530 resync_max_sectors = test_bit(RT_FLAG_RS_PRERESUMED, &rs->runtime_flags) ? in raid_status()3531 mddev->resync_max_sectors : mddev->dev_sectors; in raid_status()3534 progress = rs_get_progress(rs, recovery, state, resync_max_sectors); in raid_status()3555 (unsigned long long) resync_max_sectors); in raid_status()4016 mddev->resync_max_sectors = mddev->dev_sectors; in raid_preresume()
499 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_update_sb()597 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_new_disk_sb()642 sector_t bm_blocks = bitmap->mddev->resync_max_sectors; in md_bitmap_read_sb()707 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_read_sb()1674 while (sector < bitmap->mddev->resync_max_sectors) { in md_bitmap_close_sync()1702 while (s < sector && s < bitmap->mddev->resync_max_sectors) { in md_bitmap_cond_end_sync()1884 sector_t blocks = mddev->resync_max_sectors; in md_bitmap_create()1990 while (sector < mddev->resync_max_sectors) { in md_bitmap_load()
3332 max_sector = mddev->resync_max_sectors; in raid10_sync_request()3477 if (sect >= mddev->resync_max_sectors) { in raid10_sync_request()4289 mddev->resync_max_sectors = size; in raid10_run()4386 mddev->resync_max_sectors = size; in raid10_resize()4630 mddev->resync_max_sectors = size; in raid10_start_reshape()5248 if (mddev->recovery_cp > mddev->resync_max_sectors) { in raid10_finish_reshape()5249 mddev->recovery_cp = mddev->resync_max_sectors; in raid10_finish_reshape()5252 mddev->resync_max_sectors = mddev->array_sectors; in raid10_finish_reshape()
393 sector_t resync_max_sectors; /* may be set by personality */ member
5029 max_sectors = mddev->resync_max_sectors; in sync_completed_show()5949 mddev->resync_max_sectors = mddev->dev_sectors; in md_run()8076 max_sectors = mddev->resync_max_sectors; in status_resync()8780 < (unsigned long long)mddev->resync_max_sectors)) in md_do_sync()8871 max_sectors = mddev->resync_max_sectors; in md_do_sync()8880 max_sectors = mddev->resync_max_sectors; in md_do_sync()
3238 mddev->resync_max_sectors = sectors; in raid1_resize()
8004 mddev->resync_max_sectors = mddev->dev_sectors; in raid5_run()8426 mddev->resync_max_sectors = sectors; in raid5_resize()