Lines Matching refs:prt_printf
296 prt_printf(&buf, "freespace btree has bucket outside allowed range %u-%llu\n" in try_alloc_bucket()
322 prt_printf(&buf, "non free bucket in freespace btree\n" in try_alloc_bucket()
325 prt_printf(&buf, "\n "); in try_alloc_bucket()
334 prt_printf(&buf, "bucket in freespace btree with wrong genbits (got %u should be %llu)\n" in try_alloc_bucket()
338 prt_printf(&buf, "\n "); in try_alloc_bucket()
564 prt_printf(&buf, "dev\t%s (%u)\n", ca->name, ca->dev_idx); in trace_bucket_alloc2()
565 prt_printf(&buf, "watermark\t%s\n", bch2_watermarks[watermark]); in trace_bucket_alloc2()
566 prt_printf(&buf, "data type\t%s\n", __bch2_data_types[data_type]); in trace_bucket_alloc2()
567 prt_printf(&buf, "blocking\t%u\n", cl != NULL); in trace_bucket_alloc2()
568 prt_printf(&buf, "free\t%llu\n", usage->d[BCH_DATA_free].buckets); in trace_bucket_alloc2()
569 prt_printf(&buf, "avail\t%llu\n", dev_buckets_free(ca, *usage, watermark)); in trace_bucket_alloc2()
570 prt_printf(&buf, "copygc_wait\t%lu/%lli\n", in trace_bucket_alloc2()
573 prt_printf(&buf, "seen\t%llu\n", s->buckets_seen); in trace_bucket_alloc2()
574 prt_printf(&buf, "open\t%llu\n", s->skipped_open); in trace_bucket_alloc2()
575 prt_printf(&buf, "need journal commit\t%llu\n", s->skipped_need_journal_commit); in trace_bucket_alloc2()
576 prt_printf(&buf, "nocow\t%llu\n", s->skipped_nocow); in trace_bucket_alloc2()
577 prt_printf(&buf, "nouse\t%llu\n", s->skipped_nouse); in trace_bucket_alloc2()
578 prt_printf(&buf, "mi_btree_bitmap\t%llu\n", s->skipped_mi_btree_bitmap); in trace_bucket_alloc2()
581 prt_printf(&buf, "allocated\t%llu\n", ob->bucket); in trace_bucket_alloc2()
584 prt_printf(&buf, "err\t%s\n", bch2_err_str(PTR_ERR(ob))); in trace_bucket_alloc2()
1602 prt_printf(out, "%zu ref %u ", in bch2_open_bucket_to_text()
1606 prt_printf(out, " %u:%llu gen %u allocated %u/%u", in bch2_open_bucket_to_text()
1610 prt_printf(out, " ec idx %llu", ob->ec->idx); in bch2_open_bucket_to_text()
1663 prt_printf(out, "%lu: ", wp->write_point); in bch2_write_point_to_text()
1666 prt_printf(out, " last wrote: "); in bch2_write_point_to_text()
1670 prt_printf(out, " %s: ", bch2_write_point_states[i]); in bch2_write_point_to_text()
1714 prt_printf(out, "capacity\t%llu\n", c->capacity); in bch2_fs_alloc_debug_to_text()
1715 prt_printf(out, "reserved\t%llu\n", c->reserved); in bch2_fs_alloc_debug_to_text()
1716 prt_printf(out, "hidden\t%llu\n", percpu_u64_get(&c->usage->hidden)); in bch2_fs_alloc_debug_to_text()
1717 prt_printf(out, "btree\t%llu\n", percpu_u64_get(&c->usage->btree)); in bch2_fs_alloc_debug_to_text()
1718 prt_printf(out, "data\t%llu\n", percpu_u64_get(&c->usage->data)); in bch2_fs_alloc_debug_to_text()
1719 prt_printf(out, "cached\t%llu\n", percpu_u64_get(&c->usage->cached)); in bch2_fs_alloc_debug_to_text()
1720 prt_printf(out, "reserved\t%llu\n", percpu_u64_get(&c->usage->reserved)); in bch2_fs_alloc_debug_to_text()
1721 prt_printf(out, "online_reserved\t%llu\n", percpu_u64_get(c->online_reserved)); in bch2_fs_alloc_debug_to_text()
1722 prt_printf(out, "nr_inodes\t%llu\n", percpu_u64_get(&c->usage->nr_inodes)); in bch2_fs_alloc_debug_to_text()
1725 prt_printf(out, "freelist_wait\t%s\n", c->freelist_wait.list.first ? "waiting" : "empty"); in bch2_fs_alloc_debug_to_text()
1726 prt_printf(out, "open buckets allocated\t%i\n", OPEN_BUCKETS_COUNT - c->open_buckets_nr_free); in bch2_fs_alloc_debug_to_text()
1727 prt_printf(out, "open buckets total\t%u\n", OPEN_BUCKETS_COUNT); in bch2_fs_alloc_debug_to_text()
1728 prt_printf(out, "open_buckets_wait\t%s\n", c->open_buckets_wait.list.first ? "waiting" : "empty"); in bch2_fs_alloc_debug_to_text()
1729 prt_printf(out, "open_buckets_btree\t%u\n", nr[BCH_DATA_btree]); in bch2_fs_alloc_debug_to_text()
1730 prt_printf(out, "open_buckets_user\t%u\n", nr[BCH_DATA_user]); in bch2_fs_alloc_debug_to_text()
1731 prt_printf(out, "btree reserve cache\t%u\n", c->btree_reserve_cache_nr); in bch2_fs_alloc_debug_to_text()
1749 prt_printf(out, "reserves:\n"); in bch2_dev_alloc_debug_to_text()
1751 prt_printf(out, "%s\t%llu\r\n", bch2_watermarks[i], bch2_dev_buckets_reserved(ca, i)); in bch2_dev_alloc_debug_to_text()
1759 prt_printf(out, "open buckets\t%i\r\n", ca->nr_open_buckets); in bch2_dev_alloc_debug_to_text()
1760 prt_printf(out, "buckets to invalidate\t%llu\r\n", should_invalidate_buckets(ca, stats)); in bch2_dev_alloc_debug_to_text()
1767 prt_printf(&buf, "Allocator stuck? Waited for %u seconds\n", in bch2_print_allocator_stuck()
1770 prt_printf(&buf, "Allocator debug:\n"); in bch2_print_allocator_stuck()
1777 prt_printf(&buf, "Dev %u:\n", ca->dev_idx); in bch2_print_allocator_stuck()
1784 prt_printf(&buf, "Copygc debug:\n"); in bch2_print_allocator_stuck()
1790 prt_printf(&buf, "Journal debug:\n"); in bch2_print_allocator_stuck()