diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-11-14 12:29:21 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:49 -0400 |
commit | b6df4325cd914d988e5b96016f64b879058d0bc6 (patch) | |
tree | 1853abf0680825c2cd76b7d12cde294d47f89695 /fs/bcachefs/journal_reclaim.h | |
parent | ebb84d094141eac9ee3e22d95abc9792a1c79eca (diff) |
bcachefs: Improve journal free space calculations
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_reclaim.h')
-rw-r--r-- | fs/bcachefs/journal_reclaim.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/bcachefs/journal_reclaim.h b/fs/bcachefs/journal_reclaim.h index b0f05839396d..f02caa3d49ea 100644 --- a/fs/bcachefs/journal_reclaim.h +++ b/fs/bcachefs/journal_reclaim.h @@ -4,12 +4,6 @@ #define JOURNAL_PIN (32 * 1024) -enum journal_space_from { - journal_space_discarded, - journal_space_clean_ondisk, - journal_space_clean, -}; - static inline void journal_reclaim_kick(struct journal *j) { struct task_struct *p = READ_ONCE(j->reclaim_thread); |