Home
last modified time | relevance | path

Searched refs:failed_mirror (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dextent_io.h104 int (*readpage_io_failed_hook)(struct page *page, int failed_mirror);
525 int failed_mirror; member
Dextent_io.c2172 failrec->failed_mirror); in clean_io_failure()
2304 struct io_failure_record *failrec, int failed_mirror) in btrfs_check_repairable() argument
2318 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_repairable()
2338 failrec->this_mirror = failed_mirror; in btrfs_check_repairable()
2346 BUG_ON(failrec->this_mirror != failed_mirror); in btrfs_check_repairable()
2350 failrec->failed_mirror = failed_mirror; in btrfs_check_repairable()
2352 if (failrec->this_mirror == failed_mirror) in btrfs_check_repairable()
2359 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_repairable()
2410 int failed_mirror) in bio_readpage_error() argument
2429 failed_mirror)) { in bio_readpage_error()
Ddisk-io.c489 int failed_mirror = 0; in btree_read_extent_buffer_pages() local
512 if (!failed_mirror) { in btree_read_extent_buffer_pages()
514 failed_mirror = eb->read_mirror; in btree_read_extent_buffer_pages()
518 if (mirror_num == failed_mirror) in btree_read_extent_buffer_pages()
525 if (failed && !ret && failed_mirror) in btree_read_extent_buffer_pages()
526 repair_eb_io_failure(fs_info, eb, failed_mirror); in btree_read_extent_buffer_pages()
674 static int btree_io_failed_hook(struct page *page, int failed_mirror) in btree_io_failed_hook() argument
680 eb->read_mirror = failed_mirror; in btree_io_failed_hook()
Dinode.c7900 int failed_mirror) in btrfs_check_dio_repairable() argument
7914 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
7918 failrec->failed_mirror = failed_mirror; in btrfs_check_dio_repairable()
7920 if (failrec->this_mirror == failed_mirror) in btrfs_check_dio_repairable()
7926 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
7935 u64 start, u64 end, int failed_mirror, in dio_read_error() argument
7956 failed_mirror); in dio_read_error()
10652 static int btrfs_readpage_io_failed_hook(struct page *page, int failed_mirror) in btrfs_readpage_io_failed_hook() argument