Files
linux/fs
Kent Overstreet 183bcc89b8 bcachefs: Clean up btree write buffer write ref handling
__bch2_btree_write_buffer_flush() now assumes a write ref is already
held (as called by the transaction commit path); and the wrappers
bch2_write_buffer_flush() and flush_sync() take an explicit write ref.

This means internally the write buffer code can always use
BTREE_INSERT_NOCHECK_RW, instead of in the previous code passing flags
around and hoping the NOCHECK_RW flag was always carried around
correctly.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-01 11:47:39 -05:00
..
2023-11-03 22:24:11 +09:00
2023-08-31 12:07:34 -05:00
2023-12-13 11:14:09 -05:00
2023-05-17 09:16:59 +02:00
2023-08-21 13:46:25 -07:00
2023-10-19 11:02:47 +02:00
2023-08-19 12:12:12 +02:00
2023-10-22 17:08:07 -04:00
2023-05-19 04:30:22 +02:00
2023-05-19 04:30:22 +02:00
2023-08-15 08:32:45 +02:00