diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-04 22:54:26 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-14 23:44:43 -0500 |
commit | 006ccc3090e2f30f5f97857f3946312692a5279e (patch) | |
tree | feec9949b369a1f70b4a933f26730e6636e8c0e7 /fs/bcachefs/btree_update_interior.h | |
parent | 701ff57eb3d7c86c9a53de959e0c48fa8ca446d4 (diff) | |
download | linux-stable-006ccc3090e2f30f5f97857f3946312692a5279e.tar.gz linux-stable-006ccc3090e2f30f5f97857f3946312692a5279e.tar.bz2 linux-stable-006ccc3090e2f30f5f97857f3946312692a5279e.zip |
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: |