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()4253 mddev->resync_max_sectors = size; in raid10_run()4361 mddev->resync_max_sectors = size; in raid10_resize()4606 mddev->resync_max_sectors = size; in raid10_start_reshape()5224 if (mddev->recovery_cp > mddev->resync_max_sectors) { in raid10_finish_reshape()5225 mddev->recovery_cp = mddev->resync_max_sectors; in raid10_finish_reshape()5228 mddev->resync_max_sectors = mddev->array_sectors; in raid10_finish_reshape()
5012 max_sectors = mddev->resync_max_sectors; in sync_completed_show()5916 mddev->resync_max_sectors = mddev->dev_sectors; in md_run()8011 max_sectors = mddev->resync_max_sectors; in status_resync()8727 < (unsigned long long)mddev->resync_max_sectors)) in md_do_sync()8818 max_sectors = mddev->resync_max_sectors; in md_do_sync()8827 max_sectors = mddev->resync_max_sectors; in md_do_sync()
3239 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()