Home
last modified time | relevance | path

Searched refs:curr_resync (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Dmd.c5079 if (mddev->curr_resync == 0) in sync_speed_show()
5098 if (mddev->curr_resync == 1 || in sync_completed_show()
5099 mddev->curr_resync == 2) in sync_completed_show()
6250 mddev->curr_resync = 0; in md_clean()
8095 resync = mddev->curr_resync; in status_resync()
8735 /* we overload curr_resync somewhat here. in md_do_sync()
8742 * Before starting a resync we must have set curr_resync to in md_do_sync()
8743 * 2, and then checked that every "conflicting" array has curr_resync in md_do_sync()
8745 * we wait on resync_wait. To avoid deadlock, we reduce curr_resync in md_do_sync()
8753 mddev->curr_resync in md_do_sync()
[all...]
H A Dmd.h355 sector_t curr_resync; /* last block scheduled */ member
358 * everything completes, then set curr_resync_completed to curr_resync.
H A Draid10.c2955 * mddev->curr_resync, but for recovery, in raid10_sync_request()
2965 if (mddev->curr_resync < max_sector) { /* aborted */ in raid10_sync_request()
2967 md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync, in raid10_sync_request()
2971 raid10_find_virt(conf, mddev->curr_resync, i); in raid10_sync_request()
H A Draid1.c2644 * We can find the current addess in mddev->curr_resync in raid1_sync_request()
2646 if (mddev->curr_resync < max_sector) /* aborted */ in raid1_sync_request()
2647 md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync, in raid1_sync_request()
H A Draid5.c6226 if (mddev->curr_resync < max_sector) /* aborted */ in raid5_sync_request()
6227 md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync, in raid5_sync_request()
/kernel/linux/linux-6.6/drivers/md/
H A Dmd.c5053 if (mddev->curr_resync == MD_RESYNC_NONE) in sync_speed_show()
5072 if (mddev->curr_resync == MD_RESYNC_YIELDED || in sync_completed_show()
5073 mddev->curr_resync == MD_RESYNC_DELAYED) in sync_completed_show()
6261 mddev->curr_resync = MD_RESYNC_NONE; in md_clean()
8137 resync = mddev->curr_resync; in status_resync()
8859 * Before starting a resync we must have set curr_resync to in md_do_sync()
8860 * 2, and then checked that every "conflicting" array has curr_resync in md_do_sync()
8862 * we wait on resync_wait. To avoid deadlock, we reduce curr_resync in md_do_sync()
8870 mddev->curr_resync = MD_RESYNC_DELAYED; in md_do_sync()
8882 && mddev2->curr_resync in md_do_sync()
[all...]
H A Dmd.h295 * mddev->curr_resync stores the current sector of the resync but
381 sector_t curr_resync; /* last block scheduled */ member
384 * everything completes, then set curr_resync_completed to curr_resync.
H A Draid10.c3342 * mddev->curr_resync, but for recovery, in raid10_sync_request()
3352 if (mddev->curr_resync < max_sector) { /* aborted */ in raid10_sync_request()
3354 md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync, in raid10_sync_request()
3358 raid10_find_virt(conf, mddev->curr_resync, i); in raid10_sync_request()
H A Draid1.c2688 * We can find the current addess in mddev->curr_resync in raid1_sync_request()
2690 if (mddev->curr_resync < max_sector) /* aborted */ in raid1_sync_request()
2691 md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync, in raid1_sync_request()
H A Draid5.c6550 if (mddev->curr_resync < max_sector) /* aborted */ in raid5_sync_request()
6551 md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync, in raid5_sync_request()

Completed in 62 milliseconds