diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-11-07 21:48:33 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-11-07 23:31:11 -0500 |
commit | ca43f73cd1720e3b0b9c49deec1a13c89c0ca1e8 (patch) | |
tree | f0e13ae59746442fb545ccd3af6e4b025a008c43 /fs/hfs/brec.c | |
parent | 8440da933127fc5330c3d1090cdd612fddbc40eb (diff) |
bcachefs: bch2_btree_write_buffer_flush_going_ro()
The write buffer needs to be specifically flushed when going RO: keys in
the journal that haven't yet been moved to the write buffer don't have a
journal pin yet.
This fixes numerous syzbot bugs, all with symptoms of still doing writes
after we've got RO.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/hfs/brec.c')
0 files changed, 0 insertions, 0 deletions