On Sat, Aug 31, 2024 at 06:37:37PM -0400, Mike Snitzer wrote: > The LOCALIO auxiliary RPC protocol consists of a single "UUID_IS_LOCAL" > RPC method that allows the Linux NFS client to verify the local Linux > NFS server can see the nonce (single-use UUID) the client generated and > made available in nfs_common. The server expects this protocol to use > the same transport as NFS and NFSACL for its RPCs. This protocol > isn't part of an IETF standard, nor does it need to be considering it > is Linux-to-Linux auxiliary RPC protocol that amounts to an > implementation detail. > > The UUID_IS_LOCAL method encodes the client generated uuid_t in terms of > the fixed UUID_SIZE (16 bytes). The fixed size opaque encode and decode > XDR methods are used instead of the less efficient variable sized > methods. > > The RPC program number for the NFS_LOCALIO_PROGRAM is 400122 (as assigned > by IANA, see https://www.iana.org/assignments/rpc-program-numbers/ ): > Linux Kernel Organization 400122 nfslocalio > > Signed-off-by: Mike Snitzer <snitzer@xxxxxxxxxx> > [neilb: factored out and simplified single localio protocol] > Co-developed-by: NeilBrown <neilb@xxxxxxx> > Signed-off-by: NeilBrown <neilb@xxxxxxx> > > Not-Acked-by: Chuck Lever <chuck.lever@xxxxxxxxxx> > Not-Reviewed-by: Jeff Layton <jlayton@xxxxxxxxxx> v15 LGTM. Acked-by: Chuck Lever <chuck.lever@xxxxxxxxxx> -- Chuck Lever