Re: svn commit: r328129 - head/sys/fs/nfsserver

2018-01-18 Thread Rick Macklem
Emmanuel Vadot wrote: >> Author: manu >> Date: Thu Jan 18 15:28:49 2018 >> New Revision: 328129 >> URL: https://svnweb.freebsd.org/changeset/base/328129 >> >> Log: >> nfs: Do not printf each time a lock structure is freed during module unload >> >> There can be a lot of those structures and pri

svn commit: r327008 - stable/10/sys/fs/nfsserver

2017-12-19 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 19 23:00:08 2017 New Revision: 327008 URL: https://svnweb.freebsd.org/changeset/base/327008 Log: MFC: r326544 Avoid the overhead of acquiring a lock in nfsrv_checkgetattr() when there are no write delegations issued. manu@ reported on the freebsd-current@

svn commit: r326952 - stable/11/sys/fs/nfsserver

2017-12-18 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 18 22:55:19 2017 New Revision: 326952 URL: https://svnweb.freebsd.org/changeset/base/326952 Log: MFC: r326544 Avoid the overhead of acquiring a lock in nfsrv_checkgetattr() when there are no write delegations issued. manu@ reported on the freebsd-current@

svn commit: r326735 - head/sys/fs/nfs

2017-12-09 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 9 21:04:56 2017 New Revision: 326735 URL: https://svnweb.freebsd.org/changeset/base/326735 Log: Define macros used by the pNFS server code. This commit defines some macros used by the pNFS server code. They will not be used until the main pNFS server code m

svn commit: r326544 - head/sys/fs/nfsserver

2017-12-04 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 4 21:50:27 2017 New Revision: 326544 URL: https://svnweb.freebsd.org/changeset/base/326544 Log: Avoid the overhead of acquiring a lock in nfsrv_checkgetattr() when there are no write delegations issued. manu@ reported on the freebsd-current@ mailing list th

svn commit: r325448 - stable/10/sys/fs/nfsserver

2017-11-05 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 5 20:28:28 2017 New Revision: 325448 URL: https://svnweb.freebsd.org/changeset/base/325448 Log: MFC: r324639 Fix the client IP address reported by nfsdumpstate for 64bit arch and NFSv4.1. The client IP address was not being reported for some NFSv4 mounts by

svn commit: r325407 - stable/10/sys/fs/nfs

2017-11-04 Thread Rick Macklem
Author: rmacklem Date: Sat Nov 4 21:30:27 2017 New Revision: 325407 URL: https://svnweb.freebsd.org/changeset/base/325407 Log: MFC: r324506 Fix forced dismount when a pNFS mount is hung on a DS. When a "pnfs" NFSv4.1 mount is hung because of an unresponsive DS, a forced dismount wouldn

svn commit: r325341 - stable/11/sys/fs/nfsserver

2017-11-02 Thread Rick Macklem
Author: rmacklem Date: Thu Nov 2 20:28:53 2017 New Revision: 325341 URL: https://svnweb.freebsd.org/changeset/base/325341 Log: MFC: r324639 Fix the client IP address reported by nfsdumpstate for 64bit arch and NFSv4.1. The client IP address was not being reported for some NFSv4 mounts by

svn commit: r324997 - stable/11/sys/fs/nfs

2017-10-25 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 25 19:27:12 2017 New Revision: 324997 URL: https://svnweb.freebsd.org/changeset/base/324997 Log: MFC: r324506 Fix forced dismount when a pNFS mount is hung on a DS. When a "pnfs" NFSv4.1 mount is hung because of an unresponsive DS, a forced dismount wouldn

svn commit: r324676 - in head/sys/fs: nfs nfsclient

2017-10-16 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 16 23:28:12 2017 New Revision: 324676 URL: https://svnweb.freebsd.org/changeset/base/324676 Log: Use taskqueue(9) to do writes/commits to mirrored DSs concurrently. When the NFSv4.1 pNFS client is using a Flexible File Layout specifying mirrored Data Servers

svn commit: r324639 - head/sys/fs/nfsserver

2017-10-15 Thread Rick Macklem
Author: rmacklem Date: Sun Oct 15 22:22:27 2017 New Revision: 324639 URL: https://svnweb.freebsd.org/changeset/base/324639 Log: Fix the client IP address reported by nfsdumpstate for 64bit arch and NFSv4.1. The client IP address was not being reported for some NFSv4 mounts by nfsdumpstate

svn commit: r324545 - stable/10/sys/fs/nfsclient

2017-10-11 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 11 23:42:29 2017 New Revision: 324545 URL: https://svnweb.freebsd.org/changeset/base/324545 Log: MFC: r324074 Fix a memory leak that occurred in the pNFS client. When a "pnfs" NFSv4.1 mount was unmounted, it didn't free up the layouts and deviceinfo struct

svn commit: r324544 - stable/10/sys/fs/nfsserver

2017-10-11 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 11 23:33:50 2017 New Revision: 324544 URL: https://svnweb.freebsd.org/changeset/base/324544 Log: MFC: r323978 Change a panic to an error return. There was a panic() in the NFS server's write operation that didn't need to be a panic() and could just be an e

svn commit: r324543 - stable/10/sys/fs/nfsclient

2017-10-11 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 11 23:21:24 2017 New Revision: 324543 URL: https://svnweb.freebsd.org/changeset/base/324543 Log: MFC: r323689 Fix bogus FREAD with NFSV4OPEN_ACCESSREAD. No functional change. The code in nfscl_doflayoutio() bogusly used FREAD instead of NFSV4OPEN_ACCESSREA

svn commit: r324529 - stable/11/sys/fs/nfsclient

2017-10-11 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 11 13:20:24 2017 New Revision: 324529 URL: https://svnweb.freebsd.org/changeset/base/324529 Log: MFC: r324074 Fix a memory leak that occurred in the pNFS client. When a "pnfs" NFSv4.1 mount was unmounted, it didn't free up the layouts and deviceinfo struct

svn commit: r324506 - head/sys/fs/nfs

2017-10-10 Thread Rick Macklem
Author: rmacklem Date: Tue Oct 10 21:05:40 2017 New Revision: 324506 URL: https://svnweb.freebsd.org/changeset/base/324506 Log: Fix forced dismount when a pNFS mount is hung on a DS. When a "pnfs" NFSv4.1 mount is hung because of an unresponsive DS, a forced dismount wouldn't work, becaus

svn commit: r324419 - stable/11/sys/fs/nfsserver

2017-10-08 Thread Rick Macklem
Author: rmacklem Date: Sun Oct 8 21:20:25 2017 New Revision: 324419 URL: https://svnweb.freebsd.org/changeset/base/324419 Log: MFC: r323978 Change a panic to an error return. There was a panic() in the NFS server's write operation that didn't need to be a panic() and could just be an e

svn commit: r324336 - in head/sys/fs: nfs nfsclient

2017-10-05 Thread Rick Macklem
Author: rmacklem Date: Thu Oct 5 20:10:40 2017 New Revision: 324336 URL: https://svnweb.freebsd.org/changeset/base/324336 Log: Add Flex File Layout support to the NFSv4.1 pNFS client. This patch adds support for the Flexible File Layout to the pNFS client. Although the patch is rather la

svn commit: r324289 - head/sys/fs/nfs

2017-10-04 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 4 22:55:30 2017 New Revision: 324289 URL: https://svnweb.freebsd.org/changeset/base/324289 Log: Add a few definitions for the Flex File Layout. This patch adds a few definitions for the Flex File Layout. Until a future commit adds Flex File layout support,

svn commit: r324180 - stable/11/sys/fs/nfsclient

2017-10-01 Thread Rick Macklem
Author: rmacklem Date: Sun Oct 1 21:45:15 2017 New Revision: 324180 URL: https://svnweb.freebsd.org/changeset/base/324180 Log: MFC: r323689 Fix bogus FREAD with NFSV4OPEN_ACCESSREAD. No functional change. The code in nfscl_doflayoutio() bogusly used FREAD instead of NFSV4OPEN_ACCESSREA

svn commit: r324111 - head/sys/fs/nfs

2017-09-29 Thread Rick Macklem
Author: rmacklem Date: Fri Sep 29 23:13:01 2017 New Revision: 324111 URL: https://svnweb.freebsd.org/changeset/base/324111 Log: Add support for Flex File Layout to the pNFS client structures. This patch modifies the pNFS client layout and deviceinfo structures to add fields and unions for

svn commit: r324091 - head/sys/fs/nfs

2017-09-28 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 28 23:05:08 2017 New Revision: 324091 URL: https://svnweb.freebsd.org/changeset/base/324091 Log: Add the NFS client state flag that enables Flexible File Layout. This patch adds a NFSSTA_FLEXFILE flag that will be used to enable Flexible File Layout for the

svn commit: r324090 - in head/sys/fs: nfs nfsclient

2017-09-28 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 28 22:33:01 2017 New Revision: 324090 URL: https://svnweb.freebsd.org/changeset/base/324090 Log: Change nfsv4_getipaddr() and nfsrpc_fillsa() to not use sockaddr_storage. This patch changes nfsv4_getipaddr() and nfsrpc_fillsa() to use a sockaddr_in * and soc

svn commit: r324074 - head/sys/fs/nfsclient

2017-09-27 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 27 23:23:41 2017 New Revision: 324074 URL: https://svnweb.freebsd.org/changeset/base/324074 Log: Fix a memory leak that occurred in the pNFS client. When a "pnfs" NFSv4.1 mount was unmounted, it didn't free up the layouts and deviceinfo structures. This leak

svn commit: r324040 - in head/sys/fs: nfs nfsclient

2017-09-26 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 26 23:42:44 2017 New Revision: 324040 URL: https://svnweb.freebsd.org/changeset/base/324040 Log: Add major and minor version arguments to nfscl_reqstart(). This patch adds "vers" and "minorvers" arguments to nfscl_reqstart(). The patch always passes them in

svn commit: r323978 - head/sys/fs/nfsserver

2017-09-24 Thread Rick Macklem
Author: rmacklem Date: Sun Sep 24 20:05:48 2017 New Revision: 323978 URL: https://svnweb.freebsd.org/changeset/base/323978 Log: Change a panic to an error return. There was a panic() in the NFS server's write operation that didn't need to be a panic() and could just be an error return.

svn commit: r323974 - head/sys/fs/nfsclient

2017-09-24 Thread Rick Macklem
Author: rmacklem Date: Sun Sep 24 19:43:31 2017 New Revision: 323974 URL: https://svnweb.freebsd.org/changeset/base/323974 Log: Remove 0 filling from nfsm_uiombuflist(). nfsm_uiombuflist() zero filled the mbuf list to a multiple of 4bytes as required for XDR. Unfortunately that modified a

svn commit: r323841 - head/sys/fs/nfs

2017-09-20 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 21 00:41:12 2017 New Revision: 323841 URL: https://svnweb.freebsd.org/changeset/base/323841 Log: Add a few definitions for Flex File Layout for pNFS. These definitions will be used by a future commit. Modified: head/sys/fs/nfs/nfs.h Modified: head/sys/fs/n

svn commit: r323783 - in head/sys/fs: nfs nfsclient

2017-09-19 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 19 23:28:22 2017 New Revision: 323783 URL: https://svnweb.freebsd.org/changeset/base/323783 Log: Make the nfsrpc_layoutget() function a static. Make the NFSv4 pNFS client function nfsrpc_layoutget() a static, since it is only used in sys/fs/nfsclient/nfs_clr

svn commit: r323780 - in head/sys/fs: nfs nfsclient

2017-09-19 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 19 21:31:36 2017 New Revision: 323780 URL: https://svnweb.freebsd.org/changeset/base/323780 Log: Add a new function called nfsm_uiombuflist(), similar to nfsm_uiombuf(). This patch adds a new function called nfsm_uiombuflist(), which is similar to nfsm_uiomb

svn commit: r323779 - in head/sys/fs: nfs nfsclient

2017-09-19 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 19 20:45:25 2017 New Revision: 323779 URL: https://svnweb.freebsd.org/changeset/base/323779 Log: Simplify nfsrpc_layoutreturn() args. Simplify nfsrpc_layoutreturn() args. in preparation for the addition of Flex File layout support, since File layout uses a 0

svn commit: r323775 - in head/sys/fs: nfs nfsclient

2017-09-19 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 19 20:18:41 2017 New Revision: 323775 URL: https://svnweb.freebsd.org/changeset/base/323775 Log: Simplify nfsrpc_layoutcommit() args. Simplify nfsrpc_layoutcommit() args. in preparation for the addition of Flex File layout support, since it also uses a 0 len

svn commit: r323689 - head/sys/fs/nfsclient

2017-09-17 Thread Rick Macklem
Author: rmacklem Date: Sun Sep 17 22:18:01 2017 New Revision: 323689 URL: https://svnweb.freebsd.org/changeset/base/323689 Log: Fix bogus FREAD with NFSV4OPEN_ACCESSREAD. No functional change. The code in nfscl_doflayoutio() bogusly used FREAD instead of NFSV4OPEN_ACCESSREAD. Since both h

svn commit: r322910 - stable/11/sbin/umount

2017-08-25 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 25 22:58:54 2017 New Revision: 322910 URL: https://svnweb.freebsd.org/changeset/base/322910 Log: MFC: r321689 Add a new "-N" option to umount(8), that does a forced dismount of an NFS mount point. The new "-N" option does a forced dismount of an NFS mount

svn commit: r322909 - in stable/11/sys: fs/nfs fs/nfsclient nfs sys

2017-08-25 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 25 22:52:40 2017 New Revision: 322909 URL: https://svnweb.freebsd.org/changeset/base/322909 Log: MFC: r321688 Add kernel support for the NFS client forced dismount "umount -N" option. When an NFS mount is hung against an unresponsive NFS server, the "umount

svn commit: r322908 - stable/11/sys/fs/nfsclient

2017-08-25 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 25 22:44:55 2017 New Revision: 322908 URL: https://svnweb.freebsd.org/changeset/base/322908 Log: MFC: r321675 Fix possible crash for the NFSv4.1 pNFS client. If the nfsrpc_createlayoutrpc() call in nfsrpc_getcreatelayout() fails, the code used nfhpp when i

svn commit: r322907 - in stable/11/sys/fs: nfs nfsclient

2017-08-25 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 25 22:39:49 2017 New Revision: 322907 URL: https://svnweb.freebsd.org/changeset/base/322907 Log: MFC: r321628 Replace the checks for MNTK_UNMOUNTF with a macro that does the same thing. This patch defines a macro that checks for MNTK_UNMOUNTF and replaces

svn commit: r321966 - head/usr.bin/calendar/calendars

2017-08-02 Thread Rick Macklem
Sato born in Yamagata, Japan, 1977 10/05 Chris Costello born in Houston, Texas, United States, 1985 10/09 Stefan Walter born in Werne, Nordrhein-Westfalen, Germany, 1978 +10/11 Rick Macklem born in Ontario, Canada, 1955 10/12 Pawel Jakub Dawidek born in Radzyn Podlaski, Poland, 1980

svn commit: r321689 - head/sbin/umount

2017-07-29 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 29 20:08:25 2017 New Revision: 321689 URL: https://svnweb.freebsd.org/changeset/base/321689 Log: Add a new "-N" option to umount(8), that does a forced dismount of an NFS mount point. The new "-N" option does a forced dismount of an NFS mount point, but avo

svn commit: r321688 - in head/sys: fs/nfs fs/nfsclient nfs sys

2017-07-29 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 29 19:52:47 2017 New Revision: 321688 URL: https://svnweb.freebsd.org/changeset/base/321688 Log: Add kernel support for the NFS client forced dismount "umount -N" option. When an NFS mount is hung against an unresponsive NFS server, the "umount -f" option ca

svn commit: r321675 - head/sys/fs/nfsclient

2017-07-28 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 29 02:25:49 2017 New Revision: 321675 URL: https://svnweb.freebsd.org/changeset/base/321675 Log: Fix possible crash for the NFSv4.1 pNFS client. If the nfsrpc_createlayoutrpc() call in nfsrpc_getcreatelayout() fails, the code used nfhpp when it might be set

svn commit: r321666 - head

2017-07-28 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 28 21:14:28 2017 New Revision: 321666 URL: https://svnweb.freebsd.org/changeset/base/321666 Log: Add an entry to UPDATING for r321665. Modified: head/UPDATING Modified: head/UPDATING ==

svn commit: r321665 - head/etc/rc.d

2017-07-28 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 28 21:07:57 2017 New Revision: 321665 URL: https://svnweb.freebsd.org/changeset/base/321665 Log: Modify /etc/rc.d/nfsd so it doesn't force a startup of nfsuserd for NFSv4. Given that RFC7530 allows uid/gids to be placed in owner/owner_group strings directly,

svn commit: r321634 - stable/10/sys/fs/nfsclient

2017-07-27 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 27 23:15:24 2017 New Revision: 321634 URL: https://svnweb.freebsd.org/changeset/base/321634 Log: MFC: r321314 r320062 introduced a bug when doing NFSv4.1 mounts against some non-FreeBSD servers. r320062 used nm_rsize, nm_wsize to set the maximum request/res

svn commit: r321632 - stable/11/sys/fs/nfsclient

2017-07-27 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 27 23:09:12 2017 New Revision: 321632 URL: https://svnweb.freebsd.org/changeset/base/321632 Log: MFC: r321314 r320062 introduced a bug when doing NFSv4.1 mounts against some non-FreeBSD servers. r320062 used nm_rsize, nm_wsize to set the maximum request/res

svn commit: r321628 - in head/sys/fs: nfs nfsclient

2017-07-27 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 27 20:55:31 2017 New Revision: 321628 URL: https://svnweb.freebsd.org/changeset/base/321628 Log: Replace the checks for MNTK_UNMOUNTF with a macro that does the same thing. This patch defines a macro that checks for MNTK_UNMOUNTF and replaces explicit checks

svn commit: r321598 - stable/11/usr.sbin/nfsd

2017-07-26 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 27 00:14:08 2017 New Revision: 321598 URL: https://svnweb.freebsd.org/changeset/base/321598 Log: MFC: r321248 Update the nfsv4 man page to reflect recent changes to support the newer RFCs (5661 and 7530). The main man changes are for the case of "numbers in s

svn commit: r321597 - stable/10/usr.sbin/nfsd

2017-07-26 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 27 00:04:09 2017 New Revision: 321597 URL: https://svnweb.freebsd.org/changeset/base/321597 Log: MFC: r321248 Update the nfsv4 man page to reflect recent changes to support the newer RFCs (5661 and 7530). The main man changes are for the case of "numbers in s

svn commit: r321314 - head/sys/fs/nfsclient

2017-07-20 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 21 00:14:43 2017 New Revision: 321314 URL: https://svnweb.freebsd.org/changeset/base/321314 Log: r320062 introduced a bug when doing NFSv4.1 mounts against some non-FreeBSD servers. r320062 used nm_rsize, nm_wsize to set the maximum request/response sizes for

svn commit: r321313 - head/sys/fs/nfsclient

2017-07-20 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 20 23:59:47 2017 New Revision: 321313 URL: https://svnweb.freebsd.org/changeset/base/321313 Log: Revert r321308. I'll commit a better fix soon. Modified: head/sys/fs/nfsclient/nfs_clrpcops.c Modified: head/sys/fs/nfsclient/nfs_clrpcops.c ===

svn commit: r321308 - head/sys/fs/nfsclient

2017-07-20 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 20 23:15:50 2017 New Revision: 321308 URL: https://svnweb.freebsd.org/changeset/base/321308 Log: r320062 introduced a bug when doing NFSv4.1 mounts against some non-FreeBSD servers. r320062 used nm_rsize, nm_wsize to set the maximum request/response sizes for

svn commit: r321248 - head/usr.sbin/nfsd

2017-07-19 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 19 20:57:41 2017 New Revision: 321248 URL: https://svnweb.freebsd.org/changeset/base/321248 Log: Update the nfsv4 man page to reflect recent changes to support the newer RFCs (5661 and 7530). The main man changes are for the case of "numbers in strings" for use

svn commit: r321175 - stable/10/usr.sbin/nfsuserd

2017-07-18 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 18 20:46:29 2017 New Revision: 321175 URL: https://svnweb.freebsd.org/changeset/base/321175 Log: MFC: r320659 Add a Bugs section that indicates that the nfsuserd doesn't work when jails are being used on the system. It is hoped that the patches in PR#205193 w

svn commit: r321174 - stable/11/usr.sbin/nfsuserd

2017-07-18 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 18 20:40:36 2017 New Revision: 321174 URL: https://svnweb.freebsd.org/changeset/base/321174 Log: MFC: r320659 Add a Bugs section that indicates that the nfsuserd doesn't work when jails are being used on the system. It is hoped that the patches in PR#205193 w

svn commit: r321057 - stable/10/sys/fs/nfsclient

2017-07-16 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 16 19:36:44 2017 New Revision: 321057 URL: https://svnweb.freebsd.org/changeset/base/321057 Log: MFC: r320458 Fix an NFSv3 client case that probably never happens. If an NFSv3 server were to reply with weak cache consistency attributes, but not post operat

svn commit: r321032 - stable/11/sys/fs/nfsclient

2017-07-15 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 15 19:43:02 2017 New Revision: 321032 URL: https://svnweb.freebsd.org/changeset/base/321032 Log: MFC: r320458 Fix an NFSv3 client case that probably never happens. If an NFSv3 server were to reply with weak cache consistency attributes, but not post operat

svn commit: r321031 - in stable/10/sys/fs: nfs nfsclient

2017-07-15 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 15 19:24:54 2017 New Revision: 321031 URL: https://svnweb.freebsd.org/changeset/base/321031 Log: 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

svn commit: r321029 - in stable/11/sys/fs: nfs nfsclient

2017-07-15 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 15 19:18:37 2017 New Revision: 321029 URL: https://svnweb.freebsd.org/changeset/base/321029 Log: 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

svn commit: r321000 - stable/11/usr.bin/nfsstat

2017-07-14 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 14 21:43:57 2017 New Revision: 321000 URL: https://svnweb.freebsd.org/changeset/base/321000 Log: MFC: r320323 Add RPC count reporting for the two new RPCs added by r320322. Modified: stable/11/usr.bin/nfsstat/nfsstat.c Directory Properties: stable/11/ (pro

svn commit: r320998 - in stable/11/sys/fs: nfs nfsclient

2017-07-14 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 14 20:47:41 2017 New Revision: 320998 URL: https://svnweb.freebsd.org/changeset/base/320998 Log: MFC: r320322 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 i

svn commit: r320795 - stable/10/sys/fs/nfsclient

2017-07-07 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 7 21:33:06 2017 New Revision: 320795 URL: https://svnweb.freebsd.org/changeset/base/320795 Log: MFC: r320208 Ensure that the credentials field of the NFSv4 client open structure is initialized. bdrewery@ has reported panics "newnfs_copycred: negative nfsc

svn commit: r320794 - stable/11/sys/fs/nfsclient

2017-07-07 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 7 21:26:27 2017 New Revision: 320794 URL: https://svnweb.freebsd.org/changeset/base/320794 Log: MFC: r320208 Ensure that the credentials field of the NFSv4 client open structure is initialized. bdrewery@ has reported panics "newnfs_copycred: negative nfsc

Re: svn commit: r320659 - head/usr.sbin/nfsuserd

2017-07-06 Thread Rick Macklem
Konstantin Belousov wrote: [stuff snipped] >I wrote: >> >> The patches in PR#205193 change nfsuserd to use a local socket, >> which fixes this problem. However, the original poster of the PR had >> hangs when using the patches which was never resolved (I couldn't >> reproduce the hang). >So conside

svn commit: r320758 - head/usr.sbin/nfsuserd

2017-07-06 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 6 22:34:34 2017 New Revision: 320758 URL: https://svnweb.freebsd.org/changeset/base/320758 Log: Document the changes done to nfsuserd by r320757. This is a content change. Modified: head/usr.sbin/nfsuserd/nfsuserd.8 Modified: head/usr.sbin/nfsuserd/nfsuse

svn commit: r320757 - head/usr.sbin/nfsuserd

2017-07-06 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 6 22:04:37 2017 New Revision: 320757 URL: https://svnweb.freebsd.org/changeset/base/320757 Log: Modify the nfsuserd daemon so that it uses an AF_LOCAL socket for upcalls. This patch modifies the nfsuserd daemon so that it uses an AF_LOCAL socket for upcalls

svn commit: r320698 - head/sys/fs/nfs

2017-07-05 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 6 00:53:12 2017 New Revision: 320698 URL: https://svnweb.freebsd.org/changeset/base/320698 Log: Add support for AF_LOCAL socket upcalls to the nfsuserd daemon. This patch adds support for AF_LOCAL socket upcalls to an nfsuserd daemon that supports them. A f

Re: svn commit: r320659 - head/usr.sbin/nfsuserd

2017-07-05 Thread Rick Macklem
uck until someone can test the patches? rick From: Olivier Cochard-Labbé Sent: Wednesday, July 5, 2017 1:10:28 AM To: Rick Macklem Cc: svn-src-head; svn-src-all; src-committers; Konstantin Belousov Subject: Re: svn commit: r320659 - head/usr.sbin/nfsuserd O

svn commit: r320659 - head/usr.sbin/nfsuserd

2017-07-04 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 4 22:20:30 2017 New Revision: 320659 URL: https://svnweb.freebsd.org/changeset/base/320659 Log: Add a Bugs section that indicates that the nfsuserd doesn't work when jails are being used on the system. It is hoped that the patches in PR#205193 will someday get

svn commit: r320637 - in stable/10/sys: fs/nfs fs/nfsclient sys

2017-07-03 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 4 01:28:17 2017 New Revision: 320637 URL: https://svnweb.freebsd.org/changeset/base/320637 Log: MFC: r320062, r320070, r320126 This is a partial merge of only the NFS changes and not the maxbcachebuf tunable. The NFS client changes make the code handle di

svn commit: r320617 - stable/10/sys/fs/nfs

2017-07-03 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 3 20:12:31 2017 New Revision: 320617 URL: https://svnweb.freebsd.org/changeset/base/320617 Log: MFC: r319882 Define NFS_MAXXDR as the upper bound on XDR overhead in an NFS RPC. This definition is a part of the maxiotune2 patch that will be committed soon.

svn commit: r320615 - in stable/11/sys: fs/nfs fs/nfsclient kern sys

2017-07-03 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 3 19:46:12 2017 New Revision: 320615 URL: https://svnweb.freebsd.org/changeset/base/320615 Log: MFC: r319882, r320062, r320070, r320126 Make MAXBCACHEBUF a tunable called vfs.maxbcachebuf. By making MAXBCACHEBUF a tunable, it can be increased to allow for

svn commit: r320458 - head/sys/fs/nfsclient

2017-06-28 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 28 21:37:08 2017 New Revision: 320458 URL: https://svnweb.freebsd.org/changeset/base/320458 Log: Fix an NFSv3 client case that probably never happens. If an NFSv3 server were to reply with weak cache consistency attributes, but not post operation attributes,

svn commit: r320345 - in head/sys/fs: nfs nfsclient

2017-06-25 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 26 00:43:04 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 agai

svn commit: r320323 - head/usr.bin/nfsstat

2017-06-24 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 24 20:09:23 2017 New Revision: 320323 URL: https://svnweb.freebsd.org/changeset/base/320323 Log: Add RPC count reporting for the two new RPCs added by r320322. This is a content change. PR: 219550 MFC after:2 weeks Modified: head/usr.bi

svn commit: r320322 - in head/sys/fs: nfs nfsclient

2017-06-24 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 24 20:01:21 2017 New Revision: 320322 URL: https://svnweb.freebsd.org/changeset/base/320322 Log: 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

svn commit: r320208 - head/sys/fs/nfsclient

2017-06-21 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 22 00:17:15 2017 New Revision: 320208 URL: https://svnweb.freebsd.org/changeset/base/320208 Log: Ensure that the credentials field of the NFSv4 client open structure is initialized. bdrewery@ has reported panics "newnfs_copycred: negative nfsc_ngroups". Th

svn commit: r320126 - in head/sys: fs/nfs fs/nfsclient sys

2017-06-19 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 19 22:07:53 2017 New Revision: 320126 URL: https://svnweb.freebsd.org/changeset/base/320126 Log: Add the definition of maxbcachebuf to sys/buf.h. r320070 removed the definition of maxbcachebuf from sys/param.h to fix the build for arm. This patch adds the

svn commit: r320087 - head

2017-06-18 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 18 21:53:17 2017 New Revision: 320087 URL: https://svnweb.freebsd.org/changeset/base/320087 Log: Add an entry to UPDATING for the version bump done by r320085. Modified: head/UPDATING Modified: head/UPDATING =

svn commit: r320085 - in head/sys: fs/nfs fs/nfsclient fs/nfsserver sys

2017-06-18 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 18 21:48:31 2017 New Revision: 320085 URL: https://svnweb.freebsd.org/changeset/base/320085 Log: Fix the NFS client/server so that it actually uses the 64bit ino_t filenos. The code still doesn't use d_off. That will come in a future commit. The code also re

Re: svn commit: r320062 - in head/sys: fs/nfs fs/nfsclient kern sys

2017-06-18 Thread Rick Macklem
3:16:07 AM To: Rick Macklem; src-committ...@freebsd.org; svn-src-all@freebsd.org; svn-src-h...@freebsd.org Subject: Re: svn commit: r320062 - in head/sys: fs/nfs fs/nfsclient kern sys On 18.06.2017 0:24, Rick Macklem wrote: > Author: rmacklem > Date: Sat Jun 17 22:24:19 2017 > New Revisio

svn commit: r320070 - in head/sys: fs/nfs fs/nfsclient sys

2017-06-18 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 18 12:28:43 2017 New Revision: 320070 URL: https://svnweb.freebsd.org/changeset/base/320070 Log: Take "extern int maxbcachebuf" out of sys/param.h, since it breaks the arm build. In the arm build, elf_note.S includes sys/param.h and then does an elf macro

svn commit: r320062 - in head/sys: fs/nfs fs/nfsclient kern sys

2017-06-17 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 17 22:24:19 2017 New Revision: 320062 URL: https://svnweb.freebsd.org/changeset/base/320062 Log: Make MAXBCACHEBUF a tunable called vfs.maxbcachebuf. By making MAXBCACHEBUF a tunable, it can be increased to allow for larger read/write data sizes for the NFS

svn commit: r319882 - head/sys/fs/nfs

2017-06-12 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 12 23:41:20 2017 New Revision: 319882 URL: https://svnweb.freebsd.org/changeset/base/319882 Log: Define NFS_MAXXDR as the upper bound on XDR overhead in an NFS RPC. This definition is a part of the maxiotune2 patch that will be committed soon. It is being co

Re: svn commit: r318997 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/nfsclient kern sys

2017-05-30 Thread Rick Macklem
Konstantin Belousov wrote: >Thank you. >Indeed, the asignment should have been removed. Below is the proposed >correction. > >diff --git a/sys/fs/nfsclient/nfs_clport.c b/sys/fs/nfsclient/nfs_clport.c >index 509c38b8614..44c0eae0179 100644 >--- a/sys/fs/nfsclient/nfs_clport.c >+++ b/sys/fs/nfsclie

svn commit: r318685 - stable/10/sys/fs/nfsclient

2017-05-22 Thread Rick Macklem
Author: rmacklem Date: Mon May 22 22:10:02 2017 New Revision: 318685 URL: https://svnweb.freebsd.org/changeset/base/318685 Log: MFC: r318287 Make nfscl_mtofh() return ENXIO when *nfhpp == NULL. r317272 introduced a case where nfscl_mtofh() could return 0 when *nfhpp is NULL. This patch

svn commit: r318684 - stable/11/sys/fs/nfsclient

2017-05-22 Thread Rick Macklem
Author: rmacklem Date: Mon May 22 22:02:06 2017 New Revision: 318684 URL: https://svnweb.freebsd.org/changeset/base/318684 Log: MFC: r318287 Make nfscl_mtofh() return ENXIO when *nfhpp == NULL. r317272 introduced a case where nfscl_mtofh() could return 0 when *nfhpp is NULL. This patch

svn commit: r318683 - stable/10/sbin/mount_nfs

2017-05-22 Thread Rick Macklem
Author: rmacklem Date: Mon May 22 21:52:06 2017 New Revision: 318683 URL: https://svnweb.freebsd.org/changeset/base/318683 Log: MFC: r317931 Fix mount_nfs so that it doesn't create mounttab entries for NFSv4 mounts. The NFSv4 protocol doesn't use the Mount protocol, so it doesn't make sen

svn commit: r318682 - stable/11/sbin/mount_nfs

2017-05-22 Thread Rick Macklem
Author: rmacklem Date: Mon May 22 21:41:34 2017 New Revision: 318682 URL: https://svnweb.freebsd.org/changeset/base/318682 Log: MFC: r317931 Fix mount_nfs so that it doesn't create mounttab entries for NFSv4 mounts. The NFSv4 protocol doesn't use the Mount protocol, so it doesn't make sen

svn commit: r318675 - stable/10/sys/rpc

2017-05-22 Thread Rick Macklem
Author: rmacklem Date: Mon May 22 19:57:20 2017 New Revision: 318675 URL: https://svnweb.freebsd.org/changeset/base/318675 Log: MFC: r317906 Fix the client side krpc from doing TCP reconnects for ERESTART from sosend(). When sosend() replies ERESTART in the client side krpc, it indicates

svn commit: r318660 - stable/11/sys/rpc

2017-05-22 Thread Rick Macklem
Author: rmacklem Date: Mon May 22 19:34:37 2017 New Revision: 318660 URL: https://svnweb.freebsd.org/changeset/base/318660 Log: MFC: r317906 Fix the client side krpc from doing TCP reconnects for ERESTART from sosend(). When sosend() replies ERESTART in the client side krpc, it indicates

svn commit: r318589 - head/usr.sbin/mountd

2017-05-20 Thread Rick Macklem
Author: rmacklem Date: Sat May 20 23:25:07 2017 New Revision: 318589 URL: https://svnweb.freebsd.org/changeset/base/318589 Log: Update the exports.5 man page to reflect the change in default uid/gid made by r318262. This is a content change. Modified: head/usr.sbin/mountd/exports.5 Mo

svn commit: r318287 - head/sys/fs/nfsclient

2017-05-15 Thread Rick Macklem
Author: rmacklem Date: Mon May 15 13:14:13 2017 New Revision: 318287 URL: https://svnweb.freebsd.org/changeset/base/318287 Log: Make nfscl_mtofh() return ENXIO when *nfhpp == NULL. r317272 introduced a case where nfscl_mtofh() could return 0 when *nfhpp is NULL. This patch makes it return

Re: svn commit: r318262 - head/usr.sbin/mountd

2017-05-14 Thread Rick Macklem
nders seemed to support. rick From: Bruce Evans Sent: Saturday, May 13, 2017 11:35:00 PM To: Rick Macklem Cc: src-committ...@freebsd.org; svn-src-all@freebsd.org; svn-src-h...@freebsd.org Subject: Re: svn commit: r318262 - head/usr.sbin/mountd On Sun, 1

svn commit: r318262 - head/usr.sbin/mountd

2017-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 14 00:38:41 2017 New Revision: 318262 URL: https://svnweb.freebsd.org/changeset/base/318262 Log: Change the default uid/gid values for nobody/nogroup to 65534/65533. The default values found in /etc/passwd and /etc/group are 65534, 65533. In mountd.c, the de

svn commit: r318261 - stable/10/sys/fs/nfsclient

2017-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 14 00:23:27 2017 New Revision: 318261 URL: https://svnweb.freebsd.org/changeset/base/318261 Log: MFC: r317576 Modify the NFSv4.1/pNFS client to ask for a maximum length of layout. The code specified the length of a layout as INT64_MAX instead of UINT64_MAX

svn commit: r318260 - stable/11/sys/fs/nfsclient

2017-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 14 00:12:29 2017 New Revision: 318260 URL: https://svnweb.freebsd.org/changeset/base/318260 Log: MFC: r317576 Modify the NFSv4.1/pNFS client to ask for a maximum length of layout. The code specified the length of a layout as INT64_MAX instead of UINT64_MAX

svn commit: r318128 - stable/10/sys/fs/nfsclient

2017-05-09 Thread Rick Macklem
Author: rmacklem Date: Wed May 10 01:39:21 2017 New Revision: 318128 URL: https://svnweb.freebsd.org/changeset/base/318128 Log: MFC: r317465 Fix handling of a NFSv4.1 callback reply from the session cache. The nfsv4_seqsession() call returns NFSERR_REPLYFROMCACHE when it has a reply in

svn commit: r318127 - stable/11/sys/fs/nfsclient

2017-05-09 Thread Rick Macklem
Author: rmacklem Date: Wed May 10 01:28:58 2017 New Revision: 318127 URL: https://svnweb.freebsd.org/changeset/base/318127 Log: MFC: r317465 Fix handling of a NFSv4.1 callback reply from the session cache. The nfsv4_seqsession() call returns NFSERR_REPLYFROMCACHE when it has a reply in

svn commit: r317986 - stable/10/sys/fs/nfsserver

2017-05-08 Thread Rick Macklem
Author: rmacklem Date: Mon May 8 21:58:29 2017 New Revision: 317986 URL: https://svnweb.freebsd.org/changeset/base/317986 Log: MFC: r317382 Allow use of a write open stateid for reading in the NFSv4 server. The NFSv4 RFCs give a server the option of allowing the use of an open stateid

svn commit: r317985 - stable/11/sys/fs/nfsserver

2017-05-08 Thread Rick Macklem
Author: rmacklem Date: Mon May 8 21:49:55 2017 New Revision: 317985 URL: https://svnweb.freebsd.org/changeset/base/317985 Log: MFC: r317382 Allow use of a write open stateid for reading in the NFSv4 server. The NFSv4 RFCs give a server the option of allowing the use of an open stateid

<    1   2   3   4   5   6   7   8   9   10   >