Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dextent_io.c305 state->failrec = NULL; in alloc_extent_state()
2018 struct io_failure_record *failrec) in set_state_failrec() argument
2039 state->failrec = failrec; in set_state_failrec()
2046 struct io_failure_record **failrec) in get_state_failrec() argument
2067 *failrec = state->failrec; in get_state_failrec()
2289 struct io_failure_record *failrec; in clean_io_failure() local
2300 ret = get_state_failrec(failure_tree, start, &failrec); in clean_io_failure()
2304 BUG_ON(!failrec->this_mirror); in clean_io_failure()
2306 if (failrec->in_validation) { in clean_io_failure()
2310 failrec->start); in clean_io_failure()
[all …]
Dextent_io.h149 struct io_failure_record *failrec; member
543 struct io_failure_record *failrec, int fail_mirror);
545 struct io_failure_record *failrec,
Dinode.c7868 struct io_failure_record *failrec, in btrfs_check_dio_repairable() argument
7874 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_dio_repairable()
7883 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
7887 failrec->failed_mirror = failed_mirror; in btrfs_check_dio_repairable()
7888 failrec->this_mirror++; in btrfs_check_dio_repairable()
7889 if (failrec->this_mirror == failed_mirror) in btrfs_check_dio_repairable()
7890 failrec->this_mirror++; in btrfs_check_dio_repairable()
7892 if (failrec->this_mirror > num_copies) { in btrfs_check_dio_repairable()
7895 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
7907 struct io_failure_record *failrec; in dio_read_error() local
[all …]