diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-01-20 19:42:38 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2020-06-09 21:32:40 -0400 |
commit | 8466e7550a96fa53a0380700456af1e9ee20ae23 (patch) | |
tree | a0130e0819b0a4b1e163884f4c26fc3641a268d6 /fs/bcachefs/checksum.c | |
parent | 75f17f6fe9b0e83f8203a459c28ff290731152ac (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