summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-07-21 23:41:50 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-07-22 12:01:40 -0400
commit3b26e8858358ecbeaacd196df4e1bfad13e94d1a (patch)
tree2d0befb7c7ffd3bf999c48778d7a632cf57d0475 /fs/bcachefs/super.c
parent00542928c7baef16d26256b3febf96d5bf349c35 (diff)
bcachefs: Fix write buffer flushing from open journal entrybcachefs-for-upstream
When flushing the btree write buffer, we pull write buffer keys directly from the journal instead of letting the journal write path copy them to the write buffer. When flushing from the currently open journal buffer, we have to block new reservations and wait for outstanding reservations to complete. Recheck the reservation state after blocking new reservations: previously, we were checking the reservation count from before calling __journal_block(). Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super.c')
0 files changed, 0 insertions, 0 deletions