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()
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.c7898 struct io_failure_record *failrec, in btrfs_check_dio_repairable() argument
7904 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_dio_repairable()
7913 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
7917 failrec->failed_mirror = failed_mirror; in btrfs_check_dio_repairable()
7918 failrec->this_mirror++; in btrfs_check_dio_repairable()
7919 if (failrec->this_mirror == failed_mirror) in btrfs_check_dio_repairable()
7920 failrec->this_mirror++; in btrfs_check_dio_repairable()
7922 if (failrec->this_mirror > num_copies) { in btrfs_check_dio_repairable()
7925 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
7937 struct io_failure_record *failrec; in dio_read_error() local
[all …]