From: bugzilla-daemon@kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 219132] Redundant "re-mounted ro" message
Date: Wed, 07 Aug 2024 03:33:16 +0000 [thread overview]
Message-ID: <bug-219132-13602-iWIiqR0MYh@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-219132-13602@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=219132
Theodore Tso (tytso@mit.edu) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tytso@mit.edu
--- Comment #2 from Theodore Tso (tytso@mit.edu) ---
The suggestion in #1 isn't necessarily correct, though, because we could be
remounting to change some other superblock options. For example:
mount -o remount,errors=continue /dev/vdc
Fundamentally, whenever runs "mount -o remount ...", we issue the "EXT4-fs
(DEVICE): re-mounted ..." message. The fact that we print the ro/rw and quota
mode is completely arbitrary and more due to historical reasons than anything
else. For example, the fact that we print the quota mode is pretty much
useless in this day and era and there are plenty of other mount option/state
that would probably be much more useful.
So the fact that we print the ro/rw state doesn't imply that it has changed.
For example, if the file system is mounted read/write and we change the errors=
mode from continue to remount-ro, etc., we will print:
EXT4-fs (nvme0n1p3): re-mounted UUID rw. Quota mode: none.
... and it doesn't mean that we changed the rw/ro mode from ro to r/w.
Should we change the behavior to something else? Perhaps, although to be
honest it's not the highest priority thing for me. I could see dropping the
quota mode and only printing the message when the r/o state changes. Or maybe
we display any mount option that changes (which would be a lot more work). Is
it worth the effort? Meh.....
.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2024-08-07 3:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-06 18:20 [Bug 219132] New: Redundant "re-mounted ro" message bugzilla-daemon
2024-08-06 19:14 ` [Bug 219132] " bugzilla-daemon
2024-08-07 3:33 ` bugzilla-daemon [this message]
2024-08-07 9:53 ` bugzilla-daemon
2024-08-07 13:41 ` bugzilla-daemon
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-219132-13602-iWIiqR0MYh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox