Searched refs:resync_max_sectors (Results 1 – 7 of 7) sorted by relevance
3424 enum sync_state state, sector_t resync_max_sectors) in rs_get_progress() argument3433 r = resync_max_sectors; in rs_get_progress()3442 if (state == st_idle && r >= resync_max_sectors) { in rs_get_progress()3501 return min(r, resync_max_sectors); in rs_get_progress()3521 sector_t progress, resync_max_sectors, resync_mismatches; in raid_status() local3537 resync_max_sectors = test_bit(RT_FLAG_RS_PRERESUMED, &rs->runtime_flags) ? in raid_status()3538 mddev->resync_max_sectors : mddev->dev_sectors; in raid_status()3541 progress = rs_get_progress(rs, recovery, state, resync_max_sectors); in raid_status()3562 (unsigned long long) resync_max_sectors); in raid_status()3993 mddev->resync_max_sectors = mddev->dev_sectors; in raid_preresume()
462 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_update_sb()555 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_new_disk_sb()600 sector_t bm_blocks = bitmap->mddev->resync_max_sectors; in md_bitmap_read_sb()667 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_read_sb()1605 while (sector < bitmap->mddev->resync_max_sectors) { in md_bitmap_close_sync()1633 while (s < sector && s < bitmap->mddev->resync_max_sectors) { in md_bitmap_cond_end_sync()1816 sector_t blocks = mddev->resync_max_sectors; in md_bitmap_create()1922 while (sector < mddev->resync_max_sectors) { in md_bitmap_load()
2945 max_sector = mddev->resync_max_sectors; in raid10_sync_request()3079 if (sect >= mddev->resync_max_sectors) { in raid10_sync_request()3900 mddev->resync_max_sectors = size; in raid10_run()3997 mddev->resync_max_sectors = size; in raid10_resize()4242 mddev->resync_max_sectors = size; in raid10_start_reshape()4866 if (mddev->recovery_cp > mddev->resync_max_sectors) { in raid10_finish_reshape()4867 mddev->recovery_cp = mddev->resync_max_sectors; in raid10_finish_reshape()4870 mddev->resync_max_sectors = mddev->array_sectors; in raid10_finish_reshape()
367 sector_t resync_max_sectors; /* may be set by personality */ member
5115 max_sectors = mddev->resync_max_sectors; in sync_completed_show()6014 mddev->resync_max_sectors = mddev->dev_sectors; in md_run()8102 max_sectors = mddev->resync_max_sectors; in status_resync()8726 < (unsigned long long)mddev->resync_max_sectors)) in md_do_sync()8816 max_sectors = mddev->resync_max_sectors; in md_do_sync()8825 max_sectors = mddev->resync_max_sectors; in md_do_sync()
3208 mddev->resync_max_sectors = sectors; in raid1_resize()
7664 mddev->resync_max_sectors = mddev->dev_sectors; in raid5_run()8074 mddev->resync_max_sectors = sectors; in raid5_resize()