Re: [RFC] mount flag "direct"

Daniel Phillips
2002-09-03T18:13:46Z

On Tuesday 03 September 2002 17:44, Peter T. Breuer wrote:
> > > Scenario:
> > > I have a driver which accesses a "disk" at the block level, to which
> > > another driver on another machine is also writing. I want to have
> > > an arbitrary FS on this device which can be read from and written to
> > > from both kernels, and I want support at the block level for this idea.
> >
> > You cannot have an arbitrary fs. The two fs drivers must coordinate with
> > each other in order for your scheme to work. Just think about if the two
> > fs drivers work on the same file simultaneously and both start growing the
> > file at the same time. All hell would break lose.
>
> Thanks!
>
> Rik also mentioned that objection! That's good. You both "only" see
> the same problem, so there can't be many more like it..

(intentionally misinterpreting) No indeed, there are aren't many problems
like it, in terms of sheer complexity.

--
Daniel