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.c | |
parent | 08e337618f67abb9be1ff4b022a14e8721c5def2 (diff) |
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.c')
-rw-r--r-- | fs/bcachefs/journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/journal.c b/fs/bcachefs/journal.c index bce056cb6841..35a48629b63b 100644 --- a/fs/bcachefs/journal.c +++ b/fs/bcachefs/journal.c @@ -520,7 +520,7 @@ static bool journal_preres_available(struct journal *j, unsigned new_u64s, unsigned flags) { - bool ret = bch2_journal_preres_get_fast(j, res, new_u64s, flags); + bool ret = bch2_journal_preres_get_fast(j, res, new_u64s, flags, true); if (!ret && mutex_trylock(&j->reclaim_lock)) { bch2_journal_reclaim(j); |