/[base]
ViewVC logotype

Revision 320322


Jump to revision: Previous Next
Author: rmacklem
Date: Sat Jun 24 20:01:21 2017 UTC (7 years ago)
Changed paths: 5
Log Message:
Add two new compound RPCs to the NFSv4.1/pNFS client.

When the NFSv4.1 client is doing pNFS, it needs to get an Open and
a Layout for every file it will be doing I/O on. The current code
does two separate RPCs to get these. This patch adds two new compounds
that do the both the Open and LayoutGet in the same RPC, reducing the
RPC count.
It also factors out the code that sets up and parses the LayoutGet operation
into separate functions, so that the code doesn't get duplicated for
these new RPCs.
This patch is fairly large, but should only affect the NFSv4.1 client
when the "pnfs" option is specified.

PR:		219550
MFC after:	2 weeks


Changed paths

Path Details
Directoryhead/sys/fs/nfs/nfs_commonsubs.c modified , text changed
Directoryhead/sys/fs/nfs/nfsport.h modified , text changed
Directoryhead/sys/fs/nfs/nfsproto.h modified , text changed
Directoryhead/sys/fs/nfsclient/nfs_clcomsubs.c modified , text changed
Directoryhead/sys/fs/nfsclient/nfs_clrpcops.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27