Home
last modified time | relevance | path

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

/Linux-v6.1/fs/btrfs/
Dextent_io.h271 int failed_mirror; member
Ddisk-io.c267 int failed_mirror = 0; in btrfs_read_extent_buffer() local
289 if (!failed_mirror) { in btrfs_read_extent_buffer()
291 failed_mirror = eb->read_mirror; in btrfs_read_extent_buffer()
295 if (mirror_num == failed_mirror) in btrfs_read_extent_buffer()
302 if (failed && !ret && failed_mirror) in btrfs_read_extent_buffer()
303 btrfs_repair_eb_io_failure(eb, failed_mirror); in btrfs_read_extent_buffer()
Dextent_io.c693 } while (mirror != failrec->failed_mirror); in btrfs_clean_io_failure()
762 failrec->failed_mirror = bbio->mirror_num; in btrfs_get_io_failure_record()
825 if (failrec->this_mirror == failrec->failed_mirror) { in btrfs_repair_one_sector()
828 failrec->num_copies, failrec->this_mirror, failrec->failed_mirror); in btrfs_repair_one_sector()