svn commit: r354575 - head/lib/libc/sys

2019-11-09 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 10 01:13:41 2019 New Revision: 354575 URL: https://svnweb.freebsd.org/changeset/base/354575 Log: Update the copy_file_range man page to reflect the semantic change done by r354574. This is a content change. Modified: head/lib/libc/sys/copy_file_range.2

svn commit: r354574 - head/sys/kern

2019-11-09 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 10 01:08:14 2019 New Revision: 354574 URL: https://svnweb.freebsd.org/changeset/base/354574 Log: Update copy_file_range(2) to be Linux5 compatible. The current linux man page and testing done on a fairly recent linux5.n kernel have identified two changes to

svn commit: r354566 - head/share/man/man9

2019-11-08 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 8 23:58:33 2019 New Revision: 354566 URL: https://svnweb.freebsd.org/changeset/base/354566 Log: Update the VOP_COPY_FILE_RANGE.9 man page to reflect the semantic change implemented by r354564. This is a content change. Modified:

svn commit: r354565 - head/lib/libc/sys

2019-11-08 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 8 23:49:27 2019 New Revision: 354565 URL: https://svnweb.freebsd.org/changeset/base/354565 Log: Update the copy_file_range.2 man page to reflect the semantic change implemented by r354564. This is a content change. Modified:

svn commit: r354564 - head/sys/kern

2019-11-08 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 8 23:39:17 2019 New Revision: 354564 URL: https://svnweb.freebsd.org/changeset/base/354564 Log: Update copy_file_range(2) to be Linux5 compatible. The current linux man page and testing done on a fairly recent linux5.n kernel have identified two changes to

svn commit: r354528 - head/share/man/man9

2019-11-07 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 8 06:40:17 2019 New Revision: 354528 URL: https://svnweb.freebsd.org/changeset/base/354528 Log: Fix the man page to correctly describe the use of the "len" argument. The man page incorrectly described the use of the"len" argument, which is updated to the

svn commit: r354164 - in stable/12/sys/fs: nfs nfsclient

2019-10-29 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 30 01:57:40 2019 New Revision: 354164 URL: https://svnweb.freebsd.org/changeset/base/354164 Log: MFC: r352736 Replace all mtx_assert() calls for n_mtx and ncl_iod_mutex with macros. To be consistent with replacing the mtx_lock()/mtx_unlock() calls on the

svn commit: r354142 - in stable/12/sys/fs: nfs nfsclient

2019-10-28 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 28 22:54:36 2019 New Revision: 354142 URL: https://svnweb.freebsd.org/changeset/base/354142 Log: MFC: r352664 Replace all mtx_lock()/mtx_unlock() on the iod lock with macros. Since the NFS node mutex needs to change to an sx lock so it can be held when

svn commit: r354131 - in stable/12/sys/fs: nfs nfsclient

2019-10-27 Thread Rick Macklem
Author: rmacklem Date: Mon Oct 28 01:44:31 2019 New Revision: 354131 URL: https://svnweb.freebsd.org/changeset/base/354131 Log: MFC: r352636 Replace all mtx_lock()/mtx_unlock() on n_mtx with the macros. For a long time, some places in the NFS code have locked/unlocked the NFS node lock

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

2019-09-25 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 26 02:54:45 2019 New Revision: 352736 URL: https://svnweb.freebsd.org/changeset/base/352736 Log: Replace all mtx_assert() calls for n_mtx and ncl_iod_mutex with macros. To be consistent with replacing the mtx_lock()/mtx_unlock() calls on the NFS node mutex

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

2019-09-24 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 24 23:38:10 2019 New Revision: 352664 URL: https://svnweb.freebsd.org/changeset/base/352664 Log: Replace all mtx_lock()/mtx_unlock() on the iod lock with macros. Since the NFS node mutex needs to change to an sx lock so it can be held when

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

2019-09-23 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 24 01:58:54 2019 New Revision: 352636 URL: https://svnweb.freebsd.org/changeset/base/352636 Log: Replace all mtx_lock()/mtx_unlock() on n_mtx with the macros. For a long time, some places in the NFS code have locked/unlocked the NFS node lock with the

Re: Re; svn commit: r352393 - head/sys/fs/nfsclient

2019-09-16 Thread Rick Macklem
Konstantin Belousov wrote: >On Mon, Sep 16, 2019 at 03:27:02PM +0000, Rick Macklem wrote: >> Hi Kostik, >> >> I'm afraid there was a reason that only certain cases (where the file was >> being shrunk) did the vnode_pager_setsize() call after the NFS node >> lock

Re: Re; svn commit: r352393 - head/sys/fs/nfsclient

2019-09-16 Thread Rick Macklem
Resent to correct address... From: Rick Macklem Sent: Monday, September 16, 2019 11:27 AM To: k...@freebsd.org; pet...@freebsd.org Cc: src-svn-...@freebsd.org Subject: Re; svn commit: r352393 - head/sys/fs/nfsclient Hi Kostik, I'm afraid

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

2019-09-05 Thread Rick Macklem
Rick Macklem wrote: >Author: rmacklem >Date: Thu Sep 5 22:25:19 2019 >New Revision: 351901 >URL: https://svnweb.freebsd.org/changeset/base/351901 > >Log: > Delete the unused "nd" argument for nfsrv_proxyds(). > > The "nd" argument for nf

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

2019-09-05 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 5 22:25:19 2019 New Revision: 351901 URL: https://svnweb.freebsd.org/changeset/base/351901 Log: Delete the unused "nd" argument for nfsrv_proxyds(). The "nd" argument for nfsrv_proxyds() is no longer used by the function. This patch deletes it. This allows

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

2019-09-04 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 4 22:37:28 2019 New Revision: 351834 URL: https://svnweb.freebsd.org/changeset/base/351834 Log: Delete the unused "nd" argument for nfsrv_checkdsattr(). The "nd" argument for nfsrv_checkdsattr() is no longer used by the function. This patch deletes it.

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

2019-09-04 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 4 20:14:21 2019 New Revision: 351829 URL: https://svnweb.freebsd.org/changeset/base/351829 Log: MFC: r350395 Fix printing of Server Re-Failed and Server Faults. nfsstat -s prints bogus large numbers for the Server Re-Failed and Server Faults fields. This

Re: svn commit: r351729 - in head: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2019-09-03 Thread Rick Macklem
Yea, I know this is a top post... Another reason for a separate commit is the case where the patch is going to be MFC'd. rick ___ From: owner-src-committ...@freebsd.org on behalf of Shawn Webb Sent: Tuesday, September 3, 2019 10:20 AM To: Brooks Davis Cc:

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

2019-09-03 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: r346468 - stable/10/usr.sbin/nfsuserd

2019-09-03 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: r346466 - in stable/10/sys: fs/nfs modules/nfscommon

2019-09-03 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: r346506 - head/sys/fs/nfs

2019-09-03 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: r346344 - stable/10/sys/rpc/rpcsec_gss

2019-09-03 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: r346365 - in head/sys/fs: nfs nfsserver

2019-09-03 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: r346467 - stable/10/usr.sbin/nfsuserd

2019-09-03 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: r346343 - stable/11/sys/rpc/rpcsec_gss

2019-09-03 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: r346487 - stable/10/usr.sbin/nfsuserd

2019-09-03 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: r346460 - in stable/12/sys: fs/nfs modules/nfscommon

2019-09-03 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: r346465 - stable/11/usr.sbin/nfsuserd

2019-09-03 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: r346462 - stable/12/usr.sbin/nfsuserd

2019-09-03 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: r346464 - stable/11/usr.sbin/nfsuserd

2019-09-03 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: r346461 - stable/12/usr.sbin/nfsuserd

2019-09-03 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: r346423 - head/sys/fs/nfsserver

2019-09-03 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: r346424 - in head/sys/fs: nfs nfsserver

2019-09-03 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: r346342 - stable/12/sys/rpc/rpcsec_gss

2019-09-03 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-09-03 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-09-03 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-09-03 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-09-03 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-09-03 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-09-03 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-09-03 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: r345994 - head/usr.sbin/nfsuserd

2019-09-03 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: r345995 - head/usr.sbin/nfsuserd

2019-09-03 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: r345992 - head/sys/fs/nfs

2019-09-03 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-09-03 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-09-03 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-09-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-09-03 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-09-03 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: r351691 - in stable/12: include/rpcsvc lib/libc/net lib/libc/rpc usr.sbin/rpc.yppasswdd usr.sbin/rpc.ypupdated usr.sbin/ypldap usr.sbin/yppush usr.sbin/ypserv

2019-09-02 Thread Rick Macklem
Oh, and RPC_MAXDATASIZE seems to be set at 9000. (This is probably only a limit for UDP, but may be wired into all RPCs?) rick From: owner-src-committ...@freebsd.org on behalf of Rick Macklem Sent: Monday, September 2, 2019 9:30:45 PM To: Konstantin

Re: svn commit: r351691 - in stable/12: include/rpcsvc lib/libc/net lib/libc/rpc usr.sbin/rpc.yppasswdd usr.sbin/rpc.ypupdated usr.sbin/ypldap usr.sbin/yppush usr.sbin/ypserv

2019-09-02 Thread Rick Macklem
Konstantin Belousov wrote: > >Author: kib >Date: Mon Sep 2 08:20:02 2019 >New Revision: 351691 >URL: https://svnweb.freebsd.org/changeset/base/351691 > >Log: > MFC r350957: > Increase YPMAXRECORD to 16M to be compatible with Linux. I am not familiar with the userland RPC libraries, but for the

svn commit: r351374 - head

2019-08-21 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 22 01:29:59 2019 New Revision: 351374 URL: https://svnweb.freebsd.org/changeset/base/351374 Log: Add a couple of lines noting that r351372 maps ENOTTY->EINVAL for other cases. Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r351372 - head/sys/kern

2019-08-21 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 22 01:15:06 2019 New Revision: 351372 URL: https://svnweb.freebsd.org/changeset/base/351372 Log: Map ENOTTY to EINVAL for lseek(SEEK_DATA/SEEK_HOLE). Without this patch, when an application performed lseek(SEEK_DATA/SEEK_HOLE) on a file in a file system

svn commit: r351202 - head

2019-08-18 Thread Rick Macklem
Author: rmacklem Date: Mon Aug 19 00:46:31 2019 New Revision: 351202 URL: https://svnweb.freebsd.org/changeset/base/351202 Log: Add an entry to RELNOTES for r351201. Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r351201 - head/sys/kern

2019-08-18 Thread Rick Macklem
Author: rmacklem Date: Mon Aug 19 00:29:05 2019 New Revision: 351201 URL: https://svnweb.freebsd.org/changeset/base/351201 Log: Add a vop_stdioctl() that performs a trivial FIOSEEKDATA/FIOSEEKHOLE. Without this patch, when an application performed lseek(SEEK_DATA/SEEK_HOLE) on a file in

svn commit: r351106 - head/sys/kern

2019-08-15 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 15 23:21:41 2019 New Revision: 351106 URL: https://svnweb.freebsd.org/changeset/base/351106 Log: Fix copy_file_range(2) so that unneeded blocks are not allocated to the output file. When the byte range for copy_file_range(2) doesn't go to EOF on the output

svn commit: r350777 - head/sys/kern

2019-08-08 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 8 20:07:38 2019 New Revision: 350777 URL: https://svnweb.freebsd.org/changeset/base/350777 Log: Remove some harmless cruft from vn_generic_copy_file_range(). An earlier version of the patch had code that set "error" between line#s 2797-2799. When that code

svn commit: r350776 - head/sys/kern

2019-08-08 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 8 19:53:07 2019 New Revision: 350776 URL: https://svnweb.freebsd.org/changeset/base/350776 Log: Fix copy_file_range(2) for an unlikely race during hole finding. Since the VOP_IOCTL(FIOSEEKDATA/FIOSEEKHOLE) calls are done with the vnode unlocked, it is

svn commit: r350528 - stable/12/sys/ufs/ufs

2019-08-01 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 2 01:59:58 2019 New Revision: 350528 URL: https://svnweb.freebsd.org/changeset/base/350528 Log: MFC: r350367 Lock the vnode before calling ufs_bmap_seekdata(). r346932 replaced a call to vn_bmap_seekhole() with a call to ufs_bmap_seekdata(). Although

svn commit: r350491 - head

2019-07-31 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 31 23:36:23 2019 New Revision: 350491 URL: https://svnweb.freebsd.org/changeset/base/350491 Log: Add an entry for the copy_file_range(2) syscall. Modified: head/RELNOTES Modified: head/RELNOTES

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

2019-07-28 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 28 21:44:01 2019 New Revision: 350395 URL: https://svnweb.freebsd.org/changeset/base/350395 Log: Fix printing of Server Re-Failed and Server Faults. nfsstat -s prints bogus large numbers for the Server Re-Failed and Server Faults fields. This was introduced

svn commit: r350367 - head/sys/ufs/ufs

2019-07-26 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 27 01:52:34 2019 New Revision: 350367 URL: https://svnweb.freebsd.org/changeset/base/350367 Log: Lock the vnode before calling ufs_bmap_seekdata(). r346932 replaced a call to vn_bmap_seekhole() with a call to ufs_bmap_seekdata(). Although vn_bmap_seekhole()

Re: svn commit: r350315 - in head/sys: kern sys

2019-07-26 Thread Rick Macklem
Konstantin Belousov wrote: >On Thu, Jul 25, 2019 at 05:46:17AM +0000, Rick Macklem wrote: >> Author: rmacklem >> Date: Thu Jul 25 05:46:16 2019 >> New Revision: 350315 >> URL: https://svnweb.freebsd.org/changeset/base/350315 >> >> Log: >> Add kernel s

svn commit: r350321 - head/sys/sys

2019-07-25 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 25 06:48:30 2019 New Revision: 350321 URL: https://svnweb.freebsd.org/changeset/base/350321 Log: r350320 committed the wrong version of generated syscall.mk. This commit is for the correct version. (The incorrect one had the order of the last two entries

svn commit: r350320 - head/sys/sys

2019-07-25 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 25 06:35:21 2019 New Revision: 350320 URL: https://svnweb.freebsd.org/changeset/base/350320 Log: Update the generated syscall.mk for copy_file_range(2). I missed this file for commit r350316. Modified: head/sys/sys/syscall.mk Modified:

svn commit: r350319 - head/share/man/man9

2019-07-25 Thread Rick Macklem
added) +++ head/share/man/man9/VOP_COPY_FILE_RANGE.9 Thu Jul 25 06:20:00 2019 (r350319) @@ -0,0 +1,124 @@ +.\" SPDX-License-Identifier: BSD-2-Clause +.\" +.\" Copyright (c) 2019 Rick Macklem +.\" +.\" Redistribution and use in source and binary forms, with or

svn commit: r350318 - head/include

2019-07-25 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 25 06:10:44 2019 New Revision: 350318 URL: https://svnweb.freebsd.org/changeset/base/350318 Log: Add an entry for copy_file_range(2) to unistd.h. copy_file_range(2) is a Linux compatible syscall created by r350315. Reviewed by: kib, asomers Relnotes:

svn commit: r350317 - head/lib/libc/sys

2019-07-25 Thread Rick Macklem
quot; Copyright (c) 2019 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: r350316 - in head/sys: kern sys

2019-07-24 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 25 05:55:55 2019 New Revision: 350316 URL: https://svnweb.freebsd.org/changeset/base/350316 Log: Update the generated syscall files for copy_file_range(2) added by r350315. Modified: head/sys/kern/init_sysent.c head/sys/kern/syscalls.c

svn commit: r350315 - in head/sys: kern sys

2019-07-24 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 25 05:46:16 2019 New Revision: 350315 URL: https://svnweb.freebsd.org/changeset/base/350315 Log: Add kernel support for a Linux compatible copy_file_range(2) syscall. This patch adds support to the kernel for a Linux compatible copy_file_range(2) syscall

svn commit: r349772 - stable/11/usr.sbin/mountd

2019-07-05 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 5 22:48:31 2019 New Revision: 349772 URL: https://svnweb.freebsd.org/changeset/base/349772 Log: MFC: r348590, r348591 Modify mountd so that it incrementally updates the kernel exports upon a reload. Without this patch, mountd would delete/load all exports

svn commit: r349771 - stable/12/usr.sbin/mountd

2019-07-05 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 5 22:36:31 2019 New Revision: 349771 URL: https://svnweb.freebsd.org/changeset/base/349771 Log: MFC: r348590, r348591 Modify mountd so that it incrementally updates the kernel exports upon a reload. Without this patch, mountd would delete/load all exports

svn commit: r349756 - stable/11/usr.sbin/mountd

2019-07-04 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 5 01:04:58 2019 New Revision: 349756 URL: https://svnweb.freebsd.org/changeset/base/349756 Log: MFC: r348452 Replace a single linked list with a hash table of lists. mountd.c uses a single linked list of "struct exportlist" structures, where there is one

svn commit: r349755 - stable/12/usr.sbin/mountd

2019-07-04 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 5 00:55:46 2019 New Revision: 349755 URL: https://svnweb.freebsd.org/changeset/base/349755 Log: MFC: r348452 Replace a single linked list with a hash table of lists. mountd.c uses a single linked list of "struct exportlist" structures, where there is one

svn commit: r349582 - in head/sys: kern sys

2019-07-01 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 1 20:41:43 2019 New Revision: 349582 URL: https://svnweb.freebsd.org/changeset/base/349582 Log: Factor out the code that does a VOP_SETATTR(size) from vn_truncate(). This patch factors the code in vn_truncate() that does the actual VOP_SETATTR() of size

svn commit: r349476 - in head/sys: kern sys

2019-06-27 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 27 23:10:40 2019 New Revision: 349476 URL: https://svnweb.freebsd.org/changeset/base/349476 Log: Add non-blocking trylock variants for the rangelock functions. A future patch that will add a Linux compatible copy_file_range(2) syscall needs to be able to

svn commit: r349128 - stable/11/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:58:49 2019 New Revision: 349128 URL: https://svnweb.freebsd.org/changeset/base/349128 Log: MFC: r347583 Replace global list for grouplist with list(s) for each exportlist element. In mountd.c, the grouplist structures are linked into a single global

svn commit: r349127 - stable/12/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:37:55 2019 New Revision: 349127 URL: https://svnweb.freebsd.org/changeset/base/349127 Log: MFC: r347583 Replace global list for grouplist with list(s) for each exportlist element. In mountd.c, the grouplist structures are linked into a single global

svn commit: r349126 - stable/11/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:29:40 2019 New Revision: 349126 URL: https://svnweb.freebsd.org/changeset/base/349126 Log: MFC: r347498 Factor code into two new functions in preparation for a future commit. Factor code into two functions. read_exportfile() a functon which reads

svn commit: r349125 - stable/12/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:20:39 2019 New Revision: 349125 URL: https://svnweb.freebsd.org/changeset/base/349125 Log: MFC: r347498 Factor code into two new functions in preparation for a future commit. Factor code into two functions. read_exportfile() a functon which reads

svn commit: r349124 - stable/11/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:11:46 2019 New Revision: 349124 URL: https://svnweb.freebsd.org/changeset/base/349124 Log: MFC: r347476 Factor out some exportlist list operations into separate functions. This patch moves the code that removes and frees all exportlist elements out

svn commit: r349123 - stable/12/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:00:12 2019 New Revision: 349123 URL: https://svnweb.freebsd.org/changeset/base/349123 Log: MFC: r347476 Factor out some exportlist list operations into separate functions. This patch moves the code that removes and frees all exportlist elements out

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

2019-06-03 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 3 23:07:46 2019 New Revision: 348591 URL: https://svnweb.freebsd.org/changeset/base/348591 Log: r348590 had mention of "-I" in a comment that no longer applied to the patch. Take "-I" out of the comment line, since the patch no longer uses the "-I" option.

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

2019-06-03 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 3 22:58:51 2019 New Revision: 348590 URL: https://svnweb.freebsd.org/changeset/base/348590 Log: Modify mountd so that it incrementally updates the kernel exports upon a reload. Without this patch, mountd would delete/load all exports from the exports

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

2019-05-30 Thread Rick Macklem
Author: rmacklem Date: Fri May 31 03:13:09 2019 New Revision: 348453 URL: https://svnweb.freebsd.org/changeset/base/348453 Log: Get rid of extraneous initialization. Get rid of an extraneous initialization, mainly to keep a static analyser happy. No semantic change. PR:

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

2019-05-30 Thread Rick Macklem
Author: rmacklem Date: Fri May 31 01:28:48 2019 New Revision: 348452 URL: https://svnweb.freebsd.org/changeset/base/348452 Log: Replace a single linked list with a hash table of lists. mountd.c uses a single linked list of "struct exportlist" structures, where there is one of these for

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

2019-05-30 Thread Rick Macklem
Author: rmacklem Date: Fri May 31 00:56:31 2019 New Revision: 348451 URL: https://svnweb.freebsd.org/changeset/base/348451 Log: Clean up silly code case. This silly code segment has existed in the sources since it was brought into FreeBSD 10 years ago. I honestly have no idea why this

Re: svn commit: r347566 - in head/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-15 Thread Rick Macklem
Konstantin Belousov wrote: [lots of stuff snipped] >On Wed, May 15, 2019 at 08:31:23PM +0300, Dmitry Chagin wrote: >> >> yes, you are right. thank you! but in the best tradition of the project, >> the system does not built, >> I got ar error when building static llvm library: >> ar: fatal: Symbol

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

2019-05-14 Thread Rick Macklem
Author: rmacklem Date: Tue May 14 22:00:47 2019 New Revision: 347583 URL: https://svnweb.freebsd.org/changeset/base/347583 Log: Replace global list for grouplist with list(s) for each exportlist element. In mountd.c, the grouplist structures are linked into a single global linked list

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

2019-05-11 Thread Rick Macklem
Author: rmacklem Date: Sat May 11 22:41:58 2019 New Revision: 347498 URL: https://svnweb.freebsd.org/changeset/base/347498 Log: Factor code into two new functions in preparation for a future commit. Factor code into two functions. read_exportfile() a functon which reads the exports

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

2019-05-10 Thread Rick Macklem
Author: rmacklem Date: Fri May 10 23:52:17 2019 New Revision: 347476 URL: https://svnweb.freebsd.org/changeset/base/347476 Log: Factor out some exportlist list operations into separate functions. This patch moves the code that removes and frees all exportlist elements out into a separate

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

2019-05-05 Thread Rick Macklem
Author: rmacklem Date: Mon May 6 03:20:02 2019 New Revision: 347174 URL: https://svnweb.freebsd.org/changeset/base/347174 Log: MFC: r346856 Add #ifdef INET6 around declaration of nbuf. It was reported that without #ifdef INET6 around the declaration of "nbuf", a build would report an

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

2019-05-05 Thread Rick Macklem
Author: rmacklem Date: Mon May 6 03:13:22 2019 New Revision: 347172 URL: https://svnweb.freebsd.org/changeset/base/347172 Log: MFC: r346856 Add #ifdef INET6 around declaration of nbuf. It was reported that without #ifdef INET6 around the declaration of "nbuf", a build would report an

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

2019-05-05 Thread Rick Macklem
Author: rmacklem Date: Mon May 6 03:06:22 2019 New Revision: 347171 URL: https://svnweb.freebsd.org/changeset/base/347171 Log: MFC: r346856 Add #ifdef INET6 around declaration of nbuf. It was reported that without #ifdef INET6 around the declaration of "nbuf", a build would report an

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

2019-05-03 Thread Rick Macklem
Harry Schmalzbauer wrote: >Am 15.04.2019 um 03:27 schrieb 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

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

2019-05-02 Thread Rick Macklem
Author: rmacklem Date: Fri May 3 03:05:22 2019 New Revision: 347045 URL: https://svnweb.freebsd.org/changeset/base/347045 Log: MFC: r346424 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

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

2019-05-02 Thread Rick Macklem
Author: rmacklem Date: Fri May 3 02:58:33 2019 New Revision: 347044 URL: https://svnweb.freebsd.org/changeset/base/347044 Log: MFC: r346424 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

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

2019-05-02 Thread Rick Macklem
Author: rmacklem Date: Fri May 3 02:51:33 2019 New Revision: 347042 URL: https://svnweb.freebsd.org/changeset/base/347042 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

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