diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-05 03:15:46 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:26 +0300 |
commit | ee68105f619b90ef7daef9f9ebab1270209d6151 (patch) | |
tree | c3d41aebe7e1c0b83711b113d17f1780c48cfb6c /fs/bcachefs/btree_cache.c | |
parent | 05a49d22750ec4977b52c9da09039a931c0f2644 (diff) | |
download | linux-ee68105f619b90ef7daef9f9ebab1270209d6151.tar.xz |
bcachefs: Simplify parameters to bch2_btree_update_start()
We don't need to pass the number of nodes required to
bch2_btree_update_start, just whether we're doing a split at @level.
This is prep work for a fix to our usage of six lock's percpu mode,
which is going to require us to count up and allocate interior nodes and
leaf nodes seperately.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_cache.c')
0 files changed, 0 insertions, 0 deletions