All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 220299] New: Warning Trace seen at https://elixir.bootlin.com/linux/v6.6.69/source/fs/ext4/ext4_jbd2.c#L73 post remount-ro
Date: Mon, 30 Jun 2025 16:04:07 +0000	[thread overview]
Message-ID: <bug-220299-13602@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=220299

            Bug ID: 220299
           Summary: Warning Trace seen at
                    https://elixir.bootlin.com/linux/v6.6.69/source/fs/ext
                    4/ext4_jbd2.c#L73 post remount-ro
           Product: File System
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: ext4
          Assignee: fs_ext4@kernel-bugs.osdl.org
          Reporter: chakrashramana28@gmail.com
        Regression: No

Warning Trace seen at
https://elixir.bootlin.com/linux/v6.6.69/source/fs/ext4/ext4_jbd2.c#L73 is hit
by the writeback system even though there is nothing to write and the
filesystem has been mounted as readonly.

An ext4 fs is mounted with journal=data and a large file is written to it. Then
the fs is mounted as readonly-ro post a sync. At this point of time, data
consistency is preserved through the sync itself followed by a sync from the
remount-ro action. All the dirty pages should be marked as clean in the cache.
Yet post the remount-ro, it hits
https://elixir.bootlin.com/linux/v6.6.69/source/fs/ext4/ext4_jbd2.c#L73 and
prints the trace as the fs is readonly now. Even though there is nothing to
writeback, the wb_writeback is scheduled every 5 secs or so and the same trace
can be seen if changed from WARN_ON_ONCE to WARN_ON.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

                 reply	other threads:[~2025-06-30 16:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-220299-13602@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.