Lines Matching defs:stripe

119 			 "stripe at bad pos");
193 if (bch2_trans_inconsistent_on(a->v.stripe ||
199 a->v.stripe, s.k->p.offset)) {
205 "bucket %llu:%llu gen %u data type %s dirty_sectors %u: data already in stripe bucket %llu",
214 a->v.stripe = s.k->p.offset;
218 if (bch2_trans_inconsistent_on(a->v.stripe != s.k->p.offset ||
220 "bucket %llu:%llu gen %u: not marked as stripe when deleting stripe %llu (got %u)",
222 s.k->p.offset, a->v.stripe)) {
227 a->v.stripe = 0;
269 (g->stripe && g->stripe != k.k->p.offset)) {
290 g->stripe = k.k->p.offset;
375 struct stripe *m = genradix_ptr(&c->stripes, idx);
383 bch_err_ratelimited(c, "error marking nonexistent stripe %llu while marking\n"
437 * gc recalculates this field from stripe ptr
464 /* returns blocknr in stripe that we matched: */
614 prt_str(&err, "stripe ");
692 "error %s stripe: stale pointer after io",
716 "error %s stripe: stale pointer",
765 struct ec_stripe_buf *stripe)
780 bkey_reassemble(&stripe->key, k);
807 "error doing reconstruct read: error %i looking up stripe", ret);
816 "error doing reconstruct read: pointer doesn't match stripe");
824 "error doing reconstruct read: read is bigger than stripe");
859 /* stripe bucket accounting: */
900 * stripe deletion can skip them.
990 struct stripe *m = genradix_ptr(&c->stripes, idx);
997 struct stripe *m, size_t idx)
1009 struct stripe *m, size_t idx)
1026 struct stripe *m, size_t idx)
1052 /* stripe deletion */
1069 bch2_fs_inconsistent(c, "attempting to delete nonexistent stripe %llu", idx);
1080 bch2_fs_inconsistent(c, "attempting to delete nonempty stripe %s", buf.buf);
1122 /* stripe creation: */
1140 bch2_fs_inconsistent(c, "error %s stripe: got existing key type %s",
1152 bch_err(c, "error updating stripe: nr_blocks does not match");
1356 * data buckets of new stripe all written: create the stripe
1382 bch_err(c, "error creating stripe: error writing data buckets");
1390 bch_err(c, "error creating stripe: error reading existing stripe");
1415 bch_err(c, "error creating stripe: error writing redundancy buckets");
1425 bch_err_msg(c, ret, "creating stripe key");
1674 bch_err(c, "insufficient devices available to create stripe (have %u, need %u) - mismatched bucket sizes?",
1824 struct stripe *m;
1834 /* No blocks worth reusing, stripe will just be deleted: */
1865 * If we can't allocate a new stripe, and there's no stripes with empty
1874 "reading stripe key: %s", bch2_err_str(ret));
1897 * blocks from the stripe we're reusing:
1996 bch_err(c, "failed to allocate new stripe");
2007 /* First, try to allocate a full stripe: */
2017 * Not enough buckets available for a full stripe: we must reuse an
2018 * existing stripe:
2140 struct stripe *m = genradix_ptr(&c->stripes, k.k->p.offset);
2160 struct stripe *m;