Searched refs:curr_resync (Results 1 – 5 of 5) sorted by relevance
4728 if (mddev->curr_resync == 0) in sync_speed_show()4747 if (mddev->curr_resync == 1 || in sync_completed_show()4748 mddev->curr_resync == 2) in sync_completed_show()5792 mddev->curr_resync = 0; in md_clean()7629 resync = mddev->curr_resync; in status_resync()8262 mddev->curr_resync = 2; in md_do_sync()8271 && mddev2->curr_resync in md_do_sync()8274 if (mddev < mddev2 && mddev->curr_resync == 2) { in md_do_sync()8276 mddev->curr_resync = 1; in md_do_sync()8279 if (mddev > mddev2 && mddev->curr_resync == 1) in md_do_sync()[all …]
330 sector_t curr_resync; /* last block scheduled */ member
2631 if (mddev->curr_resync < max_sector) /* aborted */ in raid1_sync_request()2632 bitmap_end_sync(mddev->bitmap, mddev->curr_resync, in raid1_sync_request()
2926 if (mddev->curr_resync < max_sector) { /* aborted */ in raid10_sync_request()2928 bitmap_end_sync(mddev->bitmap, mddev->curr_resync, in raid10_sync_request()2932 raid10_find_virt(conf, mddev->curr_resync, i); in raid10_sync_request()
6017 if (mddev->curr_resync < max_sector) /* aborted */ in raid5_sync_request()6018 bitmap_end_sync(mddev->bitmap, mddev->curr_resync, in raid5_sync_request()