diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-11-14 20:29:21 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:49 +0300 |
commit | b6df4325cd914d988e5b96016f64b879058d0bc6 (patch) | |
tree | 1853abf0680825c2cd76b7d12cde294d47f89695 /fs/bcachefs/journal_reclaim.h | |
parent | ebb84d094141eac9ee3e22d95abc9792a1c79eca (diff) | |
download | linux-b6df4325cd914d988e5b96016f64b879058d0bc6.tar.xz |
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); |