mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
bcachefs: Refactor new stripe path to reduce dependencies on ec_stripe_head
We need to add a path for reshaping existing stripes (for e.g. device removal), and this new path won't necessarily use ec_stripe_head. Refactor the code to avoid unnecessary references to it for clarity. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
db514cf677
commit
d55d4a0ca2
1 changed files with 104 additions and 92 deletions
204
fs/bcachefs/ec.c
204
fs/bcachefs/ec.c
Loading…
Add table
Add a link
Reference in a new issue