Re: [PATCH Version 5 0/3] Use the MDS nfs_server authflavor for pNFS data server connections

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

 



On Tue, 2013-08-13 at 17:47 -0400, andros@xxxxxxxxxx wrote:
> From: Andy Adamson <andros@xxxxxxxxxx>
> 
> Differences from Version 4
> - added NFSv4 Remove unused LIPKEY and SPKM enums
> - shared GSS context caches when possible via shared rpc_clnt structs

If you share the gss context don't you risk mixing up sequence numbers
and sending out of sequence packets ?
Is that posible ? Is that going to be a problem with any
implementation ?

I do not see GSS_C_SEQUENCE_FLAG used in nfs-utils, nor do I see any
check for sequence in the unwrap call in the kernel so probably not a
problem (at least for linux-to-linux), but just thought about asking to
make sure anyway.

Simo.

> - DS conections use the shared rpc_clnts
> 
> Andy Adamson (3):
>   NFSv4 Remove unused LIPKEY and SPKM enums
>   NFS Share RPC_AUTH_GSS rpc clients
>   NFSv4.1 Use the shared nfs_client rpc_clnts for pNFS data server
>     connections
> 
>  fs/nfs/client.c                 | 80 ++++++++++++++++++++++++++++++++++++++---
>  fs/nfs/internal.h               |  4 +++
>  fs/nfs/nfs4filelayout.c         | 69 +++++++++++++++++++++++++++++------
>  fs/nfs/nfs4filelayout.h         |  3 ++
>  fs/nfs/nfs4filelayoutdev.c      |  4 ++-
>  fs/nfs/nfs4namespace.c          |  5 +--
>  fs/nfs/nfs4proc.c               |  9 +++--
>  fs/nfs/nfs4state.c              |  4 +--
>  fs/nfs/super.c                  | 34 ------------------
>  include/linux/nfs_fs_sb.h       |  1 +
>  include/linux/sunrpc/msg_prot.h |  9 ++---
>  11 files changed, 158 insertions(+), 64 deletions(-)
> 


-- 
Simo Sorce * Red Hat, Inc * New York

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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