diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-03 04:01:25 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-05 21:12:18 +0300 |
commit | 80396a47490936f73729548310ad60e9f5df61c9 (patch) | |
tree | 5bcbb044a9a336e8e8f20e83447d1ee3c6c6e029 /fs/bcachefs/sb-clean.c | |
parent | a973de85e3976f3418f35cf82112190fac2eeddb (diff) | |
download | linux-80396a47490936f73729548310ad60e9f5df61c9.tar.xz |
bcachefs: Break up bch2_journal_write()
Split up bch2_journal_write() to simplify locking:
- bch2_journal_write_pick_flush(), which needs j->lock
- bch2_journal_write_prep, which operates on the journal buffer to be
written and will need the upcoming buf_lock for synchronization with
the btree write buffer flush path
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/sb-clean.c')
0 files changed, 0 insertions, 0 deletions