diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-01 22:51:51 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:49 -0400 |
commit | adf6360b5d6071ea268fa6f5f03befba4909ffaa (patch) | |
tree | 5b9a65159e4494ee463b1c5ee8118991215e7f70 /fs/bcachefs/btree_update_interior.c | |
parent | db36c1477d1753f4d5bebaed074ca4e4477df3ea (diff) | |
download | linux-adf6360b5d6071ea268fa6f5f03befba4909ffaa.tar.gz linux-adf6360b5d6071ea268fa6f5f03befba4909ffaa.tar.bz2 linux-adf6360b5d6071ea268fa6f5f03befba4909ffaa.zip |
bcachefs: Improve btree_reserve_get_fail tracepoint
Now we include the return code.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update_interior.c')
-rw-r--r-- | fs/bcachefs/btree_update_interior.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_update_interior.c b/fs/bcachefs/btree_update_interior.c index d2e785b9c835..566838317845 100644 --- a/fs/bcachefs/btree_update_interior.c +++ b/fs/bcachefs/btree_update_interior.c @@ -1167,7 +1167,8 @@ bch2_btree_update_start(struct btree_trans *trans, struct btree_path *path, } if (ret) { - trace_and_count(c, btree_reserve_get_fail, trans->fn, _RET_IP_, nr_nodes[0] + nr_nodes[1]); + trace_and_count(c, btree_reserve_get_fail, trans->fn, + _RET_IP_, nr_nodes[0] + nr_nodes[1], ret); goto err; } |