]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Refactor new stripe path to reduce dependencies on ec_stripe_head
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 1 Sep 2024 18:57:26 +0000 (14:57 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:15 +0000 (01:36 -0500)
commitd55d4a0ca27adea2e6bb404eb9b65a19036dd047
tree170bc402d06f0406c26ea24b05e52997027130dc
parentdb514cf6775fa58b45780969e407f678e0a5132c
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>
fs/bcachefs/ec.c