bcachefs: Also print out in-memory gen on stale dirty pointer
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 13 Feb 2022 23:15:35 +0000 (18:15 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:22 +0000 (17:09 -0400)
commitf443fa66c98f012412b677afc4f7096ed24108de
tree14c37a47b3301d9af474cb6be3b9f83ad1cee252
parent8f11548edbccc316939dddf7a52d0aa8151a5ba6
bcachefs: Also print out in-memory gen on stale dirty pointer

We're trying to track down a bug that shows itself as newly-created
extents having stale dirty pointers - possibly due to the in memory gen
and the btree gen being inconsistent. This patch changes the error
message to also print out the in memory bucket gen when this happens.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/buckets.c