From: Christoph Hellwig <hch@infradead.org>
To: Dave Chinner <david@fromorbit.com>
Cc: Johannes Bauer <canjzymsaxyt@spornkuller.de>, linux-ext4@vger.kernel.org
Subject: Re: Modification of block device by R/O mount
Date: Mon, 12 Aug 2024 05:08:12 -0700 [thread overview]
Message-ID: <Zrn7LBE8ek1dXIAn@infradead.org> (raw)
In-Reply-To: <ZrV15hAK0Lawyl+8@dread.disaster.area>
On Fri, Aug 09, 2024 at 11:50:30AM +1000, Dave Chinner wrote:
> You'll need someone who actually knows what metadata ext4 needs to
> modify directly on read-only mounts to tell you exactly what the
> mount is modifying and whether or not it should actually be doing
> that or not. However, I personally wouldn't consider this behaviour
> a bug if it necessary to allow read-only mounts on read-only block
> devices to work reliably...
Modifying page cache without dirtying is in general a bug. On a
block device we'll mostly get away with it, but it still is asking
for trouble later. So this probably still warrants fixing, but as
Dave said it isn't exactly a grave bug.
prev parent reply other threads:[~2024-08-12 12:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 11:16 Modification of block device by R/O mount Johannes Bauer
2024-08-01 1:53 ` Dave Chinner
2024-08-01 6:18 ` Johannes Bauer
2024-08-01 6:32 ` Johannes Bauer
2024-08-09 1:50 ` Dave Chinner
2024-08-12 12:08 ` Christoph Hellwig [this message]
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=Zrn7LBE8ek1dXIAn@infradead.org \
--to=hch@infradead.org \
--cc=canjzymsaxyt@spornkuller.de \
--cc=david@fromorbit.com \
--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;
as well as URLs for NNTP newsgroup(s).