mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 06:18:45 -04:00
bcachefs: fix initial gc
Buckets weren't being marked as dirty Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
committed by
Kent Overstreet
parent
6543f5620d
commit
ccaa61c9f6
@@ -559,12 +559,6 @@ static void bch2_gc_done(struct bch_fs *c, bool initial)
|
||||
struct bucket_array *src = __bucket_array(ca, 1);
|
||||
size_t b;
|
||||
|
||||
if (initial) {
|
||||
memcpy(dst, src,
|
||||
sizeof(struct bucket_array) +
|
||||
sizeof(struct bucket) * dst->nbuckets);
|
||||
}
|
||||
|
||||
for (b = 0; b < src->nbuckets; b++) {
|
||||
copy_bucket_field(gen);
|
||||
copy_bucket_field(data_type);
|
||||
|
||||
Reference in New Issue
Block a user