diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-05 05:54:26 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-15 07:44:43 +0300 |
commit | 006ccc3090e2f30f5f97857f3946312692a5279e (patch) | |
tree | feec9949b369a1f70b4a933f26730e6636e8c0e7 /fs/bcachefs/btree_update_interior.h | |
parent | 701ff57eb3d7c86c9a53de959e0c48fa8ca446d4 (diff) | |
download | linux-006ccc3090e2f30f5f97857f3946312692a5279e.tar.xz |
bcachefs: Kill journal pre-reservations
This deletes the complicated and somewhat expensive journal
pre-reservation machinery in favor of just using journal watermarks:
when the journal is more than half full, we run journal reclaim more
aggressively, and when the journal is more than 3/4s full we only allow
journal reclaim to get new journal reservations.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update_interior.h')
-rw-r--r-- | fs/bcachefs/btree_update_interior.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_update_interior.h b/fs/bcachefs/btree_update_interior.h index 4df21512d640..031076e75fa1 100644 --- a/fs/bcachefs/btree_update_interior.h +++ b/fs/bcachefs/btree_update_interior.h @@ -55,7 +55,6 @@ struct btree_update { unsigned update_level; struct disk_reservation disk_res; - struct journal_preres journal_preres; /* * BTREE_INTERIOR_UPDATING_NODE: |