]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Initialize gc buckets in alloc trigger
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 29 May 2024 22:54:39 +0000 (18:54 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Jul 2024 23:00:14 +0000 (19:00 -0400)
commit38ad9dc8c6194413a468f1eb288836b6c2783c6f
tree38f913074a21ec09f5816201c0dc28c1dd92bee2
parent9ab55df5991eb967f6b94f8e1b855ffacdc50668
bcachefs: Initialize gc buckets in alloc trigger

Needed for online fsck; we need the trigger to initialize newly
allocated buckets and generation number changes while gc is running.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.c
fs/bcachefs/btree_gc.c