Bug 219551

Summary: Add support for DS Commits to the NFSv4.1/pNFS client
Product: Base System Reporter: Rick Macklem <rmacklem>
Component: kernAssignee: Rick Macklem <rmacklem>
Status: Closed FIXED    
Severity: Affects Only Me CC: emaste, gonzo
Priority: --- Flags: rmacklem: mfc-stable12+
rmacklem: mfc-stable11+
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Add DS commit support to the pNFS client none

Description Rick Macklem freebsd_committer freebsd_triage 2017-05-25 20:11:13 UTC
Created attachment 182909 [details]
Add DS commit support to the pNFS client

This patch adds support for NFSv4.1/pNFS servers that require Commits
to be done to the DS instead of the MDS.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-06-26 00:43:37 UTC
A commit references this bug:

Author: rmacklem
Date: Mon Jun 26 00:43:05 UTC 2017
New revision: 320345
URL: https://svnweb.freebsd.org/changeset/base/320345

Log:
  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.

  PR:		219551
  MFC after:	2 weeks

Changes:
  head/sys/fs/nfs/nfs_var.h
  head/sys/fs/nfsclient/nfs_clnode.c
  head/sys/fs/nfsclient/nfs_clrpcops.c
  head/sys/fs/nfsclient/nfs_clvnops.c
  head/sys/fs/nfsclient/nfsnode.h
Comment 2 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2019-01-21 19:35:25 UTC
Rick, can this PR be closed now or is there work still pending?

Thanks
Comment 3 Rick Macklem freebsd_committer freebsd_triage 2019-01-21 22:47:33 UTC
Patch has been committed and MFC'd.