Home
last modified time | relevance | path

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

12

/linux/fs/bcachefs/
A Derror.h38 bch_err(c, "btree topology error: " __VA_ARGS__); \
44 bch_err(c, __VA_ARGS__); \
64 bch_err(ca, __VA_ARGS__); \
83 bch_err(trans->c, __VA_ARGS__); \
209 bch_err(c, "%s(): fatal error " _msg, __func__, ##__VA_ARGS__); \
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()
A Derror.c22 bch_err(c, "inconsistency detected - emergency read only at journal seq %llu", in bch2_inconsistent_error()
48 bch_err(c, "fatal error - emergency read only"); in bch2_fatal_error()
64 bch_err(ca, in bch2_io_error_work()
189 bch_err(c, "kmalloc err, cannot ratelimit fsck errs"); in fsck_err_get()
415 bch_err(c, "Unable to continue, halting"); in __bch2_fsck_err()
417 bch_err(c, "Ratelimiting new instances of previous error"); in __bch2_fsck_err()
477 bch_err(c, "Saw %llu errors like:\n %s", s->nr, s->last_msg); in bch2_flush_fsck_errs()
A Dsuper.c427 bch_err(c, "error starting copygc thread"); in bch2_fs_read_write_late()
433 bch_err(c, "error starting rebalance thread"); in bch2_fs_read_write_late()
689 bch_err(c, "filesystem UUID already open"); in bch2_fs_online()
710 bch_err(c, "error creating sysfs objects"); in bch2_fs_online()
719 bch_err(c, "error creating sysfs objects"); in bch2_fs_online()
867 bch_err(c, "fs_alloc fault injected"); in bch2_fs_alloc()
1047 bch_err(c, "fs_start fault injected"); in bch2_fs_start()
1905 bch_err(ca, "Already offline"); in bch2_dev_offline()
1911 bch_err(ca, "Cannot offline required disk"); in bch2_dev_offline()
1932 bch_err(ca, "Cannot shrink yet"); in bch2_dev_resize()
[all …]
A Dchecksum.c642 bch_err(c, "error requesting encryption key: %s", bch2_err_str(ret)); in bch2_decrypt_sb_key()
653 bch_err(c, "incorrect encryption key"); in bch2_decrypt_sb_key()
673 bch_err(c, "error requesting chacha20 module: %s", bch2_err_str(ret)); in bch2_alloc_ciphers()
680 bch_err(c, "error requesting poly1305 module: %s", bch2_err_str(ret)); in bch2_alloc_ciphers()
745 bch_err(c, "error requesting encryption key: %s", bch2_err_str(ret)); in bch2_enable_encryption()
799 bch_err(c, "error requesting sha256 module: %s", bch2_err_str(ret)); in bch2_fs_encryption_init()
A Dsb-clean.c33 bch_err(c, "journal entry (u64s %u) overran end of superblock clean section (u64s %u) by %zu", in bch2_sb_clean_validate_late()
303 bch_err(c, "error resizing superblock while setting filesystem clean"); in bch2_fs_mark_clean()
327 bch_err(c, "error writing marking filesystem clean: validate error"); in bch2_fs_mark_clean()
A Dbtree_node_scan.c196 bch_err(c, "try_read_btree_node() can't handle endian conversion"); in try_read_btree_node()
218 bch_err(c, "read_btree_nodes_worker: error allocating bio/buf"); in read_btree_nodes_worker()
286 bch_err(c, "error starting kthread: %i", ret); in read_btree_nodes()
368 bch_err(c, "%s: no btree nodes found", __func__); in bch2_scan_for_btree_nodes()
389 bch_err(c, "%s: found too many replicas for btree node", __func__); in bch2_scan_for_btree_nodes()
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()
A Dsnapshot.c378 bch_err(trans->c, "snapshot node %u not found", id); in bch2_snapshot_live()
765 bch_err(c, "snapshot with nonexistent parent:\n %s", in check_snapshot()
772 bch_err(c, "snapshot parent %u missing pointer to child %llu", in check_snapshot()
784 bch_err(c, "snapshot node %llu has nonexistent child %u", in check_snapshot()
790 bch_err(c, "snapshot child %u has wrong parent (got %u should be %llu)", in check_snapshot()
804 bch_err(c, "snapshot points to nonexistent subvolume:\n %s", in check_snapshot()
810 bch_err(c, "snapshot node %llu has wrong BCH_SNAPSHOT_SUBVOL", in check_snapshot()
1057 bch_err(c, "cannot reconstruct snapshot trees with multiple nodes"); in bch2_reconstruct_snapshots()
1325 bch_err(trans->c, "snapshot %u not found", parent); in bch2_snapshot_node_create_children()
1330 bch_err(trans->c, "Trying to add child snapshot nodes to parent that already has children"); in bch2_snapshot_node_create_children()
A Drecovery.c45 bch_err(c, "flagging btree %s lost data", bch2_btree_id_str(btree)); in bch2_btree_lost_data()
651 bch_err(c, "feature new_extent_overwrite not set, filesystem no longer supported"); in bch2_fs_recovery()
658bch_err(c, "filesystem needs recovery from older version; run fsck from older bcachefs-tools to fi… in bch2_fs_recovery()
725 bch_err(c, "error initializing blacklist table"); in bch2_fs_recovery()
799 bch_err(c, "no superblock clean section found"); in bch2_fs_recovery()
903 bch_err(c, "Second fsck run was not clean"); in bch2_fs_recovery()
A Dbackpointers.c141 bch_err(c, "%s", buf.buf); in backpointer_mod_err()
157 bch_err(c, "%s", buf.buf); in backpointer_mod_err()
544 bch_err(c, "%s", buf.buf); in check_bp_exists()
600 bch_err(c, "%s", buf.buf); in check_bp_exists()
636 bch_err(c, "%s", buf.buf); in check_bp_exists()
A Dfsck.c268 bch_err(c, "error looking up lost+found: not a directory"); in lookup_lostfound()
531 bch_err(c, "need to reconstruct subvol, but have interior node snapshot"); in reconstruct_subvol()
671 bch_err(c, "error reallocating snapshots_seen table (size %zu)", in snapshots_seen_add_inorder()
1770 bch_err(c, "%s: error finding first overlapping extent when repairing, got%s", in overlapping_extents_found()
1795 bch_err(c, "%s: error finding seconding overlapping extent when repairing%s", in overlapping_extents_found()
1910 bch_err(c, "overbig encoded extent, please report this:\n %s", buf.buf); in check_extent_overbig()
2357 bch_err(c, "could not find a subvol for snapshot %u", d.k->p.snapshot); in check_dirent_to_subvol()
2818 bch_err(c, "unreachable inode in check_directory_structure: %s\n%s", in check_path()
2850 bch_err(c, "directory structure loop"); in check_path()
2924 bch_err(c, "fsck: error allocating memory for nlink_table, size %zu", in add_nlink()
[all …]
A Dbcachefs.h303 #define bch_err(c, fmt, ...) \ macro
333 bch_err(_c, "%s(): error %s", __func__, bch2_err_str(_ret));\
345 bch_err(_c, "%s(): error " _msg " %s", __func__, \
A Djournal.c170 bch_err(c, "Journal stuck! Hava a pre-reservation but journal full (error %s)", in journal_error_check_stuck()
173 bch_err(c, "%s", buf.buf); in journal_error_check_stuck()
177 bch_err(c, "Journal pins:\n%s", buf.buf); in journal_error_check_stuck()
615 bch_err(c, "Journal stuck? Waited for 10 seconds...\n%s", in bch2_journal_res_get_slowpath()
1236 bch_err(c, "error reallocating journal fifo (%llu open entries)", nr); in bch2_fs_journal_start()
A Dtrace.h1428 TP_PROTO(int bch_err, int std_err, unsigned long ip),
1429 TP_ARGS(bch_err, std_err, ip),
1432 __array(char, bch_err, 32 )
1438 strscpy(__entry->bch_err, bch2_err_str(bch_err), sizeof(__entry->bch_err));
1443 TP_printk("%s -> %s %s", __entry->bch_err, __entry->std_err, __entry->ip)
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()
A Dec.c419 bch_err(c, "error allocating memory for gc_stripes, idx %llu", idx); in bch2_trigger_stripe()
1485 bch_err(c, "error creating stripe: error writing data buckets"); in ec_stripe_create()
1493 bch_err(c, "error creating stripe: error reading existing stripe"); in ec_stripe_create()
1518 bch_err(c, "error creating stripe: error writing redundancy buckets"); in ec_stripe_create()
1789 bch_err(c, "insufficient devices available to create stripe (have %u, need %u): %s", in ec_stripe_head_devs_update()
2157 bch_err(c, "cannot create a stripe when disk_label > U8_MAX"); in bch2_ec_stripe_head_get()
2170 bch_err(c, "failed to allocate new stripe"); in bch2_ec_stripe_head_get()
2252 bch_err(trans->c, "trying to invalidate device in stripe when bucket has stripe data"); in bch2_invalidate_stripe_to_dev()
A Dbtree_journal_iter.c216 bch_err(c, "%s: error allocating new key array (size %zu)", in bch2_journal_key_insert_take()
582bch_err(c, "Too many journal keys for slowpath; have %zu compacted, buf size %zu, processed %zu ke… in bch2_journal_keys_sort()
A Dcompress.c235 bch_err(c, "error rewriting existing data: extent too big"); in bch2_bio_uncompress_inplace()
243 bch_err(c, "error rewriting existing data: decompression error"); in bch2_bio_uncompress_inplace()
A Dsubvolume.c47 bch_err(c, "subvolume %llu points to nonexistent snapshot %u", in check_subvol()
659 bch_err(trans->c, "root inode not found"); in __bch2_fs_upgrade_for_subvolumes()
A Dbtree_key_cache.c228 bch_err(c, "error allocating memory for key cache item, btree %s", in btree_key_cache_create()
246 bch_err(trans->c, "error allocating memory for key cache key, btree %s u64s %u", in btree_key_cache_create()
A Dbuckets.c273 bch_err(c, "cannot update btree roots yet"); in bch2_check_fix_ptrs()
340 bch_err(c, "aieee, found stripe ptr with no data ptr"); in bch2_check_fix_ptrs()
676 bch_err(c, "error allocating memory for gc_stripes, idx %llu", in bch2_trigger_stripe_ptr()
A Ddebug.c110 bch_err(c, "verify failed at key %u", j); in bch2_btree_verify_replica()
116 bch_err(c, "written wrong: expected %u, got %u", in bch2_btree_verify_replica()
A Dfs-ioctl.c319 bch_err(c, in bch2_ioc_setlabel()
A Djournal_io.c308 bch_err(c, "corrupt metadata before write: %s\n", _buf.buf);\
1591 bch_err(c, "unable to write journal to sufficient devices"); in CLOSURE_CALLBACK()
1722 bch_err(c, "missing device for journal write\n"); in CLOSURE_CALLBACK()

Completed in 87 milliseconds

12