Home
last modified time | relevance | path

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

/fs/btrfs/
Dextent_io.c305 state->failrec = NULL; in alloc_extent_state()
2021 struct io_failure_record *failrec) in set_state_failrec() argument
2042 state->failrec = failrec; in set_state_failrec()
2049 struct io_failure_record **failrec) in get_state_failrec() argument
2070 *failrec = state->failrec; in get_state_failrec()
2292 struct io_failure_record *failrec; in clean_io_failure() local
2303 ret = get_state_failrec(failure_tree, start, &failrec); in clean_io_failure()
2307 BUG_ON(!failrec->this_mirror); in clean_io_failure()
2309 if (failrec->in_validation) { in clean_io_failure()
2313 failrec->start); in clean_io_failure()
[all …]
Dextent_io.h151 struct io_failure_record *failrec; member
545 struct io_failure_record *failrec, int fail_mirror);
547 struct io_failure_record *failrec,
Dinode.c8100 struct io_failure_record *failrec, in btrfs_check_dio_repairable() argument
8106 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_dio_repairable()
8115 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
8119 failrec->failed_mirror = failed_mirror; in btrfs_check_dio_repairable()
8120 failrec->this_mirror++; in btrfs_check_dio_repairable()
8121 if (failrec->this_mirror == failed_mirror) in btrfs_check_dio_repairable()
8122 failrec->this_mirror++; in btrfs_check_dio_repairable()
8124 if (failrec->this_mirror > num_copies) { in btrfs_check_dio_repairable()
8127 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
8139 struct io_failure_record *failrec; in dio_read_error() local
[all …]