public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6 RFC] nfsd: provide simpler interface for LOCALIO access
@ 2024-07-01  2:53 NeilBrown
  2024-07-01  2:53 ` [PATCH 1/6] nfsd: introduce __fh_verify which takes explicit nfsd_net arg NeilBrown
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: NeilBrown @ 2024-07-01  2:53 UTC (permalink / raw)
  To: Chuck Lever, Jeff Layton
  Cc: linux-nfs, Olga Kornievskaia, Dai Ngo, Tom Talpey, Mike Snitzer

The purpose of this series is to provide an iterface to the filecache
which can be used without a struct svc_rqst, and without any xprt.

This interface is realised in the final patch as nfsd_file_acquire_local().

That function currently takes and nfs_vers option.  That was a natural
fallout of the refactorisation that lead here, but it probably isn't
wanted.  I need to review exactly what effect it has - mostly it is
about error code choice I think.

The function also takess a 'struct auth_domain*'.  It is not clear how a
caller would get hold of such a thing.  I suspect that the server should
register a "local-io" auth_domain in the nfsd_net, and it should be used
here.

Comments on design and implementation most welcome.

Thanks,
NeilBrown

 [PATCH 1/6] nfsd: introduce __fh_verify which takes explicit nfsd_net
 [PATCH 2/6] nfsd: add cred parameter to __fh_verify()
 [PATCH 3/6] nfsd: pass nfs_vers explicitly to __fh_verify()
 [PATCH 4/6] nfsd: pass client explicitly to __fh_verify()
 [PATCH 5/6] nfsd: __fh_verify now treats NULL rqstp as a trusted
 [PATCH 6/6] nfsd: add nfsd_file_acquire_local().

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

end of thread, other threads:[~2024-07-04  8:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01  2:53 [PATCH 0/6 RFC] nfsd: provide simpler interface for LOCALIO access NeilBrown
2024-07-01  2:53 ` [PATCH 1/6] nfsd: introduce __fh_verify which takes explicit nfsd_net arg NeilBrown
2024-07-01 14:54   ` Chuck Lever
2024-07-01 15:46   ` kernel test robot
2024-07-01  2:53 ` [PATCH 2/6] nfsd: add cred parameter to __fh_verify() NeilBrown
2024-07-01 11:02   ` Jeff Layton
2024-07-01 17:34   ` kernel test robot
2024-07-01  2:53 ` [PATCH 3/6] nfsd: pass nfs_vers explicitly " NeilBrown
2024-07-01 14:57   ` Chuck Lever
2024-07-01 19:16   ` kernel test robot
2024-07-01  2:53 ` [PATCH 4/6] nfsd: pass client " NeilBrown
2024-07-01 11:12   ` Jeff Layton
2024-07-01  2:53 ` [PATCH 5/6] nfsd: __fh_verify now treats NULL rqstp as a trusted connection NeilBrown
2024-07-01  2:53 ` [PATCH 6/6] nfsd: add nfsd_file_acquire_local() NeilBrown
2024-07-01 11:21   ` Jeff Layton
2024-07-01 23:55     ` NeilBrown
2024-07-02  0:29       ` Jeff Layton
2024-07-04  8:58   ` kernel test robot

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