diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-04-03 21:31:02 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:59 -0400 |
commit | 671cc8a51b019b49a8538aceaaa5e770c1694c1b (patch) | |
tree | 712f2a3ec1ecb449caa883416e04fb1dfd8cd03d /fs/bcachefs/journal_types.h | |
parent | 08e337618f67abb9be1ff4b022a14e8721c5def2 (diff) | |
download | linux-stable-671cc8a51b019b49a8538aceaaa5e770c1694c1b.tar.gz linux-stable-671cc8a51b019b49a8538aceaaa5e770c1694c1b.tar.bz2 linux-stable-671cc8a51b019b49a8538aceaaa5e770c1694c1b.zip |
bcachefs: Eliminate memory barrier from fast path of journal_preres_put()
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/bcachefs/journal_types.h b/fs/bcachefs/journal_types.h index ec3c604cdf22..97d764370b89 100644 --- a/fs/bcachefs/journal_types.h +++ b/fs/bcachefs/journal_types.h @@ -105,8 +105,9 @@ union journal_preres_state { }; struct { - u32 reserved; - u32 remaining; + u64 waiting:1, + reserved:31, + remaining:32; }; }; |