| /fs/bcachefs/ |
| A D | sb-members.c | 224 prt_printf(out, "Label:\t"); in member_to_text() 229 prt_printf(out, "(none)"); in member_to_text() 232 prt_printf(out, "UUID:\t"); in member_to_text() 236 prt_printf(out, "Size:\t"); in member_to_text() 246 prt_printf(out, "Bucket size:\t"); in member_to_text() 253 prt_printf(out, "Last mount:\t"); in member_to_text() 257 prt_printf(out, "(never)"); in member_to_text() 262 prt_printf(out, "State:\t%s\n", in member_to_text() 271 prt_printf(out, "(none)"); in member_to_text() 274 prt_printf(out, "Has data:\t"); in member_to_text() [all …]
|
| A D | super-io.c | 1138 prt_printf(&buf, in bch2_write_super() 1158 prt_printf(&buf, in bch2_write_super() 1459 prt_printf(out, "Label:\t"); in bch2_sb_to_text() 1461 prt_printf(out, "(none)"); in bch2_sb_to_text() 1466 prt_printf(out, "Version:\t"); in bch2_sb_to_text() 1486 prt_printf(out, "Created:\t"); in bch2_sb_to_text() 1490 prt_printf(out, "(not set)"); in bch2_sb_to_text() 1510 prt_printf(out, "Sections:\t"); in bch2_sb_to_text() 1517 prt_printf(out, "Features:\t"); in bch2_sb_to_text() 1526 prt_printf(out, "Options:"); in bch2_sb_to_text() [all …]
|
| A D | disk_groups.c | 102 prt_printf(out, " "); in bch2_sb_disk_groups_to_text() 105 prt_printf(out, "[deleted]"); in bch2_sb_disk_groups_to_text() 367 prt_printf(out, "."); in __bch2_disk_path_to_text() 383 prt_printf(out, "%2u: ", i); in bch2_disk_groups_to_text() 386 prt_printf(out, "[deleted]"); in bch2_disk_groups_to_text() 392 prt_printf(out, " devs"); in bch2_disk_groups_to_text() 445 prt_printf(out, "."); in bch2_disk_path_to_text_sb() 527 prt_printf(out, "none"); in bch2_target_to_text() 560 prt_printf(out, "none"); in bch2_target_to_text_sb() 566 prt_printf(out, "Device "); in bch2_target_to_text_sb() [all …]
|
| A D | journal_sb.c | 43 prt_printf(err, "journal bucket at sector 0"); in bch2_sb_journal_validate() 48 prt_printf(err, "journal bucket %llu before first bucket %u", in bch2_sb_journal_validate() 54 prt_printf(err, "journal bucket %llu past end of device (nbuckets %llu)", in bch2_sb_journal_validate() 61 prt_printf(err, "duplicate journal buckets %llu", b[i]); in bch2_sb_journal_validate() 77 prt_printf(out, "Buckets: "); in bch2_sb_journal_to_text() 79 prt_printf(out, " %llu", le64_to_cpu(journal->buckets[i])); in bch2_sb_journal_to_text() 125 prt_printf(err, "journal buckets entry with bad nr: %llu+%llu", in bch2_sb_journal_v2_validate() 137 prt_printf(err, "journal bucket at sector 0"); in bch2_sb_journal_v2_validate() 142 prt_printf(err, "journal bucket %llu before first bucket %u", in bch2_sb_journal_v2_validate() 178 prt_printf(out, "Buckets: "); in bch2_sb_journal_v2_to_text() [all …]
|
| A D | bkey_methods.c | 97 prt_printf(out, "datalen %u: %*phN", in key_type_inline_data_to_text() 274 prt_printf(out, "POS_MIN"); in bch2_bpos_to_text() 276 prt_printf(out, "POS_MAX"); in bch2_bpos_to_text() 278 prt_printf(out, "SPOS_MAX"); in bch2_bpos_to_text() 281 prt_printf(out, "U64_MAX"); in bch2_bpos_to_text() 284 prt_printf(out, ":"); in bch2_bpos_to_text() 286 prt_printf(out, "U64_MAX"); in bch2_bpos_to_text() 289 prt_printf(out, ":"); in bch2_bpos_to_text() 291 prt_printf(out, "U32_MAX"); in bch2_bpos_to_text() 311 prt_printf(out, "(null)"); in bch2_bkey_to_text() [all …]
|
| A D | journal.c | 50 prt_printf(out, "seq:\t%llu\n", seq); in bch2_journal_buf_to_text() 61 prt_printf(out, "size:\t"); in bch2_journal_buf_to_text() 68 prt_printf(out, "flags:\t"); in bch2_journal_buf_to_text() 1736 prt_printf(out, "flags:\t"); in __bch2_journal_debug_to_text() 1761 prt_printf(out, "current entry:\t"); in __bch2_journal_debug_to_text() 1765 prt_printf(out, "error\n"); in __bch2_journal_debug_to_text() 1768 prt_printf(out, "closed\n"); in __bch2_journal_debug_to_text() 1771 prt_printf(out, "blocked\n"); in __bch2_journal_debug_to_text() 1781 prt_printf(out, "space:\n"); in __bch2_journal_debug_to_text() 1789 prt_printf(out, "clean\t%u:%u\n", in __bch2_journal_debug_to_text() [all …]
|
| A D | alloc_foreground.c | 463 prt_printf(&buf, "blocking\t%u\n", cl != NULL); in trace_bucket_alloc2() 466 prt_printf(&buf, "copygc_wait\t%llu/%lli\n", in trace_bucket_alloc2() 1457 prt_printf(out, "%zu ref %u ", in bch2_open_bucket_to_text() 1465 prt_printf(out, " ec idx %llu", ob->ec->idx); in bch2_open_bucket_to_text() 1520 prt_printf(out, "%lu: ", wp->write_point); in bch2_write_point_to_text() 1523 prt_printf(out, " last wrote: "); in bch2_write_point_to_text() 1608 prt_printf(out, "reserves:\n"); in bch2_dev_alloc_debug_to_text() 1630 prt_printf(&buf, "Allocator debug:\n"); in bch2_print_allocator_stuck() 1641 prt_printf(&buf, "Dev %u:\n", ca->dev_idx); in bch2_print_allocator_stuck() 1649 prt_printf(&buf, "Copygc debug:\n"); in bch2_print_allocator_stuck() [all …]
|
| A D | util.c | 372 prt_printf(out, "%s\t", name); in pr_name_and_units() 430 prt_printf(out, "mean:\t"); in bch2_time_stats_to_text() 436 prt_printf(out, "stddev:\t"); in bch2_time_stats_to_text() 450 prt_printf(out, "mean:\t"); in bch2_time_stats_to_text() 456 prt_printf(out, "stddev:\t"); in bch2_time_stats_to_text() 589 prt_printf(out, "rate:\t"); in bch2_pd_controller_debug_to_text() 593 prt_printf(out, "target:\t"); in bch2_pd_controller_debug_to_text() 597 prt_printf(out, "actual:\t"); in bch2_pd_controller_debug_to_text() 601 prt_printf(out, "proportional:\t"); in bch2_pd_controller_debug_to_text() 605 prt_printf(out, "derivative:\t"); in bch2_pd_controller_debug_to_text() [all …]
|
| A D | debug.c | 210 prt_printf(out, "memory allocation failure\n"); in bch2_btree_node_ondisk_to_text() 248 prt_printf(out, "invalid checksum\n"); in bch2_btree_node_ondisk_to_text() 273 prt_printf(out, "invalid checksum"); in bch2_btree_node_ondisk_to_text() 470 prt_printf(out, "%px ", b); in bch2_cached_btree_node_to_text() 472 prt_printf(out, "\n"); in bch2_cached_btree_node_to_text() 479 prt_printf(out, "flags:\t"); in bch2_cached_btree_node_to_text() 488 prt_printf(out, "journal pin %px:\t%llu\n", in bch2_cached_btree_node_to_text() 490 prt_printf(out, "journal pin %px:\t%llu\n", in bch2_cached_btree_node_to_text() 493 prt_printf(out, "ob:\t%u\n", b->ob.nr); in bch2_cached_btree_node_to_text() 611 prt_printf(&i->buf, "backtrace:\n"); in bch2_btree_transactions_read() [all …]
|
| A D | opts.c | 112 prt_printf(out, "(unknown %s %u)", type, idx); in prt_str_opt_boundscheck() 332 prt_printf(err, "%s: too small (min %llu)", in bch2_opt_validate() 339 prt_printf(err, "%s: too big (max %llu)", in bch2_opt_validate() 390 prt_printf(err, "%s: required value", in bch2_opt_parse() 406 prt_printf(err, "%s: must be a number", in bch2_opt_parse() 413 prt_printf(err, "%s: required value", in bch2_opt_parse() 421 prt_printf(err, "%s: invalid selection", in bch2_opt_parse() 443 prt_printf(err, "%s: parse error", in bch2_opt_parse() 459 prt_printf(out, "%s%s", in bch2_opt_to_text() 465 prt_printf(out, "%s=", opt->attr.name); in bch2_opt_to_text() [all …]
|
| A D | quota.c | 28 prt_printf(err, "wrong size (got %zu should be %zu)", in bch2_sb_quota_validate() 43 prt_printf(out, "%s: flags %llx", in bch2_sb_quota_to_text() 48 prt_printf(out, " %s timelimit %u warnlimit %u", in bch2_sb_quota_to_text() 82 prt_printf(out, "%s hardlimit %llu softlimit %llu", in bch2_quota_to_text() 99 prt_printf(out, "i_fieldmask\t%x\n", i->i_fieldmask); in qc_info_to_text() 100 prt_printf(out, "i_flags\t%u\n", i->i_flags); in qc_info_to_text() 114 prt_printf(out, "d_fieldmask\t%x\n", q->d_fieldmask); in qc_dqblk_to_text() 119 prt_printf(out, "d_space\t%llu\n", q->d_space); in qc_dqblk_to_text() 120 prt_printf(out, "d_ino_count\t%llu\n", q->d_ino_count); in qc_dqblk_to_text() 123 prt_printf(out, "d_ino_warns\t%i\n", q->d_ino_warns); in qc_dqblk_to_text() [all …]
|
| A D | error.c | 19 prt_printf(out, "bcachefs (%s): ", fs_or_dev_name); in __bch2_log_msg_start() 98 prt_printf(out, "btree topology error: "); in __bch2_topology_error() 155 prt_printf(&buf, "writes erroring for %u seconds, setting %s ro", in bch2_io_error_work() 484 prt_printf(out, bch2_log_msg(c, "")); in __bch2_fsck_err() 605 prt_printf(out, "Unable to continue, halting\n"); in __bch2_fsck_err() 680 prt_printf(&buf, "invalid bkey in %s", in __bch2_bkey_fsck_err() 684 prt_printf(&buf, " journal seq=%llu offset=%u", in __bch2_bkey_fsck_err() 689 prt_printf(&buf, " level=%u: ", from.level); in __bch2_bkey_fsck_err() 744 prt_printf(out, "inum %llu:%llu", inum.subvol, inum.inum); in bch2_inum_offset_err_msg_trans() 745 prt_printf(out, " offset %llu: ", offset); in bch2_inum_offset_err_msg_trans() [all …]
|
| A D | sysfs.c | 108 prt_printf(out, fmt "\n", __VA_ARGS__); \ 287 prt_printf(out, ": "); in bch2_gc_gens_pos_to_text() 289 prt_printf(out, "\n"); in bch2_gc_gens_pos_to_text() 298 prt_printf(out, "hidden:\t\t%llu\n", b.hidden); in bch2_fs_usage_base_to_text() 299 prt_printf(out, "btree:\t\t%llu\n", b.btree); in bch2_fs_usage_base_to_text() 300 prt_printf(out, "data:\t\t%llu\n", b.data); in bch2_fs_usage_base_to_text() 301 prt_printf(out, "cached:\t%llu\n", b.cached); in bch2_fs_usage_base_to_text() 466 prt_printf(&buf, "shutdown by sysfs\n"); in STORE() 534 prt_printf(out, "since mount:\t"); \ in SHOW() 788 prt_printf(out, "%s:\n", bch2_rw[rw]); in dev_io_done_to_text() [all …]
|
| A D | replicas.c | 52 prt_printf(out, ": %u [", e->nr_devs); in bch2_replicas_entry_v0_to_text() 54 prt_printf(out, i ? " %u" : "%u", e->devs[i]); in bch2_replicas_entry_v0_to_text() 55 prt_printf(out, "]"); in bch2_replicas_entry_v0_to_text() 65 prt_printf(out, i ? " %u" : "%u", e->devs[i]); in bch2_replicas_entry_to_text() 66 prt_printf(out, "]"); in bch2_replicas_entry_to_text() 74 prt_printf(err, "no devices in entry "); in bch2_replicas_entry_sb_validate() 80 prt_printf(err, "bad nr_required in entry "); in bch2_replicas_entry_sb_validate() 102 prt_printf(err, "no devices in entry "); in bch2_replicas_entry_validate() 133 prt_printf(out, " "); in bch2_cpu_replicas_to_text() 754 prt_printf(out, " "); in bch2_sb_replicas_to_text() [all …]
|
| A D | btree_locking.c | 78 prt_printf(out, "Found lock cycle (%u entries):\n", g->nr); in print_cycle() 98 prt_printf(out, "%u ", task ? task->pid : 0); in print_chain() 202 prt_printf(&buf, bch2_fmt(g->g->trans->c, "cycle of nofail locks")); in break_cycle_fail() 209 prt_printf(&buf, "backtrace:\n"); in break_cycle_fail() 697 prt_printf(&buf, "%s %pS\n", trans->fn, (void *) _RET_IP_); in __bch2_btree_path_upgrade() 700 prt_printf(&buf, "locks want %u -> %u level %u\n", in __bch2_btree_path_upgrade() 702 prt_printf(&buf, "nodes_locked %x -> %x\n", in __bch2_btree_path_upgrade() 706 prt_printf(&buf, "path seq %u node seq %u\n", in __bch2_btree_path_upgrade() 783 prt_printf(&buf, " %s l=%u seq=%u node seq=", in bch2_trans_relock_fail() 789 prt_printf(&buf, "%u", f->b->c.lock.seq); in bch2_trans_relock_fail() [all …]
|
| A D | str_hash.c | 160 prt_printf(&buf, "inode %llu hash info in snapshots %u %u don't match\n", in bch2_repair_inode_hash_info() 166 prt_printf(&buf, " %llx\n", inode.bi_hash_seed); in bch2_repair_inode_hash_info() 169 prt_printf(&buf, " %llx", snapshot_root->bi_hash_seed); in bch2_repair_inode_hash_info() 189 prt_printf(&buf, "inode %llu hash info mismatch with root, but mismatch not found\n", in bch2_repair_inode_hash_info() 192 prt_printf(&buf, "root snapshot %u ", snapshot_root->bi_snapshot); in bch2_repair_inode_hash_info() 194 prt_printf(&buf, " %llx\n", snapshot_root->bi_hash_seed); in bch2_repair_inode_hash_info() 196 prt_printf(&buf, "vs snapshot %u ", hash_info->inum_snapshot); in bch2_repair_inode_hash_info() 198 prt_printf(&buf, " %llx %llx", hash_info->siphash_key.k0, hash_info->siphash_key.k1); in bch2_repair_inode_hash_info()
|
| A D | io_read.c | 995 prt_printf(&buf, "memory gen: %u", gen); in read_from_stale_dirty_pointer() 1071 prt_printf(&buf, "%s\n ", bch2_err_str(ret)); in __bch2_read_extent() 1487 prt_printf(out, "end_io:\t%ps\n", rbio->end_io); in bch2_read_bio_to_text() 1489 prt_printf(out, "parent:\t%px\n", rbio->parent); in bch2_read_bio_to_text() 1493 prt_printf(out, "promote:\t%u\n", rbio->promote); in bch2_read_bio_to_text() 1494 prt_printf(out, "bounce:\t%u\n", rbio->bounce); in bch2_read_bio_to_text() 1495 prt_printf(out, "split:\t%u\n", rbio->split); in bch2_read_bio_to_text() 1498 prt_printf(out, "context:\t%u\n", rbio->context); in bch2_read_bio_to_text() 1502 prt_printf(out, "ret:\t%s\n", bch2_err_str(ret)); in bch2_read_bio_to_text() 1504 prt_printf(out, "ret:\t%i\n", ret); in bch2_read_bio_to_text() [all …]
|
| A D | journal_io.c | 55 prt_printf(out, "%s %u:%u:%u (sector %llu)", in bch2_journal_ptr_to_text() 65 prt_printf(out, " "); in bch2_journal_ptrs_to_text() 299 prt_printf(out, " in superblock"); in journal_entry_err_msg() 305 prt_printf(out, " offset=%zi/%u", in journal_entry_err_msg() 318 prt_printf(&_buf, msg, ##__VA_ARGS__); \ 572 prt_printf(out, "start=%llu end=%llu", in journal_entry_blacklist_v2_to_text() 1265 prt_printf(&buf, "should be "); in bch2_journal_print_checksum_error() 1314 prt_printf(&buf, "\nprev at "); in bch2_journal_check_for_missing() 1319 prt_printf(&buf, "(none)"); in bch2_journal_check_for_missing() 1321 prt_printf(&buf, "\nnext at "); in bch2_journal_check_for_missing() [all …]
|
| A D | btree_cache.c | 1009 prt_printf(&buf, in btree_bad_header() 1020 prt_printf(&buf, "\nmax "); in btree_bad_header() 1418 prt_printf(out, "(unknown)"); in __bch2_btree_pos_to_text() 1439 prt_printf(out, " - "); in bch2_btree_node_to_text() 1441 prt_printf(out, ":\n" in bch2_btree_node_to_text() 1446 prt_printf(out, in bch2_btree_node_to_text() 1450 prt_printf(out, in bch2_btree_node_to_text() 1474 prt_printf(out, "%s\t", label); in prt_btree_cache_line() 1476 prt_printf(out, " (%zu)\n", nr); in prt_btree_cache_line() 1503 prt_printf(out, "\t"); in bch2_btree_cache_to_text() [all …]
|
| A D | checksum.c | 365 prt_printf(&buf, "checksum error in %s() (memory corruption or bug?)\n" in bch2_rechecksum_bio() 409 prt_printf(err, "wrong size (got %zu should be %zu)", in bch2_sb_crypt_validate() 415 prt_printf(err, "bad kdf type %llu", BCH_CRYPT_KDF_TYPE(crypt)); in bch2_sb_crypt_validate() 427 prt_printf(out, "KFD: %llu\n", BCH_CRYPT_KDF_TYPE(crypt)); in bch2_sb_crypt_to_text() 428 prt_printf(out, "scrypt n: %llu\n", BCH_KDF_SCRYPT_N(crypt)); in bch2_sb_crypt_to_text() 429 prt_printf(out, "scrypt r: %llu\n", BCH_KDF_SCRYPT_R(crypt)); in bch2_sb_crypt_to_text() 430 prt_printf(out, "scrypt p: %llu\n", BCH_KDF_SCRYPT_P(crypt)); in bch2_sb_crypt_to_text() 501 prt_printf(&key_description, "bcachefs:"); in bch2_request_key() 529 prt_printf(&key_description, "bcachefs:"); in bch2_revoke_key()
|
| A D | movinggc.c | 305 prt_printf(out, "running:\t%u\n", c->copygc_running); in bch2_copygc_wait_to_text() 306 prt_printf(out, "copygc_wait:\t%llu\n", c->copygc_wait); in bch2_copygc_wait_to_text() 307 prt_printf(out, "copygc_wait_at:\t%llu\n", c->copygc_wait_at); in bch2_copygc_wait_to_text() 309 prt_printf(out, "Currently waiting for:\t"); in bch2_copygc_wait_to_text() 314 prt_printf(out, "Currently waiting since:\t"); in bch2_copygc_wait_to_text() 325 prt_printf(out, "Currently calculated wait:\n"); in bch2_copygc_wait_to_text() 327 prt_printf(out, " %s:\t", ca->name); in bch2_copygc_wait_to_text()
|
| A D | extents.c | 72 prt_printf(out, "(invalid device %u)", f->dev); in bch2_io_failures_to_text() 361 prt_printf(out, " "); in bch2_btree_ptr_v2_to_text() 549 prt_printf(out, "generation %u replicas %u", in bch2_reservation_to_text() 1239 prt_printf(out, "ptr: %u:%llu:%u gen %u", in bch2_extent_ptr_to_text() 1242 prt_printf(out, " d=%u", ca->mi.durability); in bch2_extent_ptr_to_text() 1249 prt_printf(out, " stale"); in bch2_extent_ptr_to_text() 1251 prt_printf(out, " invalid"); in bch2_extent_ptr_to_text() 1306 prt_printf(out, "%u", r->promote_target); in bch2_extent_rebalance_to_text() 1313 prt_printf(out, " ec=%u", r->erasure_code); in bch2_extent_rebalance_to_text() 1331 prt_printf(out, " "); in bch2_bkey_ptrs_to_text() [all …]
|
| A D | backpointers.c | 68 prt_printf(out, " suboffset=%u len=%u gen=%u pos=", in bch2_backpointer_to_text() 117 prt_printf(&buf, "existing backpointer found when inserting "); in backpointer_mod_err() 122 prt_printf(&buf, "found "); in backpointer_mod_err() 126 prt_printf(&buf, "for "); in backpointer_mod_err() 129 prt_printf(&buf, "backpointer not found when deleting\n"); in backpointer_mod_err() 132 prt_printf(&buf, "searching for "); in backpointer_mod_err() 136 prt_printf(&buf, "got "); in backpointer_mod_err() 140 prt_printf(&buf, "for "); in backpointer_mod_err() 225 prt_printf(&buf, "backpointer doesn't match %s it points to:\n", in backpointer_target_not_found() 660 prt_printf(&buf, "\nwant: "); in check_bp_exists() [all …]
|
| A D | sb-errors.c | 18 prt_printf(out, "(unknown error %u)", id); in bch2_sb_error_id_to_text() 40 prt_printf(err, "entry with count 0 (id "); in bch2_sb_errors_validate() 42 prt_printf(err, ")"); in bch2_sb_errors_validate() 49 prt_printf(err, "entries out of order"); in bch2_sb_errors_validate()
|
| A D | sb-clean.c | 122 prt_printf(&buf1, "(none)"); in bch2_verify_superblock_clean() 127 prt_printf(&buf2, "(none)"); in bch2_verify_superblock_clean() 218 prt_printf(err, "wrong size (got %zu should be %zu)", in bch2_sb_clean_validate() 243 prt_printf(out, "flags: %x\n", le32_to_cpu(clean->flags)); in bch2_sb_clean_to_text() 244 prt_printf(out, "journal_seq: %llu\n", le64_to_cpu(clean->journal_seq)); in bch2_sb_clean_to_text()
|