bcachefs: Improve bucket_alloc tracepoint
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 26 Sep 2022 22:18:00 +0000 (18:18 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:42 +0000 (17:09 -0400)
commit68b6cd194ab23d0696a9d7adb024eabca95d4920
tree793c109e27ad1f9b247732ce13a85fb01b330d0e
parentc298fd7d346f5a7c55c4f1d01f97fbd39da9ff53
bcachefs: Improve bucket_alloc tracepoint

It now includes more info - whether the bucket was for metadata or data
- and also call it in the same place as the bucket_alloc_fail
tracepoint.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_foreground.c
fs/bcachefs/trace.h