svn commit: r347041 - stable/12/sys/fs/nfsserver

2019-05-02 Thread Rick Macklem
Author: rmacklem Date: Fri May 3 02:44:57 2019 New Revision: 347041 URL: https://svnweb.freebsd.org/changeset/base/347041 Log: MFC: r346423 Replace "vp" with NULL to make the code more readable. At the time of this nfsv4_sattr() call, "vp == NULL", so this patch doesn't change the

svn commit: r347040 - in stable/10/sys/fs: nfs nfsserver

2019-05-02 Thread Rick Macklem
Author: rmacklem Date: Fri May 3 02:30:01 2019 New Revision: 347040 URL: https://svnweb.freebsd.org/changeset/base/347040 Log: MFC: r346365 Fix the NFSv4.0 server so that it does not support NFSv4.1 attributes. During inspection of a packet trace, I noticed that an NFSv4.0 mount

svn commit: r347039 - in stable/11/sys/fs: nfs nfsserver

2019-05-02 Thread Rick Macklem
Author: rmacklem Date: Fri May 3 02:17:52 2019 New Revision: 347039 URL: https://svnweb.freebsd.org/changeset/base/347039 Log: MFC: r346365 Fix the NFSv4.0 server so that it does not support NFSv4.1 attributes. During inspection of a packet trace, I noticed that an NFSv4.0 mount

svn commit: r347038 - in stable/12/sys/fs: nfs nfsserver

2019-05-02 Thread Rick Macklem
Author: rmacklem Date: Fri May 3 02:03:29 2019 New Revision: 347038 URL: https://svnweb.freebsd.org/changeset/base/347038 Log: MFC: r346365 Fix the NFSv4.0 server so that it does not support NFSv4.1 attributes. During inspection of a packet trace, I noticed that an NFSv4.0 mount

svn commit: r347010 - stable/10/usr.sbin/nfsdumpstate

2019-05-01 Thread Rick Macklem
Author: rmacklem Date: Thu May 2 01:17:55 2019 New Revision: 347010 URL: https://svnweb.freebsd.org/changeset/base/347010 Log: MFC: r346709 Add support to nfsdumpstate for printing of INET6 addresses for locks. r346190 added support for printing of INET6 addresses for the "-o" option

svn commit: r347009 - stable/11/usr.sbin/nfsdumpstate

2019-05-01 Thread Rick Macklem
Author: rmacklem Date: Thu May 2 01:11:49 2019 New Revision: 347009 URL: https://svnweb.freebsd.org/changeset/base/347009 Log: MFC: r346709 Add support to nfsdumpstate for printing of INET6 addresses for locks. r346190 added support for printing of INET6 addresses for the "-o" option

svn commit: r347008 - stable/12/usr.sbin/nfsdumpstate

2019-05-01 Thread Rick Macklem
Author: rmacklem Date: Thu May 2 01:02:26 2019 New Revision: 347008 URL: https://svnweb.freebsd.org/changeset/base/347008 Log: MFC: r346709 Add support to nfsdumpstate for printing of INET6 addresses for locks. r346190 added support for printing of INET6 addresses for the "-o" option

Re: svn commit: r346775 - stable/11/usr.sbin/nfsdumpstate

2019-04-29 Thread Rick Macklem
nt: Monday, April 29, 2019 3:22:08 AM To: Rick Macklem Cc: src-committ...@freebsd.org; svn-src-all@freebsd.org; svn-src-sta...@freebsd.org; svn-src-stable...@freebsd.org Subject: Re: svn commit: r346775 - stable/11/usr.sbin/nfsdumpstate On Sat, 27-Apr-2019 at 02:13:15 +0000, Rick Macklem wrote

svn commit: r346856 - head/usr.sbin/nfsdumpstate

2019-04-28 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 28 22:37:59 2019 New Revision: 346856 URL: https://svnweb.freebsd.org/changeset/base/346856 Log: Add #ifdef INET6 around declaration of nbuf. It was reported that without #ifdef INET6 around the declaration of "nbuf", a build would report an unused

svn commit: r346779 - in stable/10/sys: fs/nfsserver modules/nfsd

2019-04-26 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 27 02:43:27 2019 New Revision: 346779 URL: https://svnweb.freebsd.org/changeset/base/346779 Log: MFC: r346191 Add support for INET6 addresses to the kernel code that dumps open/lock state. PR#223036 reported that INET6 callback addresses were not printed by

svn commit: r346778 - stable/10/usr.sbin/nfsdumpstate

2019-04-26 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 27 02:34:10 2019 New Revision: 346778 URL: https://svnweb.freebsd.org/changeset/base/346778 Log: MFC: r346190 Fix nfsdumpstate(8) so that it can print out INET6 callback addresses. The patch adds support for printing of INET6 callback addresses. It also

svn commit: r346776 - in stable/11/sys: fs/nfsserver modules/nfsd

2019-04-26 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 27 02:24:58 2019 New Revision: 346776 URL: https://svnweb.freebsd.org/changeset/base/346776 Log: MFC: r346191 Add support for INET6 addresses to the kernel code that dumps open/lock state. PR#223036 reported that INET6 callback addresses were not printed by

svn commit: r346775 - stable/11/usr.sbin/nfsdumpstate

2019-04-26 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 27 02:13:15 2019 New Revision: 346775 URL: https://svnweb.freebsd.org/changeset/base/346775 Log: MFC: r346190 Fix nfsdumpstate(8) so that it can print out INET6 callback addresses. The patch adds support for printing of INET6 callback addresses. It also

svn commit: r346774 - stable/12/usr.bin/nfsstat

2019-04-26 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 27 02:05:04 2019 New Revision: 346774 URL: https://svnweb.freebsd.org/changeset/base/346774 Log: MFC: r346192 Fix printing of the line that starts with "LocalOpen...". When "nfsstat -E -c" was done, the title line starting with "LocalOpen..." was not

svn commit: r346773 - in stable/12/sys: fs/nfsserver modules/nfsd

2019-04-26 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 27 01:58:51 2019 New Revision: 346773 URL: https://svnweb.freebsd.org/changeset/base/346773 Log: MFC: r346191 Add support for INET6 addresses to the kernel code that dumps open/lock state. PR#223036 reported that INET6 callback addresses were not printed by

svn commit: r346772 - stable/12/usr.sbin/nfsdumpstate

2019-04-26 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 27 01:50:09 2019 New Revision: 346772 URL: https://svnweb.freebsd.org/changeset/base/346772 Log: MFC: r346190 Fix nfsdumpstate(8) so that it can print out INET6 callback addresses. The patch adds support for printing of INET6 callback addresses. It also

svn commit: r346709 - head/usr.sbin/nfsdumpstate

2019-04-25 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 25 21:25:32 2019 New Revision: 346709 URL: https://svnweb.freebsd.org/changeset/base/346709 Log: Add support to nfsdumpstate for printing of INET6 addresses for locks. r346190 added support for printing of INET6 addresses for the "-o" option (all opens) but

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

2019-04-21 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 21 22:53:51 2019 New Revision: 346506 URL: https://svnweb.freebsd.org/changeset/base/346506 Log: Add #ifdef INET as requested by bz@. Modified: head/sys/fs/nfs/nfs_commonsubs.c Modified: head/sys/fs/nfs/nfs_commonsubs.c

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

2019-04-21 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 21 14:45:18 2019 New Revision: 346487 URL: https://svnweb.freebsd.org/changeset/base/346487 Log: Fix Makefile after r346467 merged incorrect include file. Modified: stable/10/usr.sbin/nfsuserd/Makefile Modified: stable/10/usr.sbin/nfsuserd/Makefile

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

2019-04-20 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 21 01:33:13 2019 New Revision: 346468 URL: https://svnweb.freebsd.org/changeset/base/346468 Log: MFC: r345995 Delete the BUGS entry related to failing when jails are enabled. r345994 has finally fixed the bug that caused the nfsuserd(8) daemon to fail

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

2019-04-20 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 21 01:25:27 2019 New Revision: 346467 URL: https://svnweb.freebsd.org/changeset/base/346467 Log: MFC: r345994 Fix nfsuserd so that it handles the mapped localhost address when jails are enabled. The nfsuserd(8) daemon does not function correctly when

svn commit: r346466 - in stable/10/sys: fs/nfs modules/nfscommon

2019-04-20 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 21 01:15:54 2019 New Revision: 346466 URL: https://svnweb.freebsd.org/changeset/base/346466 Log: MFC: r345992, r346087 Add INET6 support for the upcalls to the nfsuserd daemon. The kernel code uses UDP to do upcalls to the nfsuserd(8) daemon to get

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

2019-04-20 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 21 00:59:21 2019 New Revision: 346465 URL: https://svnweb.freebsd.org/changeset/base/346465 Log: MFC: r345995 Delete the BUGS entry related to failing when jails are enabled. r345994 has finally fixed the bug that caused the nfsuserd(8) daemon to fail

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

2019-04-20 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 21 00:51:43 2019 New Revision: 346464 URL: https://svnweb.freebsd.org/changeset/base/346464 Log: MFC: r345994 Fix nfsuserd so that it handles the mapped localhost address when jails are enabled. The nfsuserd(8) daemon does not function correctly when

svn commit: r346463 - in stable/11/sys: fs/nfs modules/nfscommon

2019-04-20 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 21 00:41:06 2019 New Revision: 346463 URL: https://svnweb.freebsd.org/changeset/base/346463 Log: MFC: r345992, r346087 Add INET6 support for the upcalls to the nfsuserd daemon. The kernel code uses UDP to do upcalls to the nfsuserd(8) daemon to get

svn commit: r346462 - stable/12/usr.sbin/nfsuserd

2019-04-20 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 21 00:11:58 2019 New Revision: 346462 URL: https://svnweb.freebsd.org/changeset/base/346462 Log: MFC: r345995 Delete the BUGS entry related to failing when jails are enabled. r345994 has finally fixed the bug that caused the nfsuserd(8) daemon to fail

svn commit: r346461 - stable/12/usr.sbin/nfsuserd

2019-04-20 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 21 00:05:12 2019 New Revision: 346461 URL: https://svnweb.freebsd.org/changeset/base/346461 Log: MFC: r345994 Fix nfsuserd so that it handles the mapped localhost address when jails are enabled. The nfsuserd(8) daemon does not function correctly when

svn commit: r346460 - in stable/12/sys: fs/nfs modules/nfscommon

2019-04-20 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 20 23:46:06 2019 New Revision: 346460 URL: https://svnweb.freebsd.org/changeset/base/346460 Log: MFC: r345992, r346087 Add INET6 support for the upcalls to the nfsuserd daemon. The kernel code uses UDP to do upcalls to the nfsuserd(8) daemon to get

svn commit: r346424 - in head/sys/fs: nfs nfsserver

2019-04-19 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 19 23:35:08 2019 New Revision: 346424 URL: https://svnweb.freebsd.org/changeset/base/346424 Log: Add support for the ModeSetMasked attribute to the NFSv4.1 server. I do not know of an extant NFSv4.1 client that currently does a Setattr operation for the

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

2019-04-19 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 19 23:27:23 2019 New Revision: 346423 URL: https://svnweb.freebsd.org/changeset/base/346423 Log: Replace "vp" with NULL to make the code more readable. At the time of this nfsv4_sattr() call, "vp == NULL", so this patch doesn't change the semantics, but I

svn commit: r346365 - in head/sys/fs: nfs nfsserver

2019-04-18 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 19 03:36:22 2019 New Revision: 346365 URL: https://svnweb.freebsd.org/changeset/base/346365 Log: Fix the NFSv4.0 server so that it does not support NFSv4.1 attributes. During inspection of a packet trace, I noticed that an NFSv4.0 mount reported that it

svn commit: r346344 - stable/10/sys/rpc/rpcsec_gss

2019-04-17 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 18 02:54:07 2019 New Revision: 346344 URL: https://svnweb.freebsd.org/changeset/base/346344 Log: MFC: r345866 Fix malloc stats for the RPCSEC_GSS server code when DEBUG is enabled. The code enabled when "DEBUG" is defined uses mem_alloc(), which is a

svn commit: r346343 - stable/11/sys/rpc/rpcsec_gss

2019-04-17 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 18 02:47:59 2019 New Revision: 346343 URL: https://svnweb.freebsd.org/changeset/base/346343 Log: MFC: r345866 Fix malloc stats for the RPCSEC_GSS server code when DEBUG is enabled. The code enabled when "DEBUG" is defined uses mem_alloc(), which is a

svn commit: r346342 - stable/12/sys/rpc/rpcsec_gss

2019-04-17 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 18 02:32:04 2019 New Revision: 346342 URL: https://svnweb.freebsd.org/changeset/base/346342 Log: MFC: r345866 Fix malloc stats for the RPCSEC_GSS server code when DEBUG is enabled. The code enabled when "DEBUG" is defined uses mem_alloc(), which is a

svn commit: r346262 - stable/10/sys/rpc/rpcsec_gss

2019-04-15 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 16 02:48:04 2019 New Revision: 346262 URL: https://svnweb.freebsd.org/changeset/base/346262 Log: MFC: r345818, r345828 Fix a race in the RPCSEC_GSS server code that caused crashes. When a new client structure was allocated, it was added to the list so

svn commit: r346260 - stable/11/sys/rpc/rpcsec_gss

2019-04-15 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 16 02:38:39 2019 New Revision: 346260 URL: https://svnweb.freebsd.org/changeset/base/346260 Log: MFC: r345818, r345828 Fix a race in the RPCSEC_GSS server code that caused crashes. When a new client structure was allocated, it was added to the list so

svn commit: r346258 - stable/12/sys/rpc/rpcsec_gss

2019-04-15 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 16 02:12:38 2019 New Revision: 346258 URL: https://svnweb.freebsd.org/changeset/base/346258 Log: MFC: r345818, r345828 Fix a race in the RPCSEC_GSS server code that caused crashes. When a new client structure was allocated, it was added to the list so

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

2019-04-14 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 15 01:27:15 2019 New Revision: 346217 URL: https://svnweb.freebsd.org/changeset/base/346217 Log: Fix the NFSv4 client to safely find processes. r340744 broke the NFSv4 client, because it replaced pfind_locked() with a call to pfind(), since pfind() acquires

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

2019-04-13 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 13 23:26:02 2019 New Revision: 346192 URL: https://svnweb.freebsd.org/changeset/base/346192 Log: Fix printing of the line that starts with "LocalOpen...". When "nfsstat -E -c" was done, the title line starting with "LocalOpen..." was not being displayed.

svn commit: r346191 - in head/sys: fs/nfsserver modules/nfsd

2019-04-13 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 13 22:00:09 2019 New Revision: 346191 URL: https://svnweb.freebsd.org/changeset/base/346191 Log: Add support for INET6 addresses to the kernel code that dumps open/lock state. PR#223036 reported that INET6 callback addresses were not printed by

svn commit: r346190 - head/usr.sbin/nfsdumpstate

2019-04-13 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 13 21:45:45 2019 New Revision: 346190 URL: https://svnweb.freebsd.org/changeset/base/346190 Log: Fix nfsdumpstate(8) so that it can print out INET6 callback addresses. The patch adds support for printing of INET6 callback addresses. It also adds the #ifdef

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

2019-04-06 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 6 22:14:03 2019 New Revision: 345995 URL: https://svnweb.freebsd.org/changeset/base/345995 Log: Delete the BUGS entry related to failing when jails are enabled. r345994 has finally fixed the bug that caused the nfsuserd(8) daemon to fail when jails were

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

2019-04-06 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 6 22:05:51 2019 New Revision: 345994 URL: https://svnweb.freebsd.org/changeset/base/345994 Log: Fix nfsuserd so that it handles the mapped localhost address when jails are enabled. The nfsuserd(8) daemon does not function correctly when jails are enabled,

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

2019-04-06 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 6 21:53:46 2019 New Revision: 345992 URL: https://svnweb.freebsd.org/changeset/base/345992 Log: Add INET6 support for the upcalls to the nfsuserd daemon. The kernel code uses UDP to do upcalls to the nfsuserd(8) daemon to get updates to the username<->uid

svn commit: r345898 - head

2019-04-04 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 4 23:40:30 2019 New Revision: 345898 URL: https://svnweb.freebsd.org/changeset/base/345898 Log: Add an entry to UPDATING for r345895, which affects the use of nfsuserd daemons built from head sources between July 6, 2017 and Aug. 22, 2018. Modified:

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

2019-04-04 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 4 23:30:27 2019 New Revision: 345895 URL: https://svnweb.freebsd.org/changeset/base/345895 Log: Revert r320698, since the related userland changes were reverted by r338192. r338192 reverted the changes to nfsuserd so that it could use an AF_LOCAL socket,

svn commit: r345866 - head/sys/rpc/rpcsec_gss

2019-04-03 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 4 01:23:06 2019 New Revision: 345866 URL: https://svnweb.freebsd.org/changeset/base/345866 Log: Fix malloc stats for the RPCSEC_GSS server code when DEBUG is enabled. The code enabled when "DEBUG" is defined uses mem_alloc(), which is a malloc(.., M_RPC,

svn commit: r345828 - head/sys/rpc/rpcsec_gss

2019-04-02 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 3 03:50:16 2019 New Revision: 345828 URL: https://svnweb.freebsd.org/changeset/base/345828 Log: Add a comment to the r345818 patch to explain why cl_refs is initialized to 2. PR: 235582 MFC after:2 weeks Modified:

svn commit: r345818 - head/sys/rpc/rpcsec_gss

2019-04-02 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 2 23:51:08 2019 New Revision: 345818 URL: https://svnweb.freebsd.org/changeset/base/345818 Log: Fix a race in the RPCSEC_GSS server code that caused crashes. When a new client structure was allocated, it was added to the list so that it was visible to

Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver

2019-03-04 Thread Rick Macklem
Cy Schubert wrote: >Sent: Monday, March 4, 2019 3:25 PM >To: Edward Napierala >Cc: Cy Schubert; Konstantin Belousov; src-committers; svn-src-all@freebsd.org; >svn-src->h...@freebsd.org >Subject: Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver > >In message , Edward Napierala writes: >>

svn commit: r342582 - stable/11

2018-12-28 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 29 00:06:41 2018 New Revision: 342582 URL: https://svnweb.freebsd.org/changeset/base/342582 Log: Add an UPDATING entry for r342562. This is a direct commit. Modified: stable/11/UPDATING Modified: stable/11/UPDATING

svn commit: r342581 - stable/12

2018-12-28 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 29 00:00:39 2018 New Revision: 342581 URL: https://svnweb.freebsd.org/changeset/base/342581 Log: Add an UPDATING entry for r342561. This is a direct commit. Modified: stable/12/UPDATING Modified: stable/12/UPDATING

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

2018-12-27 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 28 00:26:19 2018 New Revision: 342562 URL: https://svnweb.freebsd.org/changeset/base/342562 Log: MFC: r342286 Fix the NFSv4 server to obey vfs.nfsd.nfs_privport. When the NFSv4 server was coded, I believed that the specification authors did not want NFSv4

svn commit: r342561 - stable/12/sys/fs/nfsserver

2018-12-27 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 28 00:10:31 2018 New Revision: 342561 URL: https://svnweb.freebsd.org/changeset/base/342561 Log: MFC: r342286 Fix the NFSv4 server to obey vfs.nfsd.nfs_privport. When the NFSv4 server was coded, I believed that the specification authors did not want NFSv4

svn commit: r342287 - head

2018-12-20 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 20 22:26:54 2018 New Revision: 342287 URL: https://svnweb.freebsd.org/changeset/base/342287 Log: Add an UPDATING message for r342286. Modified: head/UPDATING Modified: head/UPDATING ==

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

2018-12-20 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 20 22:21:41 2018 New Revision: 342286 URL: https://svnweb.freebsd.org/changeset/base/342286 Log: Fix the NFSv4 server to obey vfs.nfsd.nfs_privport. When the NFSv4 server was coded, I believed that the specification authors did not want NFSv4 servers to

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

2018-11-22 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 23 00:17:47 2018 New Revision: 340787 URL: https://svnweb.freebsd.org/changeset/base/340787 Log: Make sure the NFS readdir client fills in all "struct dirent" data. The NFS client code (nfsrpc_readdir() and nfsrpc_readdirplus()) wasn't filling in parts of

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

2018-11-19 Thread Rick Macklem
>Author: rmacklem >Date: Tue Nov 20 01:52:45 2018 >New Revision: 340661 >URL: https://svnweb.freebsd.org/changeset/base/340661 > >Log: > r304026 added code that started statistics gathering for an operation > before the operation number (the variable called "op") was sanity checked. > This

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

2018-11-19 Thread Rick Macklem
Author: rmacklem Date: Tue Nov 20 01:59:57 2018 New Revision: 340663 URL: https://svnweb.freebsd.org/changeset/base/340663 Log: Improve sanity checking for the dircount hint argument to NFSv3's ReaddirPlus and NFSv4's Readdir operations. The code checked for a zero argument, but did not

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

2018-11-19 Thread Rick Macklem
Author: rmacklem Date: Tue Nov 20 01:56:34 2018 New Revision: 340662 URL: https://svnweb.freebsd.org/changeset/base/340662 Log: nfsm_advance() would panic() when the offs argument was negative. The code assumed that this would indicate a corrupted mbuf chain, but it could simply be caused

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

2018-11-19 Thread Rick Macklem
Author: rmacklem Date: Tue Nov 20 01:52:45 2018 New Revision: 340661 URL: https://svnweb.freebsd.org/changeset/base/340661 Log: r304026 added code that started statistics gathering for an operation before the operation number (the variable called "op") was sanity checked. This patch moves

svn commit: r340590 - stable/12/sys/fs/nfsclient

2018-11-18 Thread Rick Macklem
Author: rmacklem Date: Mon Nov 19 00:49:08 2018 New Revision: 340590 URL: https://svnweb.freebsd.org/changeset/base/340590 Log: MFC: r33 Fix NFS client vnode locking to avoid a crash during forced dismount. A crash was reported where the crash occurred in nfs_advlock() when the

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

2018-11-18 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 18 23:48:15 2018 New Revision: 340589 URL: https://svnweb.freebsd.org/changeset/base/340589 Log: MFC: r33 Fix NFS client vnode locking to avoid a crash during forced dismount. A crash was reported where the crash occurred in nfs_advlock() when the

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

2018-11-18 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 18 22:59:54 2018 New Revision: 340588 URL: https://svnweb.freebsd.org/changeset/base/340588 Log: MFC: r33 Fix NFS client vnode locking to avoid a crash during forced dismount. A crash was reported where the crash occurred in nfs_advlock() when the

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

2018-11-06 Thread Rick Macklem
Author: rmacklem Date: Tue Nov 6 22:50:50 2018 New Revision: 340207 URL: https://svnweb.freebsd.org/changeset/base/340207 Log: Change nfs_advlock() so that the NFSVOPUNLOCK() is mostly done at the end. Prior to this patch, nfs_advlock() did NFSVOPUNLOCK(); return (error); in many

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

2018-11-01 Thread Rick Macklem
Author: rmacklem Date: Thu Nov 1 15:27:22 2018 New Revision: 33 URL: https://svnweb.freebsd.org/changeset/base/33 Log: Fix NFS client vnode locking to avoid a crash during forced dismount. A crash was reported where the crash occurred in nfs_advlock() when the NFS_ISV4(vp) macro

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

2018-10-08 Thread Rick Macklem
Author: rmacklem Date: Tue Oct 9 01:10:50 2018 New Revision: 339247 URL: https://svnweb.freebsd.org/changeset/base/339247 Log: Fix the pNFS server's reporting of disk space usage for the "#" case. The pNFS server would report the total disk space used and free for all of the DSs, even

Re: svn commit: r337776 - head/sys/netinet6

2018-08-30 Thread Rick Macklem
Sorry for the top post, but I'm on a web based email. p...@freebsd.org reported a problem w.r.t. IPv6 fragmentation when using NFS. (He switched from UDP --> TCP and the problem went away.) It's over here on freebsd-stable: http://docs.FreeBSD.org/cgi/mid.cgi?20180827155651.GW2118 I don't know if

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

2018-08-24 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 24 22:48:19 2018 New Revision: 338308 URL: https://svnweb.freebsd.org/changeset/base/338308 Log: MFC: r337438 Allow newnfs_request() to retry all callback RPCs with an NFSERR_DELAY reply. The code in newnfs_request() retries RPCs that get a reply of

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

2018-08-24 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 24 22:41:32 2018 New Revision: 338307 URL: https://svnweb.freebsd.org/changeset/base/338307 Log: MFC: r337438 Allow newnfs_request() to retry all callback RPCs with an NFSERR_DELAY reply. The code in newnfs_request() retries RPCs that get a reply of

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

2018-08-22 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 23 00:05:13 2018 New Revision: 338217 URL: https://svnweb.freebsd.org/changeset/base/338217 Log: Fix the nfsuserd.8 man page for the changes made to support uid/gid numbers in owner and owner_group strings. This is a content change. Modified:

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

2018-08-22 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 22 12:26:17 2018 New Revision: 338193 URL: https://svnweb.freebsd.org/changeset/base/338193 Log: Revert r320758, which was the man page update for r320757 just reverted. This is a content change. PR: 230752 Modified:

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

2018-08-22 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 22 12:20:10 2018 New Revision: 338192 URL: https://svnweb.freebsd.org/changeset/base/338192 Log: Revert r320757 since it can cause "excl->shared" panics. PR#230752 shows a panic where an nfsd thread tries to do soconnect() on the AF_LOCAL socket used by the

svn commit: r338132 - in stable/10/sys/fs: nfs nfsserver

2018-08-21 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 21 11:17:25 2018 New Revision: 338132 URL: https://svnweb.freebsd.org/changeset/base/338132 Log: MFC: r336839 Modify the NFSv4.1 server so that it allows ReclaimComplete as done by ESXi 6.7. I believe that a ReclaimComplete with rca_one_fs == TRUE is only

svn commit: r338131 - in stable/11/sys/fs: nfs nfsserver

2018-08-21 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 21 11:10:49 2018 New Revision: 338131 URL: https://svnweb.freebsd.org/changeset/base/338131 Log: MFC: r336839 Modify the NFSv4.1 server so that it allows ReclaimComplete as done by ESXi 6.7. I believe that a ReclaimComplete with rca_one_fs == TRUE is only

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

2018-08-18 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 18 19:14:06 2018 New Revision: 338019 URL: https://svnweb.freebsd.org/changeset/base/338019 Log: Fix LORs between vn_start_write() and vn_lock() in nfsrv_copymr(). When coding the pNFS server, I added vn_start_write() calls in nfsrv_copymr() done while the

svn commit: r337990 - in head/sys/fs: nfs nfsserver

2018-08-17 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 17 21:12:16 2018 New Revision: 337990 URL: https://svnweb.freebsd.org/changeset/base/337990 Log: Fix LORs between vn_start_write() and vn_lock() in the pNFS server. When coding the pNFS server, I added several vn_start_write() calls done while the vnode was

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

2018-08-17 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 17 12:32:38 2018 New Revision: 337962 URL: https://svnweb.freebsd.org/changeset/base/337962 Log: Don't set a file's size for the MDS file of a pNFS service. When a pNFS service is running, the size of the files created on the MDS are normally 0, since the

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

2018-08-08 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 9 00:15:28 2018 New Revision: 337509 URL: https://svnweb.freebsd.org/changeset/base/337509 Log: Fix a typo plus add a couple of sentences to pnfsserver.4. This is a content change. Modified: head/usr.sbin/nfsd/pnfsserver.4 Modified:

svn commit: r337502 - head/usr.sbin/pnfsdscopymr

2018-08-08 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 8 20:30:12 2018 New Revision: 337502 URL: https://svnweb.freebsd.org/changeset/base/337502 Log: Fix the err() arguments for a nfssvc(8) failure. argv has been incremented during argument handling, so elements of the array are no longer valid. Change the

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

2018-08-08 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 8 20:21:45 2018 New Revision: 337501 URL: https://svnweb.freebsd.org/changeset/base/337501 Log: Assorted fixes to handling of LayoutRecall callbacks, mostly error handling. After a re-read of the appropriate section of RFC5661, I decided that a few things

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

2018-08-07 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 7 21:29:14 2018 New Revision: 337438 URL: https://svnweb.freebsd.org/changeset/base/337438 Log: Allow newnfs_request() to retry all callback RPCs with an NFSERR_DELAY reply. The code in newnfs_request() retries RPCs that get a reply of NFSERR_DELAY, but

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

2018-08-05 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 5 20:36:48 2018 New Revision: 337363 URL: https://svnweb.freebsd.org/changeset/base/337363 Log: Add a reference to pnfsserver.4 to the nfsd.8 man page. This is a content change. Modified: head/usr.sbin/nfsd/nfsd.8 Modified: head/usr.sbin/nfsd/nfsd.8

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

2018-08-05 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 5 20:20:04 2018 New Revision: 337362 URL: https://svnweb.freebsd.org/changeset/base/337362 Log: Update the pnfs.4 man page to reference the pnfsserver.4 man page. This is a content change. Modified: head/usr.sbin/nfsd/pnfs.4 Modified:

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

2018-08-05 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 5 20:15:33 2018 New Revision: 337361 URL: https://svnweb.freebsd.org/changeset/base/337361 Log: Add pnfsserver.4 to the Makefile for nfsd. Modified: head/usr.sbin/nfsd/Makefile Modified: head/usr.sbin/nfsd/Makefile

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

2018-08-05 Thread Rick Macklem
ht (c) 2018 Rick Macklem +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\"

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

2018-08-05 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 5 19:21:50 2018 New Revision: 337357 URL: https://svnweb.freebsd.org/changeset/base/337357 Log: Copy all bits of a file handle in case there is padding in the structure. At least on x86, fhandle_t is a packed structure, so I believe an assignment will copy

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

2018-08-02 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 2 20:10:59 2018 New Revision: 337170 URL: https://svnweb.freebsd.org/changeset/base/337170 Log: Silence newer gcc warnings. Newer versions of gcc generate "might not be initialized" warnings for several variables in nfsrpc_doiods(). I have checked and all

svn commit: r337064 - in stable/11/sys/fs: nfs nfsserver

2018-08-01 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 2 03:13:59 2018 New Revision: 337064 URL: https://svnweb.freebsd.org/changeset/base/337064 Log: MFC: r336357 Modify the reasons for not issuing a delegation in the NFSv4.1 server. The ESXi NFSv4.1 client will generate warning messages when the reason for

svn commit: r337058 - in stable/10/sys/fs: nfs nfsserver

2018-08-01 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 1 19:25:12 2018 New Revision: 337058 URL: https://svnweb.freebsd.org/changeset/base/337058 Log: MFC: r336357 Modify the reasons for not issuing a delegation in the NFSv4.1 server. The ESXi NFSv4.1 client will generate warning messages when the reason for

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

2018-07-31 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 31 21:02:45 2018 New Revision: 337006 URL: https://svnweb.freebsd.org/changeset/base/337006 Log: MFC: r336215 Ignore the cookie verifier for NFSv4.1 when the cookie is 0. RFC5661 states that the cookie verifier should be 0 when the cookie is 0. However,

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

2018-07-31 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 31 20:57:31 2018 New Revision: 337005 URL: https://svnweb.freebsd.org/changeset/base/337005 Log: MFC: r336215 Ignore the cookie verifier for NFSv4.1 when the cookie is 0. RFC5661 states that the cookie verifier should be 0 when the cookie is 0. However,

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

2018-07-30 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 30 20:25:32 2018 New Revision: 336933 URL: https://svnweb.freebsd.org/changeset/base/336933 Log: Silence newer gcc warnings. Newer versions of gcc generate "set, but not used" warnings. Add __unused macros to silence these warnings. Although the variables

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

2018-07-30 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 30 19:29:31 2018 New Revision: 336928 URL: https://svnweb.freebsd.org/changeset/base/336928 Log: MFC: r335866 Fix the server side krpc so that the kernel nfsd threads terminate. Occationally the kernel nfsd threads would not terminate when a SIGKILL was

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

2018-07-30 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 30 19:23:52 2018 New Revision: 336927 URL: https://svnweb.freebsd.org/changeset/base/336927 Log: MFC: r335866 Fix the server side krpc so that the kernel nfsd threads terminate. Occationally the kernel nfsd threads would not terminate when a SIGKILL was

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

2018-07-30 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 30 12:17:10 2018 New Revision: 336899 URL: https://svnweb.freebsd.org/changeset/base/336899 Log: MFC: r334966 Add a couple of safety belt checks to the NFSv4.1 client related to sessions. There were a couple of cases in newnfs_request() that it assumed that

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

2018-07-30 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 30 12:10:23 2018 New Revision: 336898 URL: https://svnweb.freebsd.org/changeset/base/336898 Log: MFC: r334966 Add a couple of safety belt checks to the NFSv4.1 client related to sessions. There were a couple of cases in newnfs_request() that it assumed that

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

2018-07-29 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 29 21:51:17 2018 New Revision: 336878 URL: https://svnweb.freebsd.org/changeset/base/336878 Log: Silence newer gcc warnings. Newer versions of gcc generate "set, but not used" warnings in the NFS server. Add __unused macros to silence these warnings.

svn commit: r336846 - in stable/10/sys/fs: nfs nfsserver

2018-07-28 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 28 20:38:08 2018 New Revision: 336846 URL: https://svnweb.freebsd.org/changeset/base/336846 Log: MFC: r334492 Add the BindConnectiontoSession operation to the NFSv4.1 server. Under some fairly unusual circumstances, the Linux NFSv4.1 client is doing a

svn commit: r336842 - in stable/11/sys/fs: nfs nfsserver

2018-07-28 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 28 20:29:05 2018 New Revision: 336842 URL: https://svnweb.freebsd.org/changeset/base/336842 Log: MFC: r334492 Add the BindConnectiontoSession operation to the NFSv4.1 server. Under some fairly unusual circumstances, the Linux NFSv4.1 client is doing a

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