Searched refs:num_copies (Results 1 – 2 of 2) sorted by relevance
292 int num_copies = 0; in btree_read_extent_buffer_pages() local303 num_copies = btrfs_num_copies(&root->fs_info->mapping_tree, in btree_read_extent_buffer_pages()305 if (num_copies == 1) in btree_read_extent_buffer_pages()309 if (mirror_num > num_copies) in btree_read_extent_buffer_pages()
1599 int num_copies; in btrfs_io_failed_hook() local1641 num_copies = btrfs_num_copies( in btrfs_io_failed_hook()1654 if (!state || failrec->last_mirror > num_copies) { in btrfs_io_failed_hook()