From: Nicholas Knight <tegeran@home.com>
To: Alexander Viro <viro@math.psu.edu>,
Ingo Oeser <ingo.oeser@informatik.tu-chemnitz.de>
Cc: Bryan Henderson <hbryan@us.ibm.com>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
Linus Torvalds <torvalds@transmeta.com>
Subject: Re: [RFD] readonly/read-write semantics
Date: Sat, 1 Sep 2001 10:13:18 -0700 [thread overview]
Message-ID: <01090110131802.00171@c779218-a> (raw)
In-Reply-To: <Pine.GSO.4.21.0109011226580.18705-100000@weyl.math.psu.edu>
In-Reply-To: <Pine.GSO.4.21.0109011226580.18705-100000@weyl.math.psu.edu>
On Saturday 01 September 2001 09:44 am, Alexander Viro wrote:
> On Sat, 1 Sep 2001, Ingo Oeser wrote:
> > On Sat, Sep 01, 2001 at 12:23:05AM -0400, Alexander Viro wrote:
> > > > 2) I'd like to see a readonly mount state defined as "the
> > > > filesystem will not change. Period." Not for system calls in
> > > > progress, not for cache synchronization, not to set an
> > > > "unmounted" flag, not for writes that are queued in the device
> > > > driver or device. (That last one may stretch feasability, but
> > > > it's a worthy goal anyway).
> > >
> > > It doesn't work. Think of r/o mounting of remote filesystem. Do
> > > you suggest that it should make it impossible to change from other
> > > clients?
> >
> > It's sufficient for local file systems. Or see it this way: The
> > machine, that mounted it r/o will NOT write to it until it is
> > mounted r/w again.
>
> That's _also_ not true for remote filesystems. We can mount the same
> filesystem over NFS again without unmounting the old instance. Always
> could.
>
> IMO a part of the problem is that we are mixing "I'm not asking that
> to be writable" with "I won't let you write". The former belongs
> to the mounting side, the latter - to filesystem.
It's really a band-aid, I seriously doubt anybody is going to claim that
it's "perfect".
The state that he (and I for that matter) want is "This is mounted, we
can read from it, but under *NO CIRCUMSTANCES* will we change the
filesystem through this mount, ever."
In addition to the filesystem-stamping-its-foot situation, this could
help if someone is testing a new, potentialy unstable driver (filesystem
or block device) and wants to stop all writes IMMIEDIATELY so that they
can check the data present on that filesystem/device.
Again, this isn't perfect, but I think it would have many potential uses
(filesystem error would probably be the most useful application) and
really should have been implimented long ago.
next prev parent reply other threads:[~2001-09-01 17:14 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-31 23:35 [RFD] readonly/read-write semantics Bryan Henderson
2001-09-01 4:23 ` Alexander Viro
2001-09-01 14:42 ` Ingo Oeser
2001-09-01 16:44 ` Alexander Viro
2001-09-01 17:13 ` Nicholas Knight [this message]
2001-09-04 2:07 ` Jean-Marc Saffroy
2001-09-04 4:09 ` Alexander Viro
2001-09-04 9:26 ` Xavier Bestel
2001-09-04 10:15 ` Alexander Viro
2001-09-04 10:20 ` Xavier Bestel
2001-09-04 10:28 ` Alexander Viro
2001-09-04 10:59 ` Xavier Bestel
2001-09-04 11:29 ` Alexander Viro
2001-09-04 17:03 ` Pavel Machek
2001-09-04 16:58 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2001-09-05 2:34 Bryan Henderson
2001-09-04 19:50 Bryan Henderson
2001-09-05 2:15 ` Alexander Viro
2001-09-04 18:39 Bryan Henderson
2001-09-01 0:38 Bryan Henderson
2001-08-31 17:18 [Q] [VFS] NULL f_dentry for opened files ; possible race condition Jean-Marc Saffroy
2001-08-31 20:56 ` [RFD] readonly/read-write semantics Alexander Viro
2001-09-01 13:08 ` Juan Quintela
2001-09-04 1:16 ` Jean-Marc Saffroy
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=01090110131802.00171@c779218-a \
--to=tegeran@home.com \
--cc=hbryan@us.ibm.com \
--cc=ingo.oeser@informatik.tu-chemnitz.de \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=viro@math.psu.edu \
/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