Lines Matching full:gen
139 "bucket %u:%zu data type %s ptr gen %u missing in alloc btree\n" in bch2_check_fix_ptr()
143 p.ptr.gen, in bch2_check_fix_ptr()
148 g->gen = p.ptr.gen; in bch2_check_fix_ptr()
154 if (fsck_err_on(gen_cmp(p.ptr.gen, g->gen) > 0, in bch2_check_fix_ptr()
156 "bucket %u:%zu data type %s ptr gen in the future: %u > %u\n" in bch2_check_fix_ptr()
160 p.ptr.gen, g->gen, in bch2_check_fix_ptr()
167 g->gen = p.ptr.gen; in bch2_check_fix_ptr()
177 if (fsck_err_on(gen_cmp(g->gen, p.ptr.gen) > BUCKET_GC_GEN_MAX, in bch2_check_fix_ptr()
179 "bucket %u:%zu gen %u data type %s: ptr gen %u too stale\n" in bch2_check_fix_ptr()
181 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), g->gen, in bch2_check_fix_ptr()
183 p.ptr.gen, in bch2_check_fix_ptr()
188 if (fsck_err_on(!p.ptr.cached && gen_cmp(p.ptr.gen, g->gen) < 0, in bch2_check_fix_ptr()
194 p.ptr.gen, g->gen, in bch2_check_fix_ptr()
199 if (data_type != BCH_DATA_btree && p.ptr.gen != g->gen) in bch2_check_fix_ptr()
204 "bucket %u:%zu gen %u different types of data in same bucket: %s, %s\n" in bch2_check_fix_ptr()
206 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), g->gen, in bch2_check_fix_ptr()
213 g->gen = p.ptr.gen; in bch2_check_fix_ptr()
299 ptr->gen = g->gen; in bch2_check_fix_ptrs()
315 (!g->gen_valid || gen_cmp(p.ptr.gen, g->gen) > 0)) || in bch2_check_fix_ptrs()
317 gen_cmp(p.ptr.gen, g->gen) < 0) || in bch2_check_fix_ptrs()
318 gen_cmp(g->gen, p.ptr.gen) > BUCKET_GC_GEN_MAX || in bch2_check_fix_ptrs()
403 if (gen_after(ptr->gen, b_gen)) { in bch2_bucket_ref_update()
406 "bucket %u:%zu gen %u data type %s: ptr gen %u newer than bucket gen\n" in bch2_bucket_ref_update()
410 ptr->gen, in bch2_bucket_ref_update()
417 if (gen_cmp(b_gen, ptr->gen) > BUCKET_GC_GEN_MAX) { in bch2_bucket_ref_update()
420 "bucket %u:%zu gen %u data type %s: ptr gen %u too stale\n" in bch2_bucket_ref_update()
424 ptr->gen, in bch2_bucket_ref_update()
432 if (b_gen != ptr->gen && ptr->cached) { in bch2_bucket_ref_update()
437 if (b_gen != ptr->gen) { in bch2_bucket_ref_update()
440 "bucket %u:%zu gen %u (mem gen %u) data type %s: stale dirty ptr (gen %u)\n" in bch2_bucket_ref_update()
445 ptr->gen, in bch2_bucket_ref_update()
456 "bucket %u:%zu gen %u different types of data in same bucket: %s, %s\n" in bch2_bucket_ref_update()
471 "bucket %u:%zu gen %u data type %s sector count overflow: %u + %lli > U32_MAX\n" in bch2_bucket_ref_update()
552 a->gen, a->data_type, dst_sectors); in __mark_pointer()
965 "bucket %llu:%llu gen %u different types of data in same bucket: %s, %s\n" in __bch2_trans_mark_metadata_bucket()
967 iter.pos.inode, iter.pos.offset, a->v.gen, in __bch2_trans_mark_metadata_bucket()
1010 "bucket %u:%llu gen %u data type %s sector count overflow: %u + %u > bucket size", in bch2_mark_metadata_bucket()
1011 ca->dev_idx, b, g->gen, in bch2_mark_metadata_bucket()