summaryrefslogtreecommitdiff
path: root/fs/bcachefs/checksum.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-01-20 19:42:38 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2020-06-09 21:32:40 -0400
commit8466e7550a96fa53a0380700456af1e9ee20ae23 (patch)
treea0130e0819b0a4b1e163884f4c26fc3641a268d6 /fs/bcachefs/checksum.c
parent75f17f6fe9b0e83f8203a459c28ff290731152ac (diff)
bcachefs: Refactor rebalance_pred function
Before, the logic for if we should move an extent was duplicated somewhat, in both rebalance_add_key() and rebalance_pred(); this centralizes that in __rebalance_pred() This is prep work for a patch that enables marking data as incompressible. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/checksum.c')
0 files changed, 0 insertions, 0 deletions