Lines Matching refs:spage_bad
1090 struct scrub_page *spage_bad = sblock_bad->pagev[page_num]; in scrub_handle_errored_block() local
1094 if (!spage_bad->io_error && !sctx->is_dev_replace) in scrub_handle_errored_block()
1106 } else if (spage_bad->io_error) { in scrub_handle_errored_block()
1145 spage_bad->io_error = 0; in scrub_handle_errored_block()
1546 struct scrub_page *spage_bad = sblock_bad->pagev[page_num]; in scrub_repair_page_from_good_copy() local
1551 BUG_ON(spage_bad->page == NULL); in scrub_repair_page_from_good_copy()
1554 sblock_bad->checksum_error || spage_bad->io_error) { in scrub_repair_page_from_good_copy()
1558 if (!spage_bad->dev->bdev) { in scrub_repair_page_from_good_copy()
1565 bio_set_dev(bio, spage_bad->dev->bdev); in scrub_repair_page_from_good_copy()
1566 bio->bi_iter.bi_sector = spage_bad->physical >> 9; in scrub_repair_page_from_good_copy()
1576 btrfs_dev_stat_inc_and_print(spage_bad->dev, in scrub_repair_page_from_good_copy()