Searched refs:resync_max_sectors (Results 1 – 7 of 7) sorted by relevance
3422 enum sync_state state, sector_t resync_max_sectors) in rs_get_progress() argument3431 r = resync_max_sectors; in rs_get_progress()3440 if (state == st_idle && r >= resync_max_sectors) { in rs_get_progress()3499 return min(r, resync_max_sectors); in rs_get_progress()3519 sector_t progress, resync_max_sectors, resync_mismatches; in raid_status() local3535 resync_max_sectors = test_bit(RT_FLAG_RS_PRERESUMED, &rs->runtime_flags) ? in raid_status()3536 mddev->resync_max_sectors : mddev->dev_sectors; in raid_status()3539 progress = rs_get_progress(rs, recovery, state, resync_max_sectors); in raid_status()3560 (unsigned long long) resync_max_sectors); in raid_status()4022 mddev->resync_max_sectors = mddev->dev_sectors; in raid_preresume()
469 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_update_sb()562 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_new_disk_sb()607 sector_t bm_blocks = bitmap->mddev->resync_max_sectors; in md_bitmap_read_sb()674 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_read_sb()1603 while (sector < bitmap->mddev->resync_max_sectors) { in md_bitmap_close_sync()1631 while (s < sector && s < bitmap->mddev->resync_max_sectors) { in md_bitmap_cond_end_sync()1814 sector_t blocks = mddev->resync_max_sectors; in md_bitmap_create()1920 while (sector < mddev->resync_max_sectors) { in md_bitmap_load()
392 sector_t resync_max_sectors; /* may be set by personality */ member
3315 max_sector = mddev->resync_max_sectors; in raid10_sync_request()3451 if (sect >= mddev->resync_max_sectors) { in raid10_sync_request()4251 mddev->resync_max_sectors = size; in raid10_run()4359 mddev->resync_max_sectors = size; in raid10_resize()4604 mddev->resync_max_sectors = size; in raid10_start_reshape()5222 if (mddev->recovery_cp > mddev->resync_max_sectors) { in raid10_finish_reshape()5223 mddev->recovery_cp = mddev->resync_max_sectors; in raid10_finish_reshape()5226 mddev->resync_max_sectors = mddev->array_sectors; in raid10_finish_reshape()
5017 max_sectors = mddev->resync_max_sectors; in sync_completed_show()5921 mddev->resync_max_sectors = mddev->dev_sectors; in md_run()8016 max_sectors = mddev->resync_max_sectors; in status_resync()8732 < (unsigned long long)mddev->resync_max_sectors)) in md_do_sync()8823 max_sectors = mddev->resync_max_sectors; in md_do_sync()8832 max_sectors = mddev->resync_max_sectors; in md_do_sync()
3240 mddev->resync_max_sectors = sectors; in raid1_resize()
7961 mddev->resync_max_sectors = mddev->dev_sectors; in raid5_run()8386 mddev->resync_max_sectors = sectors; in raid5_resize()