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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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 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
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
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
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.
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
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
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
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 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
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:
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,
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,
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:
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
Cy Schubert wrote:
>Sent: Monday, March 4, 2019 3:25 PM
>To: Edward Napierala
>Cc: Cy Schubert; Konstantin Belousov; src-committers; svn-src-...@freebsd.org;
>svn-src->h...@freebsd.org
>Subject: Re: svn commit: r344758 - in head/sys/fs: nfs nfsserver
>
>In message
, Edward Napierala writes:
>>
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
==
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
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
>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
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
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
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
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
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
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
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
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:
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:
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
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
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
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
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:
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
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
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
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
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:
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
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
+.\"
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
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
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
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.
Author: rmacklem
Date: Sat Jul 28 20:21:04 2018
New Revision: 336839
URL: https://svnweb.freebsd.org/changeset/base/336839
Log:
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
to be used
Author: rmacklem
Date: Fri Jul 27 23:38:31 2018
New Revision: 336798
URL: https://svnweb.freebsd.org/changeset/base/336798
Log:
Update nfsd.8 for support of IPv6 addresses for hosts in the "-p" option.
r336795 adds support for handling of IPv6 addresses returned by getaddrinfo(3)
for DS
Author: rmacklem
Date: Fri Jul 27 23:10:28 2018
New Revision: 336795
URL: https://svnweb.freebsd.org/changeset/base/336795
Log:
Add support for IPv6 addresses to the pNFS "-p" option.
This patch adds code to handle IPv6 addresses returned by getaddrinfo()
for the host entries in the "-p"
Author: rmacklem
Date: Sat Jul 21 01:33:07 2018
New Revision: 336573
URL: https://svnweb.freebsd.org/changeset/base/336573
Log:
Set CLSET_TIMEOUT on TCP connections to pNFS DSs.
Use CLSET_TIMEOUT to set the timeout for connections to DSs instead of
specifying a timeout on each RPC. This
Author: rmacklem
Date: Fri Jul 20 12:03:16 2018
New Revision: 336542
URL: https://svnweb.freebsd.org/changeset/base/336542
Log:
Set SO_SNDTIMEO in the client side krpc when CLSET_TIMEOUT is done.
During testing of the pNFS client, it was observed that an RPC could get
stuck in sosend()
Author: rmacklem
Date: Mon Jul 16 21:32:50 2018
New Revision: 336357
URL: https://svnweb.freebsd.org/changeset/base/336357
Log:
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
not issuing a
Author: rmacklem
Date: Sun Jul 15 18:54:44 2018
New Revision: 336312
URL: https://svnweb.freebsd.org/changeset/base/336312
Log:
Shut down the TCP connection to a DS in the pNFS client when Renew fails.
When a NFSv4.1 client mount using pNFS detects a failure trying to do a
Renew
Author: rmacklem
Date: Sat Jul 14 19:51:44 2018
New Revision: 336292
URL: https://svnweb.freebsd.org/changeset/base/336292
Log:
Fix the pNFS client when mirrors aren't on the same machine.
Without this patch, the client side NFSv4.1 pNFS code erroneously did writes
and commits to both DS
Author: rmacklem
Date: Fri Jul 13 20:03:05 2018
New Revision: 336260
URL: https://svnweb.freebsd.org/changeset/base/336260
Log:
Close down the TCP connection to a pNFS DS when it is disabled.
So long as the TCP connection to a pNFS DS isn't shared with other DSs,
it can be closed down
Author: rmacklem
Date: Fri Jul 13 12:39:27 2018
New Revision: 336239
URL: https://svnweb.freebsd.org/changeset/base/336239
Log:
Change the pNFS client so that it does not report an NFSERR_STALE from
an I/O attempt on a DS to the server via LayoutReturn.
The current FreeBSD client can
Author: rmacklem
Date: Thu Jul 12 20:46:22 2018
New Revision: 336229
URL: https://svnweb.freebsd.org/changeset/base/336229
Log:
Modify the NFSv4.1 pNFS client to use separate TCP connections for DSs.
Without this patch, the NFSv4.1 pNFS client shared a single TCP connection
for all DSs
Author: rmacklem
Date: Wed Jul 11 23:23:29 2018
New Revision: 336215
URL: https://svnweb.freebsd.org/changeset/base/336215
Log:
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, the wording is
Author: rmacklem
Date: Tue Jul 10 22:53:07 2018
New Revision: 336183
URL: https://svnweb.freebsd.org/changeset/base/336183
Log:
Update the pnfs(4) man page.
This is a content change.
Modified:
head/usr.sbin/nfsd/pnfs.4
Modified: head/usr.sbin/nfsd/pnfs.4
Author: rmacklem
Date: Tue Jul 10 18:44:44 2018
New Revision: 336177
URL: https://svnweb.freebsd.org/changeset/base/336177
Log:
Document the "-f" option added to pnfsdskill(8) by r336176.
This is a content change.
Modified:
head/usr.sbin/pnfsdskill/pnfsdskill.8
Modified:
Author: rmacklem
Date: Tue Jul 10 18:41:16 2018
New Revision: 336176
URL: https://svnweb.freebsd.org/changeset/base/336176
Log:
Add a "-f" option to pnfsdskill(8) to force disabling of a DS.
The pnfsdskill(8) command will normally fail if there is no valid mirror
for the DS to be
Author: rmacklem
Date: Mon Jul 9 19:58:01 2018
New Revision: 336141
URL: https://svnweb.freebsd.org/changeset/base/336141
Log:
Add support for a "forced" pnfsdskill to the pNFS server kernel code.
The pnfsdskill(8) command will normally fail if there is no valid mirror
for the DS to be
Author: rmacklem
Date: Sun Jul 8 18:15:55 2018
New Revision: 336093
URL: https://svnweb.freebsd.org/changeset/base/336093
Log:
Fix the kernel part of pnfsdscopymr() to handle holes in the file being
copied.
If a mirrored DS is being recovered that has a lot of large sparse files,
Andrew Gallatin wrote:
>Given that we do TSO like Linux, and not like MS (meaning
>we express the size of the pre-segmented packet using the
>a 16-bit value in the IPv4/IPv6 header), supporting more
>than 64K is not possible in FreeBSD, so I'm basically
>saying "nerf this constraint".
Well, my
Author: rmacklem
Date: Sat Jul 7 19:27:49 2018
New Revision: 336075
URL: https://svnweb.freebsd.org/changeset/base/336075
Log:
Fix handling of the hybrid DS case for a pNFS server.
After the addition of the "#mds_path" suffix for a DS specification on the
"-p" nfsd option, it is
Author: rmacklem
Date: Fri Jul 6 19:18:45 2018
New Revision: 336041
URL: https://svnweb.freebsd.org/changeset/base/336041
Log:
Change the pNFS server so that it does not disable a mirrored DS for
an NFSERR_STALE error reported via a LayoutReturn.
The current FreeBSD client can generate
Andrew Gallatin wrote:
On 7/4/18 9:20 PM, Rodney W. Grimes wrote:
[stuff snipped]
>>
>> It is using a magic constant twice, where one has a
>> derived value that is dependent on the value of the other.
>> That is bad and error prone and does not document that
>> one depends on the other. Please
Author: rmacklem
Date: Wed Jul 4 19:46:26 2018
New Revision: 335968
URL: https://svnweb.freebsd.org/changeset/base/335968
Log:
Fix the pNFS server so that it handles the "#mds_path" check for mirrors.
The recently added feature of the pNFS server will set an fsid for the
MDS file system
Author: rmacklem
Date: Mon Jul 2 19:33:26 2018
New Revision: 335872
URL: https://svnweb.freebsd.org/changeset/base/335872
Log:
Document the "#mds_path" suffix for the "-p" command line option.
r335871 added support for an optional suffix of "#mds_path" that can be
applied to each entry
Author: rmacklem
Date: Mon Jul 2 19:26:31 2018
New Revision: 335871
URL: https://svnweb.freebsd.org/changeset/base/335871
Log:
Add an optional feature to the pNFS server.
Without this patch, the pNFS server distributes the data storage files across
all of the specified DSs.
A tester
Author: rmacklem
Date: Mon Jul 2 19:21:33 2018
New Revision: 335870
URL: https://svnweb.freebsd.org/changeset/base/335870
Log:
Add an optional feature to the pNFS server.
Without this patch, the pNFS server distributes the data storage files across
all of the specified DSs.
A tester
Author: rmacklem
Date: Mon Jul 2 17:50:46 2018
New Revision: 335866
URL: https://svnweb.freebsd.org/changeset/base/335866
Log:
Fix the server side krpc so that the kernel nfsd threads terminate.
Occationally the kernel nfsd threads would not terminate when a SIGKILL
was posted for the
Author: rmacklem
Date: Sun Jul 1 17:51:52 2018
New Revision: 335846
URL: https://svnweb.freebsd.org/changeset/base/335846
Log:
Document the new "-m" command line option for pnfsdsfile(8).
This is a content change.
Modified:
head/usr.sbin/pnfsdsfile/pnfsdsfile.8
Modified:
Author: rmacklem
Date: Sun Jul 1 17:49:02 2018
New Revision: 335845
URL: https://svnweb.freebsd.org/changeset/base/335845
Log:
Add a new "-m" option to pnfsdsfile(8) to prepare a file for mirroring.
When pnfsdscopymr(8) is used to create a mirror of a file on a mirrored
pNFS service, it
Author: rmacklem
Date: Sat Jun 30 12:14:20 2018
New Revision: 335814
URL: https://svnweb.freebsd.org/changeset/base/335814
Log:
Add a safety belt assignment to the nfsd for when "-p" isn't specified.
The kernel code assumes that nfsdargs.addr == NULL and nfsdargs.addrlen == 0
when there
Author: rmacklem
Date: Fri Jun 29 12:41:36 2018
New Revision: 335794
URL: https://svnweb.freebsd.org/changeset/base/335794
Log:
Fix the pNFS server for a case where mirror level equals number of DSs.
If a pNFS service was set up where the number of DSs equals the mirror level
and then a
Author: rmacklem
Date: Sat Jun 23 00:48:45 2018
New Revision: 335573
URL: https://svnweb.freebsd.org/changeset/base/335573
Log:
Set the slotid and ND_HASSLOTID flag for NFSv4.1 sequenced operations.
Most NFSv4.1 compound RPCs start with a Sequence operation. For these
cases, save the
Author: rmacklem
Date: Sat Jun 23 00:37:15 2018
New Revision: 335571
URL: https://svnweb.freebsd.org/changeset/base/335571
Log:
Define ND_HASSLOTID needed by r335568.
r335568 uses a flag called ND_HASSLOTID to indicate that the slotid is set,
so it can free and invalidate it.
This flag
Author: rmacklem
Date: Fri Jun 22 21:37:20 2018
New Revision: 335568
URL: https://svnweb.freebsd.org/changeset/base/335568
Log:
Fix the handling of NFSv4.1 sessions for "soft" mounts.
When a "soft" mount is used for NFSv4.1, an RPC that fails without completing
will leave a slot in the
Author: rmacklem
Date: Fri Jun 22 21:25:27 2018
New Revision: 335567
URL: https://svnweb.freebsd.org/changeset/base/335567
Log:
Change the NFSv4.1 pNFS client so that it returns the DS error in
layoutreturn.
When the NFSv4.1 pNFS client gets an error for a DS I/O operation using a
Author: rmacklem
Date: Fri Jun 22 20:58:51 2018
New Revision: 335566
URL: https://svnweb.freebsd.org/changeset/base/335566
Log:
Add "mountcritremote" to the REQUIRE line for nfsd.
For a pNFS MDS server, there must be mounts done to the DSs before the
nfsd is started. Adding the REQUIRE
Author: rmacklem
Date: Fri Jun 22 00:55:39 2018
New Revision: 335525
URL: https://svnweb.freebsd.org/changeset/base/335525
Log:
Add a counter to limit the number of disabled DSs for a mirrored pNFS MDS.
This patch adds a counter that limits the number of disabled mirrored DSs
to mirror
Author: rmacklem
Date: Sun Jun 17 23:08:54 2018
New Revision: 335309
URL: https://svnweb.freebsd.org/changeset/base/335309
Log:
Revert r335263, since it can cause crashes in unusual circumstances.
This needs to be fixed in a different way.
Modified:
head/sys/fs/nfs/nfs_commonkrpc.c
Author: rmacklem
Date: Sun Jun 17 16:30:06 2018
New Revision: 335286
URL: https://svnweb.freebsd.org/changeset/base/335286
Log:
Make the pNFS NFSv4.1 client return a Flexible File layout upon error.
The Flexible File layout LayoutReturn operation has argument fields where
an I/O error
Author: rmacklem
Date: Sat Jun 16 19:45:06 2018
New Revision: 335263
URL: https://svnweb.freebsd.org/changeset/base/335263
Log:
Fix NFSv4.1 client side handling of "soft,retrans=2" mounts.
Normally "soft,retrans=2" cannot be safely used on NFSv4 mounts, since
the RPC can fail and leave
201 - 300 of 854 matches
Mail list logo