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
M
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
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:
head/share/man/man9/VOP_C
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:
head/lib/libc/sys/copy_file_r
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
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 nu
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 N
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
vno
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
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 (
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
vnode_pager_setsiz
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 macros
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
>>
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 there
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 nfsrv_proxy
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
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. This
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
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: Ma
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
updates
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 when
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
updates
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
mallo
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
=
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 supp
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 jails
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
mallo
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
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
updates
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 when
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 when
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 jails
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 jails
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 th
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 Mode
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
mallo
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 that
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 that
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 that
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
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. Thi
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
nfsdumpstate(
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 I
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,
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 ena
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 a
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:
head/UPD
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, si
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, M_
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:
head/sys/rpc/rpcsec_gss/sv
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 other
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
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
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
=
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 that
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
==
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 a
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
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
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 possi
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 vn_b
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
===
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
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()
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
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 rev
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: head/sys/sys/syscall
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 witho
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:
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
+.\
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
head/sys/kern/systra
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 and
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
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
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
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
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 int
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 loc
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
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
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 th
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 th
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 i
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 i
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.
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
file(
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: 238
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 ea
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 was
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 t
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 hea
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 file(
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
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 u
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 u
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 u
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 safe
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
operati
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
operati
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 sema
201 - 300 of 1741 matches
Mail list logo