Lines Matching refs:stripes

46  * This detemines how many stripes would be submitted in one go,
96 * Set for data stripes if it's triggered from P/Q stripe.
97 * During such scrub, we should not report errors in data stripes, nor
186 struct scrub_stripe stripes[SCRUB_TOTAL_STRIPES];
332 release_scrub_stripe(&sctx->stripes[i]);
349 /* Since sctx has inline 128 stripes, it can go beyond 64K easily. Use
365 ret = init_scrub_stripe(fs_info, &sctx->stripes[i]);
368 sctx->stripes[i].sctx = sctx;
907 physical = bioc->stripes[stripe_index].physical;
908 dev = bioc->stripes[stripe_index].dev;
1084 btrfs_repair_one_zone(fs_info, sctx->stripes[0].bg->start);
1191 * Unlike the regular writeback path, which would write back to all stripes
1301 last_offset = (physical - map->stripes[num].physical) * data_stripes;
1721 scrub_throttle_dev_io(sctx, sctx->stripes[0].dev,
1725 struct scrub_stripe *stripe = &sctx->stripes[first_slot + i];
1727 /* Those stripes should be initialized. */
1744 ASSERT(test_bit(SCRUB_STRIPE_FLAG_INITIALIZED, &sctx->stripes[0].state));
1746 /* Submit the stripes which are populated but not submitted. */
1754 stripe = &sctx->stripes[i];
1767 if (stripe_has_metadata_error(&sctx->stripes[i])) {
1775 stripe = &sctx->stripes[i];
1787 stripe = &sctx->stripes[i];
1819 stripe = &sctx->stripes[sctx->cur_stripe];
1884 physical = map->stripes[stripe_index].physical +
1890 map->stripes[stripe_index].dev, physical, 1,
1902 stripe->dev = map->stripes[stripe_index].dev;
1908 /* Check if all data stripes are empty. */
1935 * Now all data stripes are properly verified. Check if we have any
1937 * P/Q stripes.
1986 /* Use the recovered stripes as cache to avoid read them from disk again. */
2094 * (stripe_index / sub_stripes) gives how many data stripes we need to
2120 const u64 orig_physical = map->stripes[stripe_index].physical;
2157 u64 physical = map->stripes[stripe_index].physical;
2181 /* Prepare the extra data stripes used by RAID56. */
2219 scrub_dev, map->stripes[stripe_index].physical,
2279 map->stripes[stripe_index].physical + dev_stripe_len;
2305 map->stripes[stripe_index].physical,
2350 if (map->stripes[i].dev->bdev == scrub_dev->bdev &&
2351 map->stripes[i].physical == dev_offset) {