diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-15 19:51:56 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-15 19:51:56 +0300 |
commit | 5cf32aff2088e650f73f6e291d96cdadd5c02c7a (patch) | |
tree | dba4b4f7e735212aa5ee9fd8e16b754179072390 /fs/jbd2/commit.c | |
parent | 10b2c8a67c4b8ec15f9d07d177f63b563418e948 (diff) | |
parent | 2737dee1067c2fc02256b2b15dab158c5e840568 (diff) | |
download | linux-5cf32aff2088e650f73f6e291d96cdadd5c02c7a.tar.xz |
Merge tag 'loongarch-kvm-6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson into HEAD
LoongArch KVM changes for v6.14
1. Clear LLBCTL if secondary mmu mapping changed.
2. Add hypercall service support for usermode VMM.
This is a really small changeset, because the Chinese New Year
(Spring Festival) is coming. Happy New Year!
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r-- | fs/jbd2/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 9153ff3a08e7..e8e80761ac73 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -772,9 +772,9 @@ start_journal_io: /* * If the journal is not located on the file system device, * then we must flush the file system device before we issue - * the commit record + * the commit record and update the journal tail sequence. */ - if (commit_transaction->t_need_data_flush && + if ((commit_transaction->t_need_data_flush || update_tail) && (journal->j_fs_dev != journal->j_dev) && (journal->j_flags & JBD2_BARRIER)) blkdev_issue_flush(journal->j_fs_dev); |