Home
last modified time | relevance | path

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

/Linux-v5.15/fs/btrfs/
Dscrub.c1091 struct scrub_page *spage_bad = sblock_bad->pagev[page_num]; in scrub_handle_errored_block() local
1095 if (!spage_bad->io_error && !sctx->is_dev_replace) in scrub_handle_errored_block()
1107 } else if (spage_bad->io_error) { in scrub_handle_errored_block()
1146 spage_bad->io_error = 0; in scrub_handle_errored_block()
1547 struct scrub_page *spage_bad = sblock_bad->pagev[page_num]; in scrub_repair_page_from_good_copy() local
1552 BUG_ON(spage_bad->page == NULL); in scrub_repair_page_from_good_copy()
1555 sblock_bad->checksum_error || spage_bad->io_error) { in scrub_repair_page_from_good_copy()
1559 if (!spage_bad->dev->bdev) { in scrub_repair_page_from_good_copy()
1566 bio_set_dev(bio, spage_bad->dev->bdev); in scrub_repair_page_from_good_copy()
1567 bio->bi_iter.bi_sector = spage_bad->physical >> 9; in scrub_repair_page_from_good_copy()
[all …]