Author: rmacklem
Date: Mon May 8 21:40:42 2017
New Revision: 317984
URL: https://svnweb.freebsd.org/changeset/base/317984
Log:
MFC: r317345
Make the NFSv4 client to use a write open for reading if allowed by the
server.
An NFSv4 server has the option of allowing a Read to be done using
Author: rmacklem
Date: Mon May 8 21:29:29 2017
New Revision: 317983
URL: https://svnweb.freebsd.org/changeset/base/317983
Log:
MFC: r317345
Make the NFSv4 client to use a write open for reading if allowed by the
server.
An NFSv4 server has the option of allowing a Read to be done using
Author: rmacklem
Date: Mon May 8 20:30:30 2017
New Revision: 317978
URL: https://svnweb.freebsd.org/changeset/base/317978
Log:
MFC: r317305
Fix the NFSv4.1/pNFS client return layout on close.
The "return layout on close" case in the pNFS client was badly broken.
Fortunately, extant pNF
Author: rmacklem
Date: Mon May 8 20:21:10 2017
New Revision: 317977
URL: https://svnweb.freebsd.org/changeset/base/317977
Log:
MFC: r317305
Fix the NFSv4.1/pNFS client return layout on close.
The "return layout on close" case in the pNFS client was badly broken.
Fortunately, extant pNF
Author: rmacklem
Date: Mon May 8 19:57:43 2017
New Revision: 317975
URL: https://svnweb.freebsd.org/changeset/base/317975
Log:
MFC: r317296
Fix some krpc leaks for the NFSv4.1/pNFS client.
The NFSv4.1/pNFS client wasn't doing a newnfs_disconnect() call for the
connection to the Data Se
Author: rmacklem
Date: Mon May 8 19:50:35 2017
New Revision: 317973
URL: https://svnweb.freebsd.org/changeset/base/317973
Log:
MFC: r317296
Fix some krpc leaks for the NFSv4.1/pNFS client.
The NFSv4.1/pNFS client wasn't doing a newnfs_disconnect() call for the
connection to the Data Se
Author: rmacklem
Date: Mon May 8 00:45:05 2017
New Revision: 317931
URL: https://svnweb.freebsd.org/changeset/base/317931
Log:
Fix mount_nfs so that it doesn't create mounttab entries for NFSv4 mounts.
The NFSv4 protocol doesn't use the Mount protocol, so it doesn't make sense
to add an
Author: rmacklem
Date: Sun May 7 22:18:05 2017
New Revision: 317930
URL: https://svnweb.freebsd.org/changeset/base/317930
Log:
MFC: r317276
Don't set ND_NOMOREDATA for a failed Setattr operation (NFSv4).
The NFSv4 Setattr operation always has reply data even when it fails,
so don't set
Author: rmacklem
Date: Sun May 7 22:10:55 2017
New Revision: 317929
URL: https://svnweb.freebsd.org/changeset/base/317929
Log:
MFC: r317276
Don't set ND_NOMOREDATA for a failed Setattr operation (NFSv4).
The NFSv4 Setattr operation always has reply data even when it fails,
so don't set
Author: rmacklem
Date: Sun May 7 21:57:46 2017
New Revision: 317927
URL: https://svnweb.freebsd.org/changeset/base/317927
Log:
MFC: r317275, r317344
Don't create a backchannel for a DS connection.
An NFSv4.1 client connection to a Data Server (DS) should not have a
backchannel. This pa
Author: rmacklem
Date: Sun May 7 21:42:02 2017
New Revision: 317926
URL: https://svnweb.freebsd.org/changeset/base/317926
Log:
MFC: r317275, r317344
Don't create a backchannel for a DS connection.
An NFSv4.1 client connection to a Data Server (DS) should not have a
backchannel. This pa
Author: rmacklem
Date: Sun May 7 21:32:55 2017
New Revision: 317925
URL: https://svnweb.freebsd.org/changeset/base/317925
Log:
MFC: r317272
Add checks for failed operations to the NFSv4 client function nfscl_mtofh().
The nfscl_mtofh() function didn't check for failed operations and, as s
Author: rmacklem
Date: Sun May 7 21:22:47 2017
New Revision: 317924
URL: https://svnweb.freebsd.org/changeset/base/317924
Log:
MFC: r317272
Add checks for failed operations to the NFSv4 client function nfscl_mtofh().
The nfscl_mtofh() function didn't check for failed operations and, as s
Author: rmacklem
Date: Sun May 7 21:06:23 2017
New Revision: 317922
URL: https://svnweb.freebsd.org/changeset/base/317922
Log:
MFC: r317270
Get rid of bogus statement in the nfsuserd.8 man page.
The nfsuserd.8 man page stated that a usertimeout of 0 would disable
the cache timeout. Thi
Author: rmacklem
Date: Sun May 7 20:57:13 2017
New Revision: 317921
URL: https://svnweb.freebsd.org/changeset/base/317921
Log:
MFC: r317270
Get rid of bogus statement in the nfsuserd.8 man page.
The nfsuserd.8 man page stated that a usertimeout of 0 would disable
the cache timeout. Thi
Author: rmacklem
Date: Sun May 7 20:50:32 2017
New Revision: 317920
URL: https://svnweb.freebsd.org/changeset/base/317920
Log:
MFC: r317350
Fix the default uid/gid values in nfsuserd.c
This patch sets the default uid/gid values for "nobody" and "nogroup"
to the values in the password a
Author: rmacklem
Date: Sun May 7 20:42:01 2017
New Revision: 317919
URL: https://svnweb.freebsd.org/changeset/base/317919
Log:
MFC: r317350
Fix the default uid/gid values in nfsuserd.c
This patch sets the default uid/gid values for "nobody" and "nogroup"
to the values in the password a
Author: rmacklem
Date: Sun May 7 20:32:07 2017
New Revision: 317918
URL: https://svnweb.freebsd.org/changeset/base/317918
Log:
MFC: r317236
Fix the setting of atime for Linux client NFSv4 mounts.
The FreeBSD NFSv4 server did not set the attribute bit for TimeAccess in
the reply to an O
Author: rmacklem
Date: Sun May 7 20:21:59 2017
New Revision: 317917
URL: https://svnweb.freebsd.org/changeset/base/317917
Log:
MFC: r317269
Set default uid/gid to nobody/nogroup for NFSv4 mapping.
The default uid/gid for NFSv4 are set by the nfsuserd(8) daemon.
However, they were 0 unt
Author: rmacklem
Date: Sun May 7 20:11:58 2017
New Revision: 317916
URL: https://svnweb.freebsd.org/changeset/base/317916
Log:
MFC: r317269
Set default uid/gid to nobody/nogroup for NFSv4 mapping.
The default uid/gid for NFSv4 are set by the nfsuserd(8) daemon.
However, they were 0 unt
Author: rmacklem
Date: Sun May 7 19:57:45 2017
New Revision: 317914
URL: https://svnweb.freebsd.org/changeset/base/317914
Log:
MFC: r317236
Fix the setting of atime for Linux client NFSv4 mounts.
The FreeBSD NFSv4 server did not set the attribute bit for TimeAccess in
the reply to an O
Author: rmacklem
Date: Sun May 7 19:47:50 2017
New Revision: 317911
URL: https://svnweb.freebsd.org/changeset/base/317911
Log:
MFC: r317236
Fix the setting of atime for Linux client NFSv4 mounts.
The FreeBSD NFSv4 server did not set the attribute bit for TimeAccess in
the reply to an O
Author: rmacklem
Date: Sun May 7 12:12:45 2017
New Revision: 317906
URL: https://svnweb.freebsd.org/changeset/base/317906
Log:
Fix the client side krpc from doing TCP reconnects for ERESTART from sosend().
When sosend() replies ERESTART in the client side krpc, it indicates that
the RPC
Author: rmacklem
Date: Sat Apr 29 01:04:39 2017
New Revision: 317579
URL: https://svnweb.freebsd.org/changeset/base/317579
Log:
MFC: r316829
Remove unused "cred" argument to ncl_flush().
The "cred" argument of ncl_flush() is unused and it was confusing to have
the code passing in NULL f
Author: rmacklem
Date: Sat Apr 29 00:46:51 2017
New Revision: 317577
URL: https://svnweb.freebsd.org/changeset/base/317577
Log:
MFC: r316829
Remove unused "cred" argument to ncl_flush().
The "cred" argument of ncl_flush() is unused and it was confusing to have
the code passing in NULL f
Author: rmacklem
Date: Sat Apr 29 00:34:53 2017
New Revision: 317576
URL: https://svnweb.freebsd.org/changeset/base/317576
Log:
Modify the NFSv4.1/pNFS client to ask for a maximum length of layout.
The code specified the length of a layout as INT64_MAX instead of
UINT64_MAX. This could re
Author: rmacklem
Date: Thu Apr 27 21:45:50 2017
New Revision: 317526
URL: https://svnweb.freebsd.org/changeset/base/317526
Log:
MFC: r316793
Document the "oneopenown" option added by r316792.
This is a content change.
Modified:
stable/10/sbin/mount_nfs/mount_nfs.8
Directory Properties:
Author: rmacklem
Date: Thu Apr 27 21:37:39 2017
New Revision: 317525
URL: https://svnweb.freebsd.org/changeset/base/317525
Log:
MFC: r316792
Add an NFSv4.1 mount option for "use one openowner".
Some NFSv4.1 servers such as AmazonEFS can only support a small fixed number
of open_owner4s.
Author: rmacklem
Date: Thu Apr 27 21:27:20 2017
New Revision: 317524
URL: https://svnweb.freebsd.org/changeset/base/317524
Log:
MFC: r316782
Add call to svcpool_close() for the NFSv4 callback pool (svcpool_nfscbd).
A function called svcpool_close() was added to the server side krpc by
r
Author: rmacklem
Date: Thu Apr 27 20:21:29 2017
New Revision: 317521
URL: https://svnweb.freebsd.org/changeset/base/317521
Log:
MFC: r316793
Document the "oneopenown" option added by r316792.
This is a content change.
Modified:
stable/11/sbin/mount_nfs/mount_nfs.8
Directory Properties:
Author: rmacklem
Date: Thu Apr 27 20:14:54 2017
New Revision: 317520
URL: https://svnweb.freebsd.org/changeset/base/317520
Log:
MFC: r316792
Add an NFSv4.1 mount option for "use one openowner".
Some NFSv4.1 servers such as AmazonEFS can only support a small fixed number
of open_owner4s.
Author: rmacklem
Date: Thu Apr 27 20:07:14 2017
New Revision: 317519
URL: https://svnweb.freebsd.org/changeset/base/317519
Log:
MFC: r316782
Add call to svcpool_close() for the NFSv4 callback pool (svcpool_nfscbd).
A function called svcpool_close() was added to the server side krpc by
r
Author: rmacklem
Date: Wed Apr 26 23:32:57 2017
New Revision: 317477
URL: https://svnweb.freebsd.org/changeset/base/317477
Log:
MFC: r316667
Fix the NFSv4 client hndling of a stale write verifier in the Commit
operation.
When the NFSv4 client Commit operation encountered a stale write ve
Author: rmacklem
Date: Wed Apr 26 23:24:05 2017
New Revision: 317476
URL: https://svnweb.freebsd.org/changeset/base/317476
Log:
MFC: r316745
Fix the NFS client for "text file modified, process killed" mmap'd case.
When an mmap'd text file is written and then executed immediately
afterwa
Author: rmacklem
Date: Wed Apr 26 23:01:49 2017
New Revision: 317475
URL: https://svnweb.freebsd.org/changeset/base/317475
Log:
MFC: r316719
Don't throw away Open state when a NFSv4.1 client recovery fails.
If the ExchangeID/CreateSession operations done by an NFSv4.1 client
after the s
Author: rmacklem
Date: Wed Apr 26 22:53:29 2017
New Revision: 317474
URL: https://svnweb.freebsd.org/changeset/base/317474
Log:
MFC: r316717
During a server crash recovery, fix the NFSv4.1 client for a NFSERR_BADSESSION
during recovery.
If the NFSv4.1 client gets a NFSv4.1 NFSERR_BADSES
Author: rmacklem
Date: Wed Apr 26 22:40:08 2017
New Revision: 317473
URL: https://svnweb.freebsd.org/changeset/base/317473
Log:
MFC: r316694
Fix a crash during unmount of an NFSv4.1 mount.
Larry Rosenman reported a crash on freebsd-current@ which was caused by
a premature release of the
Author: rmacklem
Date: Wed Apr 26 22:31:43 2017
New Revision: 317471
URL: https://svnweb.freebsd.org/changeset/base/317471
Log:
MFC: r316745
Fix the NFS client for "text file modified, process killed" mmap'd case.
When an mmap'd text file is written and then executed immediately
afterwa
Author: rmacklem
Date: Wed Apr 26 22:17:54 2017
New Revision: 317468
URL: https://svnweb.freebsd.org/changeset/base/317468
Log:
MFC: r316719
Don't throw away Open state when a NFSv4.1 client recovery fails.
If the ExchangeID/CreateSession operations done by an NFSv4.1 client
after the s
Author: rmacklem
Date: Wed Apr 26 22:11:44 2017
New Revision: 317467
URL: https://svnweb.freebsd.org/changeset/base/317467
Log:
MFC: r316717
During a server crash recovery, fix the NFSv4.1 client for a NFSERR_BADSESSION
during recovery.
If the NFSv4.1 client gets a NFSv4.1 NFSERR_BADSES
Author: rmacklem
Date: Wed Apr 26 22:04:55 2017
New Revision: 317466
URL: https://svnweb.freebsd.org/changeset/base/317466
Log:
MFC: r316694
Fix a crash during unmount of an NFSv4.1 mount.
Larry Rosenman reported a crash on freebsd-current@ which was caused by
a premature release of the
Author: rmacklem
Date: Wed Apr 26 21:54:53 2017
New Revision: 317465
URL: https://svnweb.freebsd.org/changeset/base/317465
Log:
Fix handling of a NFSv4.1 callback reply from the session cache.
The nfsv4_seqsession() call returns NFSERR_REPLYFROMCACHE when it has a
reply in the session, du
Author: rmacklem
Date: Wed Apr 26 00:03:03 2017
New Revision: 317429
URL: https://svnweb.freebsd.org/changeset/base/317429
Log:
MFC: r316692
Set initial values for nfsstatfs in the NFSv4 client.
The AmazonEFS NFSv4.1 server does not support the FILES_FREE and FILES_TOTAL
attributes. As
Author: rmacklem
Date: Tue Apr 25 23:43:37 2017
New Revision: 317427
URL: https://svnweb.freebsd.org/changeset/base/317427
Log:
MFC: r316692
Set initial values for nfsstatfs in the NFSv4 client.
The AmazonEFS NFSv4.1 server does not support the FILES_FREE and FILES_TOTAL
attributes. As
Author: rmacklem
Date: Tue Apr 25 20:34:56 2017
New Revision: 317423
URL: https://svnweb.freebsd.org/changeset/base/317423
Log:
MFC: r316669
Avoid starvation of the server crash recovery thread for the NFSv4 client.
This patch gives a requestor of the exclusive lock on the client state
Author: rmacklem
Date: Tue Apr 25 20:24:00 2017
New Revision: 317422
URL: https://svnweb.freebsd.org/changeset/base/317422
Log:
MFC: r316669
Avoid starvation of the server crash recovery thread for the NFSv4 client.
This patch gives a requestor of the exclusive lock on the client state
Author: rmacklem
Date: Tue Apr 25 19:48:25 2017
New Revision: 317420
URL: https://svnweb.freebsd.org/changeset/base/317420
Log:
MFC: r316667
Fix the NFSv4 client hndling of a stale write verifier in the Commit
operation.
When the NFSv4 client Commit operation encountered a stale write ve
Author: rmacklem
Date: Tue Apr 25 19:35:13 2017
New Revision: 317419
URL: https://svnweb.freebsd.org/changeset/base/317419
Log:
MFC: r31
Fix the NFSv4.1 client for NFSERR_BADSESSION recovery via ReclaimComplete.
For the ReclaimComplete operation, the RPC layer should not loop on
NFS
Author: rmacklem
Date: Tue Apr 25 19:14:31 2017
New Revision: 317418
URL: https://svnweb.freebsd.org/changeset/base/317418
Log:
MFC: r316667
Fix the NFSv4 client hndling of a stale write verifier in the Commit
operation.
When the NFSv4 client Commit operation encountered a stale write ve
Author: rmacklem
Date: Tue Apr 25 19:02:34 2017
New Revision: 317417
URL: https://svnweb.freebsd.org/changeset/base/317417
Log:
MFC: r31
Fix the NFSv4.1 client for NFSERR_BADSESSION recovery via ReclaimComplete.
For the ReclaimComplete operation, the RPC layer should not loop on
NFS
Author: rmacklem
Date: Tue Apr 25 12:07:04 2017
New Revision: 317406
URL: https://svnweb.freebsd.org/changeset/base/317406
Log:
MFC: r316655
Fix parsing failure for NFSv4 Setattr operation for failed case.
If an operation that preceeds a Setattr in an NFSv4 compound fails,
there is no b
Author: rmacklem
Date: Tue Apr 25 11:59:23 2017
New Revision: 317405
URL: https://svnweb.freebsd.org/changeset/base/317405
Log:
MFC: r316655
Fix parsing failure for NFSv4 Setattr operation for failed case.
If an operation that preceeds a Setattr in an NFSv4 compound fails,
there is no b
Author: rmacklem
Date: Tue Apr 25 11:36:25 2017
New Revision: 317404
URL: https://svnweb.freebsd.org/changeset/base/317404
Log:
MFC: r310491
Fix NFSv4.1 client recovery from NFS4ERR_BAD_SESSION errors.
For most NFSv4.1 servers, a NFS4ERR_BAD_SESSION error is a rare failure
that indicate
Author: rmacklem
Date: Mon Apr 24 23:47:12 2017
New Revision: 317393
URL: https://svnweb.freebsd.org/changeset/base/317393
Log:
MFC: r310491
Fix NFSv4.1 client recovery from NFS4ERR_BAD_SESSION errors.
For most NFSv4.1 servers, a NFS4ERR_BAD_SESSION error is a rare failure
that indicate
Author: rmacklem
Date: Mon Apr 24 20:46:19 2017
New Revision: 317382
URL: https://svnweb.freebsd.org/changeset/base/317382
Log:
Allow use of a write open stateid for reading in the NFSv4 server.
The NFSv4 RFCs give a server the option of allowing the use of an open
stateid for write acces
Author: rmacklem
Date: Sun Apr 23 23:09:02 2017
New Revision: 317350
URL: https://svnweb.freebsd.org/changeset/base/317350
Log:
Fix the default uid/gid values in nfsuserd.c
This patch sets the default uid/gid values for "nobody" and "nogroup"
to the values in the password and group databa
Author: rmacklem
Date: Sun Apr 23 21:51:28 2017
New Revision: 317345
URL: https://svnweb.freebsd.org/changeset/base/317345
Log:
Make the NFSv4 client to use a write open for reading if allowed by the
server.
An NFSv4 server has the option of allowing a Read to be done using a Write
Open.
Author: rmacklem
Date: Sun Apr 23 21:36:32 2017
New Revision: 317344
URL: https://svnweb.freebsd.org/changeset/base/317344
Log:
Don't set the connection-back-channel flag for DS sessions.
The NFSv4.1/pNFS client does not use/need a backchannel for the Data Server
(DS)
sessions, so the fl
Author: rmacklem
Date: Sat Apr 22 22:37:44 2017
New Revision: 317305
URL: https://svnweb.freebsd.org/changeset/base/317305
Log:
Fix the NFSv4.1/pNFS client return layout on close.
The "return layout on close" case in the pNFS client was badly broken.
Fortunately, extant pNFS servers that
Author: rmacklem
Date: Sat Apr 22 20:55:39 2017
New Revision: 317296
URL: https://svnweb.freebsd.org/changeset/base/317296
Log:
Fix some krpc leaks for the NFSv4.1/pNFS client.
The NFSv4.1/pNFS client wasn't doing a newnfs_disconnect() call for the
connection to the Data Server (DS) under
Author: rmacklem
Date: Fri Apr 21 23:01:32 2017
New Revision: 317276
URL: https://svnweb.freebsd.org/changeset/base/317276
Log:
Don't set ND_NOMOREDATA for a failed Setattr operation (NFSv4).
The NFSv4 Setattr operation always has reply data even when it fails,
so don't set the ND_NOMORED
Author: rmacklem
Date: Fri Apr 21 22:38:26 2017
New Revision: 317275
URL: https://svnweb.freebsd.org/changeset/base/317275
Log:
Don't create a backchannel for a DS connection.
An NFSv4.1 client connection to a Data Server (DS) should not have a
backchannel. This patch fixes the NFSv4.1/pN
Author: rmacklem
Date: Fri Apr 21 21:43:00 2017
New Revision: 317272
URL: https://svnweb.freebsd.org/changeset/base/317272
Log:
Add checks for failed operations to the NFSv4 client function nfscl_mtofh().
The nfscl_mtofh() function didn't check for failed operations and, as such,
would ha
Author: rmacklem
Date: Fri Apr 21 20:53:51 2017
New Revision: 317270
URL: https://svnweb.freebsd.org/changeset/base/317270
Log:
Get rid of bogus statement in the nfsuserd.8 man page.
The nfsuserd.8 man page stated that a usertimeout of 0 would disable
the cache timeout. This was simply no
Author: rmacklem
Date: Fri Apr 21 20:08:10 2017
New Revision: 317269
URL: https://svnweb.freebsd.org/changeset/base/317269
Log:
Set default uid/gid to nobody/nogroup for NFSv4 mapping.
The default uid/gid for NFSv4 are set by the nfsuserd(8) daemon.
However, they were 0 until the nfsuserd
Author: rmacklem
Date: Fri Apr 21 11:48:12 2017
New Revision: 317251
URL: https://svnweb.freebsd.org/changeset/base/317251
Log:
Revert r317240. I didn't realize there were defined constants for
uid/gid values in sys/conf.h. I will do another commit using those.
Modified:
head/sys/fs/nfs/nfs
do?
rick
ps: I hope you don't mind the top post...
From: Bruce Evans
Sent: Friday, April 21, 2017 1:19:25 AM
To: Rick Macklem
Cc: src-committ...@freebsd.org; svn-src-all@freebsd.org;
svn-src-h...@freebsd.org
Subject: Re: svn commit: r317240 - head
Author: rmacklem
Date: Fri Apr 21 01:50:41 2017
New Revision: 317240
URL: https://svnweb.freebsd.org/changeset/base/317240
Log:
Set default uid/gid to nobody/nogroup for NFSv4 mapping.
The default uid/gid for NFSv4 are set by the nfsuserd(8) daemon.
However, they were 0 until the nfsuserd
Author: rmacklem
Date: Fri Apr 21 00:17:47 2017
New Revision: 317236
URL: https://svnweb.freebsd.org/changeset/base/317236
Log:
Fix the setting of atime for Linux client NFSv4 mounts.
The FreeBSD NFSv4 server did not set the attribute bit for TimeAccess in
the reply to an Open with exclus
Author: rmacklem
Date: Fri Apr 14 13:25:45 2017
New Revision: 316829
URL: https://svnweb.freebsd.org/changeset/base/316829
Log:
Remove unused "cred" argument to ncl_flush().
The "cred" argument of ncl_flush() is unused and it was confusing to have
the code passing in NULL for this argumen
Author: rmacklem
Date: Thu Apr 13 22:05:24 2017
New Revision: 316793
URL: https://svnweb.freebsd.org/changeset/base/316793
Log:
Document the "oneopenown" option added by r316792.
This is a content change.
MFC after:2 weeks
Modified:
head/sbin/mount_nfs/mount_nfs.8
Modified: hea
Author: rmacklem
Date: Thu Apr 13 21:54:19 2017
New Revision: 316792
URL: https://svnweb.freebsd.org/changeset/base/316792
Log:
Add an NFSv4.1 mount option for "use one openowner".
Some NFSv4.1 servers such as AmazonEFS can only support a small fixed number
of open_owner4s. This patch add
Author: rmacklem
Date: Thu Apr 13 20:16:29 2017
New Revision: 316782
URL: https://svnweb.freebsd.org/changeset/base/316782
Log:
Add call to svcpool_close() for the NFSv4 callback pool (svcpool_nfscbd).
A function called svcpool_close() was added to the server side krpc by
r313735, so that
Author: rmacklem
Date: Wed Apr 12 21:37:12 2017
New Revision: 316745
URL: https://svnweb.freebsd.org/changeset/base/316745
Log:
Fix the NFS client for "text file modified, process killed" mmap'd case.
When an mmap'd text file is written and then executed immediately
afterwards, it was pos
Author: rmacklem
Date: Tue Apr 11 22:47:02 2017
New Revision: 316719
URL: https://svnweb.freebsd.org/changeset/base/316719
Log:
Don't throw away Open state when a NFSv4.1 client recovery fails.
If the ExchangeID/CreateSession operations done by an NFSv4.1 client
after the server crashes/r
Author: rmacklem
Date: Tue Apr 11 20:28:15 2017
New Revision: 316717
URL: https://svnweb.freebsd.org/changeset/base/316717
Log:
During a server crash recovery, fix the NFSv4.1 client for a NFSERR_BADSESSION
during recovery.
If the NFSv4.1 client gets a NFSv4.1 NFSERR_BADSESSION reply to a
Author: rmacklem
Date: Mon Apr 10 22:47:18 2017
New Revision: 316694
URL: https://svnweb.freebsd.org/changeset/base/316694
Log:
Fix a crash during unmount of an NFSv4.1 mount.
Larry Rosenman reported a crash on freebsd-current@ which was caused by
a premature release of the krpc backchann
Author: rmacklem
Date: Mon Apr 10 21:49:35 2017
New Revision: 316692
URL: https://svnweb.freebsd.org/changeset/base/316692
Log:
Set initial values for nfsstatfs in the NFSv4 client.
The AmazonEFS NFSv4.1 server does not support the FILES_FREE and FILES_TOTAL
attributes. As such, an NFSv4.
Author: rmacklem
Date: Mon Apr 10 01:28:01 2017
New Revision: 316669
URL: https://svnweb.freebsd.org/changeset/base/316669
Log:
Avoid starvation of the server crash recovery thread for the NFSv4 client.
This patch gives a requestor of the exclusive lock on the client state
in the NFSv4 cl
Author: rmacklem
Date: Sun Apr 9 21:50:21 2017
New Revision: 316667
URL: https://svnweb.freebsd.org/changeset/base/316667
Log:
Fix the NFSv4 client hndling of a stale write verifier in the Commit
operation.
When the NFSv4 client Commit operation encountered a stale write verifier,
it er
Author: rmacklem
Date: Sun Apr 9 21:06:21 2017
New Revision: 31
URL: https://svnweb.freebsd.org/changeset/base/31
Log:
Fix the NFSv4.1 client for NFSERR_BADSESSION recovery via ReclaimComplete.
For the ReclaimComplete operation, the RPC layer should not loop on
NFSERR_BADSESSION.
Author: rmacklem
Date: Sun Apr 9 12:32:22 2017
New Revision: 316655
URL: https://svnweb.freebsd.org/changeset/base/316655
Log:
Fix parsing failure for NFSv4 Setattr operation for failed case.
If an operation that preceeds a Setattr in an NFSv4 compound fails,
there is no bitmap of attrib
Warner Losh wrote:
> On Sun, Feb 26, 2017 at 5:44 AM, Konstantin Belousov
> wrote:
> > On Sun, Feb 26, 2017 at 04:43:12AM +1100, Bruce Evans wrote:
> > 2.9 BSD was a port to PDP-11, AFAIK, with 16bit ints.
>
> A bit off topic, but 2BSD was basically[**] a continuation of Research
> Unix which sta
Author: rmacklem
Date: Fri Dec 23 23:14:53 2016
New Revision: 310491
URL: https://svnweb.freebsd.org/changeset/base/310491
Log:
Fix NFSv4.1 client recovery from NFS4ERR_BAD_SESSION errors.
For most NFSv4.1 servers, a NFS4ERR_BAD_SESSION error is a rare failure
that indicates that the serv
Author: rmacklem
Date: Thu Dec 22 21:56:41 2016
New Revision: 310432
URL: https://svnweb.freebsd.org/changeset/base/310432
Log:
MFC: r309723
Patch the nfsd so that it doesn't register with rpcbind for an NFSv4 only
server.
This patch uses the sysctl vfs.nfsd.server_min_nfsvers to determ
Author: rmacklem
Date: Mon Dec 19 22:28:28 2016
New Revision: 310303
URL: https://svnweb.freebsd.org/changeset/base/310303
Log:
MFC: r309566
Fix the NFSv4.1 server for Open reclaim after a reboot.
The NFSv4.1 server failed to update the nfs-stablerestart file for
a client when the clien
Author: rmacklem
Date: Mon Dec 19 22:15:29 2016
New Revision: 310301
URL: https://svnweb.freebsd.org/changeset/base/310301
Log:
MFC: r309566
Fix the NFSv4.1 server for Open reclaim after a reboot.
The NFSv4.1 server failed to update the nfs-stablerestart file for
a client when the clien
Author: rmacklem
Date: Sat Dec 10 21:13:50 2016
New Revision: 309832
URL: https://svnweb.freebsd.org/changeset/base/309832
Log:
MFC: r309198, r309199
Document the -E flag for nfsstat.
This is a content change.
Modified:
stable/11/usr.bin/nfsstat/nfsstat.1
Directory Properties:
stable/11
Author: rmacklem
Date: Sat Dec 10 21:03:49 2016
New Revision: 309831
URL: https://svnweb.freebsd.org/changeset/base/309831
Log:
MFC: r309197
Add a -E flag to nfsstat.c so that it prints out the NFSv4.1
procedure/operation counts.
It also avoids clipping the counts at 9 digits.
Modified:
Author: rmacklem
Date: Sat Dec 10 00:32:10 2016
New Revision: 309781
URL: https://svnweb.freebsd.org/changeset/base/309781
Log:
MFC: r309171
Stop "nfsstat -z" from clearing counts of NFSv4 state structures.
The "-z" option on nfsstats was erroneously zeroing out the counts
of NFSv4 stat
Author: rmacklem
Date: Thu Dec 8 23:29:56 2016
New Revision: 309723
URL: https://svnweb.freebsd.org/changeset/base/309723
Log:
Patch the nfsd so that it doesn't register with rpcbind for an NFSv4 only
server.
This patch uses the sysctl vfs.nfsd.server_min_nfsvers to determine
if/what v
Author: rmacklem
Date: Mon Dec 5 22:36:25 2016
New Revision: 309566
URL: https://svnweb.freebsd.org/changeset/base/309566
Log:
Fix the NFSv4.1 server for Open reclaim after a reboot.
The NFSv4.1 server failed to update the nfs-stablerestart file for
a client when the client was issued it
Author: rmacklem
Date: Sat Dec 3 21:56:46 2016
New Revision: 309518
URL: https://svnweb.freebsd.org/changeset/base/309518
Log:
MFC: r308871
Modify umount so that it does not do an Unmount RPC for NFSv4 mounts
and uses TCP for the Unmount RPC if the mount is over TCP.
Without this patch, u
Author: rmacklem
Date: Sat Dec 3 21:49:26 2016
New Revision: 309517
URL: https://svnweb.freebsd.org/changeset/base/309517
Log:
MFC: r308871
Modify umount so that it does not do an Unmount RPC for NFSv4 mounts
and uses TCP for the Unmount RPC if the mount is over TCP.
Without this patch, u
Author: rmacklem
Date: Sat Nov 26 20:58:05 2016
New Revision: 309199
URL: https://svnweb.freebsd.org/changeset/base/309199
Log:
Use November instead of the abbreviation.
Requested by: Ed Shouten
MFC after:2 weeks
Modified:
head/usr.bin/nfsstat/nfsstat.1
Modified: head/usr.bin/nfss
Author: rmacklem
Date: Sat Nov 26 20:53:22 2016
New Revision: 309198
URL: https://svnweb.freebsd.org/changeset/base/309198
Log:
Document the -E flag for nfsstat.
This is a content change.
Reviewed by: bcr
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org
Author: rmacklem
Date: Sat Nov 26 20:47:11 2016
New Revision: 309197
URL: https://svnweb.freebsd.org/changeset/base/309197
Log:
Add a -E flag to nfsstat.c so that it prints out the NFSv4.1
procedure/operation counts.
It also avoids clipping the counts at 9 digits.
Reviewed by: bcr (doc
Author: rmacklem
Date: Fri Nov 25 23:28:09 2016
New Revision: 309171
URL: https://svnweb.freebsd.org/changeset/base/309171
Log:
Stop "nfsstat -z" from clearing counts of NFSv4 state structures.
The "-z" option on nfsstats was erroneously zeroing out the counts
of NFSv4 state structures. T
Author: rmacklem
Date: Sat Nov 19 23:58:50 2016
New Revision: 308871
URL: https://svnweb.freebsd.org/changeset/base/308871
Log:
Modify umount so that it does not do an Unmount RPC for NFSv4 mounts
and uses TCP for the Unmount RPC if the mount is over TCP.
Without this patch, umount does an U
Author: rmacklem
Date: Tue Nov 8 21:57:49 2016
New Revision: 308455
URL: https://svnweb.freebsd.org/changeset/base/308455
Log:
MFC: r307891
Fix the man page to reflect the change done by r307890 to mountd.c
so that the "-n" option uses the sysctl for the correct NFS server.
This is a cont
601 - 700 of 1741 matches
Mail list logo