summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/move.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-12-05 05:07:33 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:09:18 +0200
commit990d42d1873c16b6080c887f6bb27e56c0f885cf (patch)
treea638e00b4d0337d74f26304fbc23d9a294f4fff7 /fs/bcachefs/move.c
parentbcachefs: Convert a BUG_ON() to a warning (diff)
downloadlinux-990d42d1873c16b6080c887f6bb27e56c0f885cf.tar.xz
linux-990d42d1873c16b6080c887f6bb27e56c0f885cf.zip
bcachefs: Split out struct gc_stripe from struct stripe
We have two radix trees of stripes - one that mirrors some information from the stripes btree in normal operation, and another that GC uses to recalculate block usage counts. The normal one is now only used for finding partially empty stripes in order to reuse them - the normal stripes radix tree and the GC stripes radix tree are used significantly differently, so this patch splits them into separate types. In an upcoming patch we'll be replacing c->stripes with a btree that indexes stripes by the order we want to reuse them. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions