Re: [RFD] readonly/read-write semantics

Xavier Bestel (xavier.bestel@free.fr)
04 Sep 2001 12:20:28 +0200


On mar, 2001-09-04 at 12:15, Alexander Viro wrote:
>
>
> On 4 Sep 2001, Xavier Bestel wrote:
>
> > On mar, 2001-09-04 at 06:09, Alexander Viro wrote:
> >
> > > Read-only is more complex - in addition to mount side ("does anyone want
> > > it to be r/w") there is a filesystem side ("does fs agree to be r/w")...
> >
> > How about, say, a reiserfs mounted r/o on a shared partition (loopback
> > over nfs) ? If it contains errors, maybe 2 "clients" will attempt to
> > rollback at the same time. Is the solution to never mount, even r/o,
> > remote journalling fs ?
>
> ??? Rollback is purely local thing, so NFS client doesn't matter at all.
> And nfsd is just an application running on server, whether it's a kernel
> thread or a normal process.

Sorry, I meant journal replaying ... AFAIK, this operation will write on
the media even if mounted r/o.

Xav
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/