diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-04-06 15:33:19 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:59 -0400 |
commit | 2177147b39098e6f08b3d8d45bbcf7dedd7ebdad (patch) | |
tree | 886102507f7859ac07630f897a8a1f31f1fb590a /fs/bcachefs/btree_io.h | |
parent | 241e26369e1267be376490152ee2c52021b4321a (diff) | |
download | lwn-2177147b39098e6f08b3d8d45bbcf7dedd7ebdad.tar.gz lwn-2177147b39098e6f08b3d8d45bbcf7dedd7ebdad.zip |
bcachefs: Improve bset compaction
The previous patch that fixed btree nodes being written too aggressively
now meant that we weren't sorting btree node bsets optimally - this
patch fixes that.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_io.h')
-rw-r--r-- | fs/bcachefs/btree_io.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/btree_io.h b/fs/bcachefs/btree_io.h index 9c14cd30a09e..95c351611045 100644 --- a/fs/bcachefs/btree_io.h +++ b/fs/bcachefs/btree_io.h @@ -144,8 +144,7 @@ void bch2_btree_complete_write(struct bch_fs *, struct btree *, struct btree_write *); void bch2_btree_write_error_work(struct work_struct *); -void __bch2_btree_node_write(struct bch_fs *, struct btree *, - enum six_lock_type); +void __bch2_btree_node_write(struct bch_fs *, struct btree *); bool bch2_btree_post_write_cleanup(struct bch_fs *, struct btree *); void bch2_btree_node_write(struct bch_fs *, struct btree *, |