bcachefs: Don't strip rebalance_opts from indirect extents
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 10 May 2025 15:30:21 +0000 (11:30 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 14 May 2025 21:05:19 +0000 (17:05 -0400)
commitcd52cc3544e400e53e6d4b7bfc5263e7a867b5ab
tree71a1c8c6faa9c8523a6f38b165352bfbd031319d
parent8e4d28036c293241b312b1fceafb32b994f80fcc
bcachefs: Don't strip rebalance_opts from indirect extents

Fix bch2_bkey_clear_needs_rebalance(): indirect extents are never
supposed to have bch_extent_rebalance stripped off, because that's how
we get the IO path options when we don't have the original inode it
belonged to.

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