Home
last modified time | relevance | path

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

12

/fs/bcachefs/
A Derrcode.c55 int __bch2_err_class(int bch_err) in __bch2_err_class() argument
57 int std_err = -bch_err; in __bch2_err_class()
63 trace_error_downcast(bch_err, std_err, _RET_IP_); in __bch2_err_class()
A Dsuper.c751 bch_err(c, "filesystem UUID already open"); in bch2_fs_online()
757 bch_err(c, "error creating character device"); in bch2_fs_online()
774 bch_err(c, "error creating sysfs objects"); in bch2_fs_online()
783 bch_err(c, "error creating sysfs objects"); in bch2_fs_online()
956 bch_err(c, "fs_alloc fault injected"); in bch2_fs_alloc()
1582 bch_err(ca, "cannot online: device too small"); in __bch2_dev_attach_bdev()
1930 bch_err(c, "filesystem UUID already open"); in bch2_dev_add()
2119 bch_err(ca, "Already offline"); in bch2_dev_offline()
2125 bch_err(ca, "Cannot offline required disk"); in bch2_dev_offline()
2158 bch_err(ca, "Cannot shrink yet"); in bch2_dev_resize()
[all …]
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()
A Dbtree_node_scan.c211 bch_err(c, "try_read_btree_node() can't handle endian conversion"); in try_read_btree_node()
234 bch_err(c, "read_btree_nodes_worker: error allocating buf"); in read_btree_nodes_worker()
241 bch_err(c, "read_btree_nodes_worker: error allocating bio"); 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()
A Djournal.c181 bch_err(c, "Journal pins:\n%s", buf.buf); in journal_error_check_stuck()
298 bch_err(c, "%s", err.buf); in __journal_entry_close()
419 bch_err(c, "cannot start: journal seq overflow"); in journal_entry_open()
421 bch_err(c, "fatal error - emergency read only"); in journal_entry_open()
463 bch_err(c, "attempting to open blacklisted journal seq %llu", in journal_entry_open()
466 bch_err(c, "fatal error - emergency read only"); in journal_entry_open()
1321 bch_err(ca, "journal bucket %llu not found when deleting", b); in bch2_dev_journal_bucket_delete()
1376 bch_err(c, "cannot allocate journal, filesystem is an unresized image file"); in bch2_dev_journal_alloc()
1494 bch_err(c, "cannot start: journal seq overflow"); in bch2_fs_journal_start()
1515 bch_err(c, "error reallocating journal fifo (%llu open entries)", nr); in bch2_fs_journal_start()
A Derror.c52 bch_err(c, "%s", buf.buf); in bch2_inconsistent_error()
131 bch_err(c, "fatal error - emergency read only"); in bch2_fatal_error()
289 bch_err(c, "kmalloc err, cannot ratelimit fsck errs"); in fsck_err_get()
712 bch_err(c, "Saw %llu errors like:\n %s", s->nr, s->last_msg); in __bch2_flush_fsck_errs()
A Dtrace.h205 TP_PROTO(struct bch_fs *c, int bch_err, unsigned long ip),
206 TP_ARGS(c, bch_err, ip),
217 __entry->err = bch_err;
218 strscpy(__entry->err_str, bch2_err_str(bch_err), sizeof(__entry->err_str));
227 TP_PROTO(int bch_err, int std_err, unsigned long ip),
228 TP_ARGS(bch_err, std_err, ip),
231 __array(char, bch_err, 32 )
237 strscpy(__entry->bch_err, bch2_err_str(bch_err), sizeof(__entry->bch_err));
243 __entry->bch_err, __entry->std_err, __entry->ip)
A Dsnapshot.h182 bch_err(c, "error reallocating snapshot_id_list (size %zu)", s->size); in snapshot_list_add()
192 bch_err(c, "error reallocating snapshot_id_list (size %zu)", s->size); in snapshot_list_add_nodup()
A Drecovery.c287 bch_err(c, "have key in journal replay for btree depth that does not exist, confused\n%s", in bch2_journal_replay_key()
750 bch_err(c, "feature new_extent_overwrite not set, filesystem no longer supported"); in bch2_fs_recovery()
757bch_err(c, "filesystem needs recovery from older version; run fsck from older bcachefs-tools to fi… in bch2_fs_recovery()
849 bch_err(c, "error initializing blacklist table"); in bch2_fs_recovery()
923 bch_err(c, "no superblock clean section found"); in bch2_fs_recovery()
1057 bch_err(c, "Second fsck run was not clean"); in bch2_fs_recovery()
A Dsnapshot.c726 bch_err(c, "snapshot with nonexistent parent:\n %s", in check_snapshot()
733 bch_err(c, "snapshot parent %u missing pointer to child %llu", in check_snapshot()
745 bch_err(c, "snapshot node %llu has nonexistent child %u", in check_snapshot()
751 bch_err(c, "snapshot child %u has wrong parent (got %u should be %llu)", in check_snapshot()
765 bch_err(c, "snapshot points to nonexistent subvolume:\n %s", in check_snapshot()
771 bch_err(c, "snapshot node %llu has wrong BCH_SNAPSHOT_SUBVOL", in check_snapshot()
1012 bch_err(c, "cannot reconstruct snapshot trees with multiple nodes"); in bch2_reconstruct_snapshots()
1356 bch_err(trans->c, "snapshot %u not found", parent); in bch2_snapshot_node_create_children()
1361 bch_err(trans->c, "Trying to add child snapshot nodes to parent that already has children"); in bch2_snapshot_node_create_children()
1716 bch_err(c, "error finding live child of snapshot %u", n.id); in check_should_delete_snapshot()
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));
A Dfsck.c233 bch_err(c, "error looking up lost+found: not a directory"); in lookup_lostfound()
568 bch_err(c, "need to reconstruct subvol, but have interior node snapshot"); in reconstruct_subvol()
703 bch_err(c, "error reallocating snapshots_seen table (size %zu)", in snapshots_seen_add_inorder()
1011 bch_err(trans->c, "%s does not support DT_SUBVOL", __func__); in bch2_fsck_update_backpointers()
1737 bch_err(c, "%s: error finding seconding overlapping extent when repairing%s", in overlapping_extents_found()
1854 bch_err(c, "overbig encoded extent, please report this:\n %s", buf.buf); in check_extent_overbig()
2147 bch_err(c, "could not find a subvol for snapshot %u", d.k->p.snapshot); in check_dirent_to_subvol()
2438 bch_err(c, "dirents not repairing"); in bch2_check_dirents()
2747 bch_err(c, "unreachable inode in check_directory_structure: %s\n%s", in check_path_loop()
2868 bch_err(c, "fsck: error allocating memory for nlink_table, size %zu", in add_nlink()
[all …]
A Dbcachefs.h343 #define bch_err(c, fmt, ...) \ macro
373 bch_err(_c, "%s(): error %s", __func__, bch2_err_str(_ret));\
385 bch_err(_c, "%s(): error " _msg " %s", __func__, \
A Dec.c430 bch_err(c, "error allocating memory for gc_stripes, idx %llu", idx); in bch2_trigger_stripe()
1314 bch_err(c, "error creating stripe: error writing data buckets"); in ec_stripe_create()
1323 bch_err(c, "error creating stripe: error reading existing stripe"); in ec_stripe_create()
1349 bch_err(c, "error creating stripe: error writing redundancy buckets"); in ec_stripe_create()
1620 bch_err(c, "insufficient devices available to create stripe (have %u, need %u): %s", in ec_stripe_head_devs_update()
2013 bch_err(c, "cannot create a stripe when disk_label > U8_MAX"); in bch2_ec_stripe_head_get()
2029 bch_err(c, "failed to allocate new stripe"); in bch2_ec_stripe_head_get()
2183 bch_err(c, "trying to invalidate device in stripe when bucket has stripe data"); in bch2_invalidate_stripe_to_dev_from_alloc()
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()
853 bch_err(c, "insufficient devices online (%u) for replicas entry %s", in bch2_have_enough_devs()
A Derror.h195 bch_err(c, "%s(): fatal error " _msg, __func__, ##__VA_ARGS__); \
A Dbtree_journal_iter.c303 bch_err(c, "%s: error allocating new key array (size %zu)", in bch2_journal_key_insert_take()
764bch_err(c, "Too many journal keys for slowpath; have %zu compacted, buf size %zu, processed %zu ke… in bch2_journal_keys_sort()
A Dbtree_key_cache.c239 bch_err(c, "error allocating memory for key cache item, btree %s", in btree_key_cache_create()
257 bch_err(trans->c, "error allocating memory for key cache key, btree %s u64s %u", in btree_key_cache_create()
A Dbackpointers.c147 bch_err(c, "%s", buf.buf); in backpointer_mod_err()
612 bch_err(c, "%s", buf.buf); in check_bp_exists()
653 bch_err(c, "%s", buf.buf); in check_bp_exists()
A Dfs-ioctl.c145 bch_err(c, in bch2_ioc_setlabel()
A Dbuckets.c226 bch_err(c, "btree and superblock in the same bucket - cannot repair"); in bch2_check_fix_ptr()
355 bch_err(c, "aieee, found stripe ptr with no data ptr"); in bch2_check_fix_ptrs()
732 bch_err(c, "error allocating memory for gc_stripes, idx %llu", in bch2_trigger_stripe_ptr()
A Ddebug.c116 bch_err(c, "verify failed at key %u", j); in bch2_btree_verify_replica()
122 bch_err(c, "written wrong: expected %u, got %u", in bch2_btree_verify_replica()
A Drecovery_passes.c129 bch_err(c, "error creating recovery_passes sb section"); in bch2_sb_recovery_pass_entry()
A Dsb-members.c570 bch_err(c, "unable to allocate new member, but have %u deleted: run fsck", in bch2_sb_member_alloc()
A Dchardev.c297 bch_err(c, "Error setting device state: %s", bch2_err_str(ret)); in bch2_ioctl_disk_set_state()

Completed in 59 milliseconds

12