diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-03 18:39:07 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:17 -0400 |
commit | 2384db8f32a2df9e71cd3003d213b48f64cbde1e (patch) | |
tree | d99a0826ca17f3063c647139693793f8f4c5a6d4 /fs/bcachefs/journal_types.h | |
parent | 0ce2dbbe9915af85b2ebafe6dfeca6813ba5e13c (diff) | |
download | linux-2384db8f32a2df9e71cd3003d213b48f64cbde1e.tar.gz linux-2384db8f32a2df9e71cd3003d213b48f64cbde1e.tar.bz2 linux-2384db8f32a2df9e71cd3003d213b48f64cbde1e.zip |
bcachefs: Separate discards from rest of journal reclaim
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_types.h')
-rw-r--r-- | fs/bcachefs/journal_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/journal_types.h b/fs/bcachefs/journal_types.h index 09b2d2223033..c91a21e07809 100644 --- a/fs/bcachefs/journal_types.h +++ b/fs/bcachefs/journal_types.h @@ -210,6 +210,8 @@ struct journal { /* protects advancing ja->discard_idx: */ struct mutex discard_lock; + bool can_discard; + unsigned write_delay_ms; unsigned reclaim_delay_ms; |