Hi! In scrub_chunk() of scrub.c, the following snippet appears: 2531 for (i = 0; i < map->num_stripes; ++i) { 2532 if (map->stripes[i].dev->bdev == scrub_dev->bdev && 2533 map->stripes[i].physical == dev_offset) { 2534 ret = scrub_stripe(sctx, map, scrub_dev, i, 2535 chunk_offset, length, 2536 is_dev_replace); 2537 if (ret) 2538 goto out; 2539 } 2540 } Could someone please clarify line 2533? My intuition from the code so far was that this should be "map->stripes[i].physical == dev_offset + i * stripe_size", otherwise the condition would fail for all but the first stripe of every chunk (effectively scrubbing only that). Thanks, -- George Amvrosiadis, B.Sc., Ph.D. Student Graduate Students'' Union Representative Computer Science, University of Toronto -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html