Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dscrub.c1090 struct scrub_page *page_bad = sblock_bad->pagev[page_num]; in scrub_handle_errored_block() local
1094 if (!page_bad->io_error && !sctx->is_dev_replace) in scrub_handle_errored_block()
1106 } else if (page_bad->io_error) { in scrub_handle_errored_block()
1145 page_bad->io_error = 0; in scrub_handle_errored_block()
1545 struct scrub_page *page_bad = sblock_bad->pagev[page_num]; in scrub_repair_page_from_good_copy() local
1549 BUG_ON(page_bad->page == NULL); in scrub_repair_page_from_good_copy()
1552 sblock_bad->checksum_error || page_bad->io_error) { in scrub_repair_page_from_good_copy()
1556 if (!page_bad->dev->bdev) { in scrub_repair_page_from_good_copy()
1563 bio_set_dev(bio, page_bad->dev->bdev); in scrub_repair_page_from_good_copy()
1564 bio->bi_iter.bi_sector = page_bad->physical >> 9; in scrub_repair_page_from_good_copy()
[all …]