diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-01-23 00:19:15 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:52 +0200 |
commit | 9afc6652d14ac83ef9c5ce3544becad22ea50baa (patch) | |
tree | 4d4f2b5b07a625eca807bbb7b36e3f527cf9c34e /fs/bcachefs/alloc_background.h | |
parent | bcachefs: Refactor dev usage (diff) | |
download | linux-9afc6652d14ac83ef9c5ce3544becad22ea50baa.tar.xz linux-9afc6652d14ac83ef9c5ce3544becad22ea50baa.zip |
bcachefs: Kill bch2_invalidate_bucket()
This patch is working towards eventually getting rid of the in memory
struct bucket, and relying only on the btree representation.
Since bch2_invalidate_bucket() was only used for incrementing gens, not
invalidating cached data, no other counters were being changed as a side
effect - meaning it's safe for the allocator code to increment the
bucket gen directly.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_background.h')
0 files changed, 0 insertions, 0 deletions