Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/
Dscrub.c209 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check);
819 static int scrub_handle_errored_block(struct scrub_block *sblock_to_check) in scrub_handle_errored_block() argument
821 struct scrub_ctx *sctx = sblock_to_check->sctx; in scrub_handle_errored_block()
838 BUG_ON(sblock_to_check->page_count < 1); in scrub_handle_errored_block()
840 if (sblock_to_check->pagev[0]->flags & BTRFS_EXTENT_FLAG_SUPER) { in scrub_handle_errored_block()
851 logical = sblock_to_check->pagev[0]->logical; in scrub_handle_errored_block()
852 BUG_ON(sblock_to_check->pagev[0]->mirror_num < 1); in scrub_handle_errored_block()
853 failed_mirror_index = sblock_to_check->pagev[0]->mirror_num - 1; in scrub_handle_errored_block()
854 is_metadata = !(sblock_to_check->pagev[0]->flags & in scrub_handle_errored_block()
856 have_csum = sblock_to_check->pagev[0]->have_csum; in scrub_handle_errored_block()
[all …]