bcachefs: Rework triggers interface
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 6 Jul 2020 23:16:25 +0000 (19:16 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:42 +0000 (17:08 -0400)
commite63534a20117e937b3712acaedb98f208ff6b862
tree985e0806bca5a68f3e102544f366582908a25434
parent697e45b230d5523c5c119b1e6a868632def24451
bcachefs: Rework triggers interface

The trigger for stripe keys is shortly going to need both the old and
the new key passed to the trigger - this patch does that rework.

For now, this just changes the in memory triggers, and this doesn't
change how extent triggers work.

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