Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dextent_io.c271 state->failrec = NULL; in alloc_extent_state()
1861 struct io_failure_record *failrec) in set_state_failrec() argument
1882 state->failrec = failrec; in set_state_failrec()
1889 struct io_failure_record **failrec) in get_state_failrec() argument
1910 *failrec = state->failrec; in get_state_failrec()
2132 struct io_failure_record *failrec; in clean_io_failure() local
2143 ret = get_state_failrec(failure_tree, start, &failrec); in clean_io_failure()
2147 BUG_ON(!failrec->this_mirror); in clean_io_failure()
2149 if (failrec->in_validation) { in clean_io_failure()
2153 failrec->start); in clean_io_failure()
[all …]
Dextent_io.h145 struct io_failure_record *failrec; member
535 struct io_failure_record *failrec, int fail_mirror);
537 struct io_failure_record *failrec,
Dinode.c7899 struct io_failure_record *failrec, in btrfs_check_dio_repairable() argument
7905 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_dio_repairable()
7914 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
7918 failrec->failed_mirror = failed_mirror; in btrfs_check_dio_repairable()
7919 failrec->this_mirror++; in btrfs_check_dio_repairable()
7920 if (failrec->this_mirror == failed_mirror) in btrfs_check_dio_repairable()
7921 failrec->this_mirror++; in btrfs_check_dio_repairable()
7923 if (failrec->this_mirror > num_copies) { in btrfs_check_dio_repairable()
7926 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
7938 struct io_failure_record *failrec; in dio_read_error() local
[all …]