Searched refs:failrec (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/fs/btrfs/ |
D | extent_io.c | 217 state->failrec = NULL; in alloc_extent_state() 1806 struct io_failure_record *failrec) in set_state_failrec() argument 1827 state->failrec = failrec; in set_state_failrec() 1834 struct io_failure_record **failrec) in get_state_failrec() argument 1855 *failrec = state->failrec; in get_state_failrec() 2077 struct io_failure_record *failrec; in clean_io_failure() local 2088 ret = get_state_failrec(failure_tree, start, &failrec); in clean_io_failure() 2092 BUG_ON(!failrec->this_mirror); in clean_io_failure() 2094 if (failrec->in_validation) { in clean_io_failure() 2098 failrec->start); in clean_io_failure() [all …]
|
D | extent_io.h | 150 struct io_failure_record *failrec; member 540 struct io_failure_record *failrec, int fail_mirror); 542 struct io_failure_record *failrec,
|
D | inode.c | 7730 struct io_failure_record *failrec, in btrfs_check_dio_repairable() argument 7736 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_dio_repairable() 7745 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable() 7749 failrec->failed_mirror = failed_mirror; in btrfs_check_dio_repairable() 7750 failrec->this_mirror++; in btrfs_check_dio_repairable() 7751 if (failrec->this_mirror == failed_mirror) in btrfs_check_dio_repairable() 7752 failrec->this_mirror++; in btrfs_check_dio_repairable() 7754 if (failrec->this_mirror > num_copies) { in btrfs_check_dio_repairable() 7757 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable() 7769 struct io_failure_record *failrec; in dio_read_error() local [all …]
|