]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r320345
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 15 Jul 2017 19:24:54 +0000 (19:24 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 15 Jul 2017 19:24:54 +0000 (19:24 +0000)
commitff039a79a289646dee10c2942980238e6fd49171
tree5e1415ecaae8cfb21981143ec4f72636a50ebe09
parentbc8a4288138e80f242d36ee0a7bff9bc40a61255
MFC: r320345
Add support to the NFSv4.1/pNFS client for commits through the DS.

A NFSv4.1/pNFS server using File Layout can specify that Commit operations
are to be done against the DS instead of MDS. Since no extant pNFS
server did this, the code was untested and "#ifdef notyet".
The FreeBSD pNFS server I am developing does specify that Commits be done
through the DS, so the code has been enabled/tested.
This patch should only affect the case of a pNFS server that specfies
Commits through the DS.

Relnotes: yes

git-svn-id: svn://svn.freebsd.org/base/stable/10@321031 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfs_var.h
sys/fs/nfsclient/nfs_clnode.c
sys/fs/nfsclient/nfs_clrpcops.c
sys/fs/nfsclient/nfs_clvnops.c
sys/fs/nfsclient/nfsnode.h