Re: [PATCH v11 00/20] nfs/nfsd: add support for localio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 08, 2024 at 02:03:02PM +1000, NeilBrown wrote:
> > I did not say that we have the exact same functionality available and
> > there is no work to do at all, just that it is the standard way to bypass
> > the server.
> 
> Sometimes what you don't say is important.  As you acknowledge there is
> work to do.  Understanding how much work is involved is critical to
> understanding that possible direction.

Of course there is.  I've never said we don't need to do any work,
I'm just asking why we are not using the existing infrastruture to do
it.

> But pNFS is about handing out grants using standardised protocols that
> support interoperability between distinct nodes, and possibly distinct
> implementations.  localio doesn't need any of that.  It all exists in a
> single implementation on a single node.  So in that sense there can be
> expected to be different priorities.
> 
> Why should we pay the costs of pNFS when implementing localio?

Why do you think we pay a cost for it?  From all I can tell it makes
the job simpler, especially if we want to do things like bypassing
the second page cache.

> That
> question can only be answered if we have a good understanding of the
> costs and benefits.  And that requires having a concrete proposal for
> the "pNFS" option - if only a detailed sketch.

I sketched the the very sketchy sketch earlier - add a new localio
layout that does local file I/O.  The I/O side of that is pretty
tivial, and maybe I can find some time to write draft code.  The file
open side is just as horrible as in the current localio proposal,
and I could just reuse that for now, although I think the concept
of opening the file in the client contect is fundamentally wrong
no matter how we skin the cat.




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux