Home
last modified time | relevance | path

Searched refs:bch_err (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.15/fs/bcachefs/
H A Derrcode.c53 int __bch2_err_class(int bch_err) in __bch2_err_class() argument
55 int std_err = -bch_err; in __bch2_err_class()
61 trace_error_downcast(bch_err, std_err, _RET_IP_); in __bch2_err_class()
H A Derror.c54 bch_err(c, "%s", buf.buf); in bch2_inconsistent_error()
133 bch_err(c, "fatal error - emergency read only"); in bch2_fatal_error()
155 bch_err(ca, in bch2_io_error_work()
288 bch_err(c, "kmalloc err, cannot ratelimit fsck errs"); in fsck_err_get()
649 bch_err(c, "Saw %llu errors like:\n %s", s->nr, s->last_msg); in __bch2_flush_fsck_errs()
H A Dsuper.c433 bch_err(c, "cannot go rw, unfixed btree errors"); in __bch2_fs_read_write()
697 bch_err(c, "filesystem UUID already open"); in bch2_fs_online()
703 bch_err(c, "error creating character device"); in bch2_fs_online()
718 bch_err(c, "error creating sysfs objects"); in bch2_fs_online()
727 bch_err(c, "error creating sysfs objects"); in bch2_fs_online()
868 bch_err(c, "fs_alloc fault injected"); in bch2_fs_alloc()
1472 bch_err(ca, "cannot online: device too small"); in __bch2_dev_attach_bdev()
1957 bch_err(ca, "Already offline"); in bch2_dev_offline()
1963 bch_err(ca, "Cannot offline required disk"); in bch2_dev_offline()
1984 bch_err(ca, "Cannot shrink yet"); in bch2_dev_resize()
[all …]
H A Dsb-clean.c37 bch_err(c, "journal entry (u64s %u) overran end of superblock clean section (u64s %u) by %zu", in bch2_sb_clean_validate_late()
307 bch_err(c, "error resizing superblock while setting filesystem clean"); in bch2_fs_mark_clean()
331 bch_err(c, "error writing marking filesystem clean: validate error"); in bch2_fs_mark_clean()
H A Dsnapshot.h207 bch_err(c, "error reallocating snapshot_id_list (size %zu)", s->size); in snapshot_list_add()
217 bch_err(c, "error reallocating snapshot_id_list (size %zu)", s->size); in snapshot_list_add_nodup()
H A Dsnapshot.c706 bch_err(c, "snapshot with nonexistent parent:\n %s", in check_snapshot()
713 bch_err(c, "snapshot parent %u missing pointer to child %llu", in check_snapshot()
725 bch_err(c, "snapshot node %llu has nonexistent child %u", in check_snapshot()
731 bch_err(c, "snapshot child %u has wrong parent (got %u should be %llu)", in check_snapshot()
745 bch_err(c, "snapshot points to nonexistent subvolume:\n %s", in check_snapshot()
751 bch_err(c, "snapshot node %llu has wrong BCH_SNAPSHOT_SUBVOL", in check_snapshot()
994 bch_err(c, "cannot reconstruct snapshot trees with multiple nodes"); in bch2_reconstruct_snapshots()
1258 bch_err(trans->c, "snapshot %u not found", parent); in bch2_snapshot_node_create_children()
1263 bch_err(trans->c, "Trying to add child snapshot nodes to parent that already has children"); in bch2_snapshot_node_create_children()
1465 bch_err(c, "error finding live child of snapshot %u", d.id); in check_should_delete_snapshot()
H A Dbtree_node_scan.c223 bch_err(c, "try_read_btree_node() can't handle endian conversion"); in try_read_btree_node()
245 bch_err(c, "read_btree_nodes_worker: error allocating bio/buf"); in read_btree_nodes_worker()
389 bch_err(c, "%s: no btree nodes found", __func__); in bch2_scan_for_btree_nodes()
410 bch_err(c, "%s: found too many replicas for btree node", __func__); in bch2_scan_for_btree_nodes()
H A Drecovery.c48 bch_err(c, "flagging btree %s lost data", buf.buf); in bch2_btree_lost_data()
719 bch_err(c, "feature new_extent_overwrite not set, filesystem no longer supported"); in bch2_fs_recovery()
726bch_err(c, "filesystem needs recovery from older version; run fsck from older bcachefs-tools to fi… in bch2_fs_recovery()
801 bch_err(c, "error initializing blacklist table"); in bch2_fs_recovery()
875 bch_err(c, "no superblock clean section found"); in bch2_fs_recovery()
980 bch_err(c, "Second fsck run was not clean"); in bch2_fs_recovery()
H A Dstr_hash.c160 bch_err(c, "%s(): inum %llu not found", __func__, inum); in check_inode_hash_info_matches_root()
174 bch_err(c, "inode hash info mismatch with root, but mismatch not found\n" in check_inode_hash_info_matches_root()
H A Dchecksum.c557 bch_err(c, "error requesting encryption key: %s", bch2_err_str(ret)); in bch2_decrypt_sb_key()
565 bch_err(c, "incorrect encryption key"); in bch2_decrypt_sb_key()
644 bch_err(c, "error requesting encryption key: %s", bch2_err_str(ret));
H A Dfsck.c252 bch_err(c, "error looking up lost+found: not a directory"); in lookup_lostfound()
554 bch_err(c, "need to reconstruct subvol, but have interior node snapshot"); in reconstruct_subvol()
694 bch_err(c, "error reallocating snapshots_seen table (size %zu)", in snapshots_seen_add_inorder()
1627 bch_err(c, "%s: error finding first overlapping extent when repairing, got%s", in overlapping_extents_found()
1652 bch_err(c, "%s: error finding seconding overlapping extent when repairing%s", in overlapping_extents_found()
1769 bch_err(c, "overbig encoded extent, please report this:\n %s", buf.buf); in check_extent_overbig()
2053 bch_err(c, "could not find a subvol for snapshot %u", d.k->p.snapshot); in check_dirent_to_subvol()
2617 bch_err(c, "unreachable inode in check_directory_structure: %s\n%s", in check_path_loop()
2659 bch_err(c, "directory structure loop"); in check_path_loop()
2737 bch_err(c, "fsck: error allocating memory for nlink_table, size %zu", in add_nlink()
[all …]
H A Derror.h188 bch_err(c, "%s(): fatal error " _msg, __func__, ##__VA_ARGS__); \
H A Dbcachefs.h307 #define bch_err(c, fmt, ...) \ macro
337 bch_err(_c, "%s(): error %s", __func__, bch2_err_str(_ret));\
349 bch_err(_c, "%s(): error " _msg " %s", __func__, \
H A Djournal.c180 bch_err(c, "Journal pins:\n%s", buf.buf); in journal_error_check_stuck()
297 bch_err(c, "%s", err.buf); in __journal_entry_close()
421 bch_err(c, "cannot start: journal seq overflow"); in journal_entry_open()
423 bch_err(c, "fatal error - emergency read only"); in journal_entry_open()
1408 bch_err(c, "cannot start: journal seq overflow"); in bch2_fs_journal_start()
1436 bch_err(c, "error reallocating journal fifo (%llu open entries)", nr); in bch2_fs_journal_start()
H A Dreplicas.c424 bch_err(c, "error allocating c->replicas_gc"); in bch2_replicas_gc_start()
460 bch_err(c, "error allocating c->replicas_gc"); in bch2_replicas_gc2()
854 bch_err(c, "insufficient devices online (%u) for replicas entry %s", in bch2_have_enough_devs()
H A Dec.c429 bch_err(c, "error allocating memory for gc_stripes, idx %llu", idx); in bch2_trigger_stripe()
1305 bch_err(c, "error creating stripe: error writing data buckets"); in ec_stripe_create()
1314 bch_err(c, "error creating stripe: error reading existing stripe"); in ec_stripe_create()
1340 bch_err(c, "error creating stripe: error writing redundancy buckets"); in ec_stripe_create()
1611 bch_err(c, "insufficient devices available to create stripe (have %u, need %u): %s", in ec_stripe_head_devs_update()
1999 bch_err(c, "cannot create a stripe when disk_label > U8_MAX"); in bch2_ec_stripe_head_get()
2013 bch_err(c, "failed to allocate new stripe"); in bch2_ec_stripe_head_get()
2099 bch_err(trans->c, "trying to invalidate device in stripe when bucket has stripe data"); in bch2_invalidate_stripe_to_dev()
H A Dtrace.h1472 TP_PROTO(int bch_err, int std_err, unsigned long ip),
1473 TP_ARGS(bch_err, std_err, ip),
1476 __array(char, bch_err, 32 )
1482 strscpy(__entry->bch_err, bch2_err_str(bch_err), sizeof(__entry->bch_err));
1487 TP_printk("%s -> %s %s", __entry->bch_err, __entry->std_err, __entry->ip)
H A Dbackpointers.c114 bch_err(c, "%s", buf.buf); in backpointer_mod_err()
135 bch_err(c, "%s", buf.buf); in backpointer_mod_err()
597 bch_err(c, "%s", buf.buf); in check_bp_exists()
638 bch_err(c, "%s", buf.buf); in check_bp_exists()
H A Dfs-ioctl.c145 bch_err(c, in bch2_ioc_setlabel()
H A Dbtree_key_cache.c230 bch_err(c, "error allocating memory for key cache item, btree %s", in btree_key_cache_create()
248 bch_err(trans->c, "error allocating memory for key cache key, btree %s u64s %u", in btree_key_cache_create()
H A Dbtree_journal_iter.c293 bch_err(c, "%s: error allocating new key array (size %zu)", in bch2_journal_key_insert_take()
742bch_err(c, "Too many journal keys for slowpath; have %zu compacted, buf size %zu, processed %zu ke… in bch2_journal_keys_sort()
H A Dbuckets.c280 bch_err(c, "cannot update btree roots yet"); in bch2_check_fix_ptrs()
347 bch_err(c, "aieee, found stripe ptr with no data ptr"); in bch2_check_fix_ptrs()
699 bch_err(c, "error allocating memory for gc_stripes, idx %llu", in bch2_trigger_stripe_ptr()
H A Ddebug.c112 bch_err(c, "verify failed at key %u", j); in bch2_btree_verify_replica()
118 bch_err(c, "written wrong: expected %u, got %u", in bch2_btree_verify_replica()
H A Dchardev.c297 bch_err(c, "Error setting device state: %s", bch2_err_str(ret)); in bch2_ioctl_disk_set_state()
H A Dsubvolume.c694 bch_err(trans->c, "root inode not found"); in __bch2_fs_upgrade_for_subvolumes()

12