public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* Suggested improvements for localio support.
@ 2024-06-21  4:59 NeilBrown
  2024-06-21  4:59 ` [PATCH 1/3] NFS: Simplify Client NFS_LOCALIO_PROGRAM support NeilBrown
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: NeilBrown @ 2024-06-21  4:59 UTC (permalink / raw)
  To: Mike Snitzer; +Cc: linux-nfs, Jeff Layton, Chuck Lever, Trond Myklebust

These three patches are intend to be merged into the nfs localio patch series.

The first two should be squashed into existing patches as mentioned in
the commit description.  The first is a stand alone patch which cleans
up some ugliness that the current rpcsvc infrastructure requires.

As mentioned in the first patch, a small rearranged of patches is
required for each individual patch to compile.

I would like to suggest changes to the CONFIG options too - I haven't
provided a patch for that.

There should be just one config option: CONFIG_NFS_LOCALIO.  There is no
point enabling for client without server or server without client as in
either configuration nothing useful can be achieved.  There is also no
gain in enabling only for v3 or v4 and not both (unless I've missed
something...)

Despite Jeff's generally sensible suggestion, I'd like the CONFIG option
to be added earliy so that we can compile-test each individual commit.
If that would mean some intermediate commit might be problematic then I
would rather the localio_enabled module parameter were forced to 'false'
until it was safe to turn it on.

I note that the server uses uuid_t while the client doesn't.  I might
have made that worse...  We should probably be consisent.

I have only tested very lightly - treat as a base for further work more
than as a fully polished solution.

Thanks,
NeilBrown

 [PATCH 1/3] NFS: Simplify Client NFS_LOCALIO_PROGRAM support
 [PATCH 2/3] NFSD: Simplify server NFS_LOCALIO_PROGRAM support
 [PATCH 3/3] SUNRPC: replace program list with program array

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-21  5:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-21  4:59 Suggested improvements for localio support NeilBrown
2024-06-21  4:59 ` [PATCH 1/3] NFS: Simplify Client NFS_LOCALIO_PROGRAM support NeilBrown
2024-06-21  4:59 ` [PATCH 2/3] NFSD: Simplify server " NeilBrown
2024-06-21  4:59 ` [PATCH 3/3] SUNRPC: replace program list with program array NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox