bcachefs: Don't flush journal after replay
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 10 Nov 2023 04:43:35 +0000 (23:43 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:37 +0000 (11:47 -0500)
commitb27d7afb791715f4017f94c58168676c76398986
tree613d72e81ced64652f03b1df6a5f590cd8cffb1b
parentb4b79b076445308389781a94934f411cb3e79c79
bcachefs: Don't flush journal after replay

The flush_all_pins() after journal replay was unecessary, and trying to
completely flush the journal while RW is not a great idea - it's not
guaranteed to terminate if other threads keep adding things to the
jorunal.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/recovery.c