diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-12-27 23:10:06 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:21 -0400 |
commit | d8601afca840d36203d0cf2da94ce4f92003956e (patch) | |
tree | 77291db56c593cd0413c3827fc61aabb506db99c /fs/bcachefs/journal_types.h | |
parent | 8e432d98a5011de5b1304fa9c8591588bea59b96 (diff) | |
download | linux-stable-d8601afca840d36203d0cf2da94ce4f92003956e.tar.gz linux-stable-d8601afca840d36203d0cf2da94ce4f92003956e.tar.bz2 linux-stable-d8601afca840d36203d0cf2da94ce4f92003956e.zip |
bcachefs: Simplify journal replay
With BTREE_ITER_WITH_JOURNAL, there's no longer any restrictions on the
order we have to replay keys from the journal in, and we can also start
up journal reclaim right away - and delete a bunch of code.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/journal_types.h')
-rw-r--r-- | fs/bcachefs/journal_types.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/journal_types.h b/fs/bcachefs/journal_types.h index 0c4df603280d..73e7fbc4f109 100644 --- a/fs/bcachefs/journal_types.h +++ b/fs/bcachefs/journal_types.h @@ -148,7 +148,6 @@ enum journal_space_from { enum { JOURNAL_REPLAY_DONE, JOURNAL_STARTED, - JOURNAL_RECLAIM_STARTED, JOURNAL_NEED_WRITE, JOURNAL_MAY_GET_UNRESERVED, JOURNAL_MAY_SKIP_FLUSH, |