summaryrefslogtreecommitdiff
path: root/libbcachefs/buckets.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-10-23 17:39:22 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2022-10-23 18:24:08 -0400
commitae43a58d97fc00e31770142da832fb8a249808eb (patch)
tree95c8fced05f8054eb135b309417415dfa3e5eb18 /libbcachefs/buckets.c
parent188b6d0c8ef1c02462a744b176557c27220112c9 (diff)
Update bcachefs sources to 70fa0c1ff4 fixup! bcachefs: Btree key cache improvements
Diffstat (limited to 'libbcachefs/buckets.c')
-rw-r--r--libbcachefs/buckets.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libbcachefs/buckets.c b/libbcachefs/buckets.c
index 116711fc..cd297941 100644
--- a/libbcachefs/buckets.c
+++ b/libbcachefs/buckets.c
@@ -575,7 +575,8 @@ int bch2_mark_alloc(struct btree_trans *trans,
-((s64) old_a.cached_sectors),
journal_seq, gc);
if (ret) {
- bch2_fs_fatal_error(c, "bch2_mark_alloc(): no replicas entry while updating cached sectors");
+ bch2_fs_fatal_error(c, "%s(): no replicas entry while updating cached sectors",
+ __func__);
return ret;
}
}
@@ -959,7 +960,8 @@ int bch2_mark_extent(struct btree_trans *trans,
ret = update_cached_sectors(c, k, p.ptr.dev,
disk_sectors, journal_seq, true);
if (ret) {
- bch2_fs_fatal_error(c, "bch2_mark_extent(): no replicas entry while updating cached sectors");
+ bch2_fs_fatal_error(c, "%s(): no replicas entry while updating cached sectors",
+ __func__);
return ret;
}
}
@@ -987,7 +989,7 @@ int bch2_mark_extent(struct btree_trans *trans,
struct printbuf buf = PRINTBUF;
bch2_bkey_val_to_text(&buf, c, k);
- bch2_fs_fatal_error(c, "no replicas entry for %s", buf.buf);
+ bch2_fs_fatal_error(c, "%s(): no replicas entry for %s", __func__, buf.buf);
printbuf_exit(&buf);
return ret;
}