Bug 219551 - Add support for DS Commits to the NFSv4.1/pNFS client
Summary: Add support for DS Commits to the NFSv4.1/pNFS client
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Rick Macklem
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-25 20:11 UTC by Rick Macklem
Modified: 2019-01-21 22:47 UTC (History)
2 users (show)

See Also:
rmacklem: mfc-stable12+
rmacklem: mfc-stable11+


Attachments
Add DS commit support to the pNFS client (7.09 KB, patch)
2017-05-25 20:11 UTC, Rick Macklem
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.