summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/alloc_background.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-01-22 23:56:34 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:52 +0200
commitbfcf840ddf0697f991f2591b56a9f1969accbd23 (patch)
tree303ed1508ca0a86441527a468074ea67ea7a4d43 /fs/bcachefs/alloc_background.h
parentbcachefs: Kill bch2_invalidate_bucket() (diff)
downloadlinux-bfcf840ddf0697f991f2591b56a9f1969accbd23.tar.xz
linux-bfcf840ddf0697f991f2591b56a9f1969accbd23.zip
bcachefs: Mark superblocks transactionally
More work towards getting rid of the in memory struct bucket: this path adds code for marking superblock and journal buckets via the btree, and uses it in the device add and journal resize paths. 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')
-rw-r--r--fs/bcachefs/alloc_background.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_background.h b/fs/bcachefs/alloc_background.h
index d10ff56e4de1..f60fcebff2ce 100644
--- a/fs/bcachefs/alloc_background.h
+++ b/fs/bcachefs/alloc_background.h
@@ -98,7 +98,6 @@ void bch2_dev_allocator_quiesce(struct bch_fs *, struct bch_dev *);
void bch2_dev_allocator_stop(struct bch_dev *);
int bch2_dev_allocator_start(struct bch_dev *);
-int bch2_dev_alloc_write(struct bch_fs *, struct bch_dev *, unsigned);
int bch2_alloc_write(struct bch_fs *, unsigned);
void bch2_fs_allocator_background_init(struct bch_fs *);