diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-01-21 03:42:38 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:34 +0300 |
commit | 182084e3dc5f55de12f0184ddd6243f64b6cd87b (patch) | |
tree | 0981a2a9cfe019ee4de8830e48f780eabe744f8e /crypto/dh.c | |
parent | 65d9f536fa3e8ad302798194b85d18632ed329b9 (diff) | |
download | linux-182084e3dc5f55de12f0184ddd6243f64b6cd87b.tar.xz |
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>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'crypto/dh.c')
0 files changed, 0 insertions, 0 deletions