diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-12-05 16:25:05 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:49 -0400 |
commit | 5d32c5bb076e76232e56fd44c537046abd54d32c (patch) | |
tree | a5df7839b857d7510fc23db234dea7a854d21177 /fs/ocfs2/move_extents.h | |
parent | bcachefs: Don't require flush/fua on every journal write (diff) | |
download | linux-5d32c5bb076e76232e56fd44c537046abd54d32c.tar.gz linux-5d32c5bb076e76232e56fd44c537046abd54d32c.tar.bz2 linux-5d32c5bb076e76232e56fd44c537046abd54d32c.zip |
bcachefs: Be more conservation about journal pre-reservations
- Try to always keep 1/8th of the journal free, on top of
pre-reservations
- Move the check for whether the journal is stuck to
bch2_journal_space_available, and make it only fire when there aren't
any journal writes in flight (that might free up space by updating
last_seq)
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/ocfs2/move_extents.h')
0 files changed, 0 insertions, 0 deletions