bcachefs: rebalance shouldn't attempt to compress unwritten extents
authorDaniel Hill <daniel@gluo.nz>
Wed, 6 Dec 2023 08:26:00 +0000 (21:26 +1300)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 6 Dec 2023 22:43:21 +0000 (17:43 -0500)
commite59728883943c6820a0aa413db66a38f2e8c27bd
tree679df0a84118ac35c49923adb80e73788ec82eae
parent5796230582f6131fa217f0a1700783c459c847d2
bcachefs: rebalance shouldn't attempt to compress unwritten extents

This fixes a bug where rebalance would loop repeatedly on the same
extents.

Signed-off-by: Daniel Hill <daniel@gluo.nz>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/extents.c