diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-12-06 00:25:05 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:49 +0300 |
commit | 5d32c5bb076e76232e56fd44c537046abd54d32c (patch) | |
tree | a5df7839b857d7510fc23db234dea7a854d21177 /fs/bcachefs/btree_key_cache.h | |
parent | adbcada43fa79197224b5a522b1faaf222b43bcd (diff) | |
download | linux-5d32c5bb076e76232e56fd44c537046abd54d32c.tar.xz |
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/bcachefs/btree_key_cache.h')
0 files changed, 0 insertions, 0 deletions