patch that adds two additional NFSv4.1 compound RPCs to the client

Rick Macklem rmacklem at uoguelph.ca
Thu Jun 22 22:24:07 UTC 2017


The attached patch (you can also find it in PR#219550), adds two new compound
RPCs to the NFSv4.1/pNFS client. These compounds combine the Open with the
LayoutGet, avoiding the need to do additional RPCs for pNFS.

The patch is fairly large, but only affects the NFSv4.1 client with the "pnfs" option.

It factors most of the LayoutGet RPC code into separate functions and then uses
those to do RPCs that follow an Open with a LayoutGet.
This code has been tested a fair amount by me using my pNFS server
(in projects/pnfs-planb-server).

Would anyone like to review this? rick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openlayout.patch
Type: application/octet-stream
Size: 38817 bytes
Desc: openlayout.patch
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20170622/83cfdc58/attachment.obj>


More information about the freebsd-fs mailing list