Home
last modified time | relevance | path

Searched refs:mirror_index (Results 1 – 1 of 1) sorted by relevance

/fs/btrfs/
Dscrub.c826 int mirror_index; in scrub_handle_errored_block() local
1014 for (mirror_index = 0; ;mirror_index++) { in scrub_handle_errored_block()
1017 if (mirror_index == failed_mirror_index) in scrub_handle_errored_block()
1022 if (mirror_index >= BTRFS_MAX_MIRRORS) in scrub_handle_errored_block()
1024 if (!sblocks_for_recheck[mirror_index].page_count) in scrub_handle_errored_block()
1027 sblock_other = sblocks_for_recheck + mirror_index; in scrub_handle_errored_block()
1032 if (mirror_index >= max_allowed) in scrub_handle_errored_block()
1039 sblock_other->pagev[0]->mirror_num = 1 + mirror_index; in scrub_handle_errored_block()
1108 for (mirror_index = 0; in scrub_handle_errored_block()
1109 mirror_index < BTRFS_MAX_MIRRORS && in scrub_handle_errored_block()
[all …]