diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-07 04:45:46 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-07 09:22:28 +0300 |
commit | 30e615a2ce6601d85729caefd8ac15634f848e59 (patch) | |
tree | 7e12327a16212e0846f07917fdc9d86ad8711d23 /fs/bcachefs/mean_and_variance.c | |
parent | 2d793e9315e335ef299024fe8bf7742c9c974b33 (diff) | |
download | linux-30e615a2ce6601d85729caefd8ac15634f848e59.tar.xz |
bcachefs: Fix gap buffer bug in bch2_journal_key_insert_take()
Multiple bug fixes for journal iters:
- When the journal keys gap buffer is resized, we have to adjust the
iterators for moving the gap to the end
- We don't want to rewind iterators to point to the key we just
inserted if it's not for the correct btree/level
Also, add some new assertions.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/mean_and_variance.c')
0 files changed, 0 insertions, 0 deletions