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

2015-06-12 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 12 13:42:53 2015 New Revision: 284318 URL: https://svnweb.freebsd.org/changeset/base/284318 Log: Add TUNABLE_INT() macros so that the tunables MFC'd from head as r284216 are set via /boot/loader.conf in stable/10. This is a direct commit to stable/10 because

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

2015-06-10 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 10 12:17:19 2015 New Revision: 284216 URL: https://svnweb.freebsd.org/changeset/base/284216 Log: MFC: r283635 Make the size of the hash tables used by the NFSv4 server tunable. No appreciable change in performance was observed after increasing the sizes of

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

2015-06-06 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 6 20:54:41 2015 New Revision: 284101 URL: https://svnweb.freebsd.org/changeset/base/284101 Log: MFC: r283330 The NFS client generated directory block(s) with d_fileno == 0 so that it would not return less data than requested. Since returning less directory

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

2015-06-04 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 4 12:35:00 2015 New Revision: 283987 URL: https://svnweb.freebsd.org/changeset/base/283987 Log: MFC: r283273 The NFS client wasn't handling getdirentries(2) requests for sizes that are not an exact multiple of DIRBLKSIZ correctly. Fortunately readdir(3)

svn commit: r283762 - stable/10/usr.sbin/mountd

2015-05-29 Thread Rick Macklem
Author: rmacklem Date: Sat May 30 01:04:45 2015 New Revision: 283762 URL: https://svnweb.freebsd.org/changeset/base/283762 Log: MFC: r283008 Add a warning message to mountd for exported file systems that are automounted, since that configuration isn't supported. This still allows the

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

2015-05-29 Thread Rick Macklem
Author: rmacklem Date: Fri May 29 20:22:53 2015 New Revision: 283753 URL: https://svnweb.freebsd.org/changeset/base/283753 Log: Make the NFS server use shared vnode locks for a few cases that are allowed by the VFS/VOP interface instead of using exclusive locks. MFC after:2 weeks

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

2015-05-27 Thread Rick Macklem
Author: rmacklem Date: Wed May 27 22:00:05 2015 New Revision: 283635 URL: https://svnweb.freebsd.org/changeset/base/283635 Log: Make the size of the hash tables used by the NFSv4 server tunable. No appreciable change in performance was observed after increasing the sizes of these tables and

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

2015-05-23 Thread Rick Macklem
Author: rmacklem Date: Sat May 23 21:58:41 2015 New Revision: 283330 URL: https://svnweb.freebsd.org/changeset/base/283330 Log: The NFS client generated directory block(s) with d_fileno == 0 so that it would not return less data than requested. Since returning less directory data than

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

2015-05-21 Thread Rick Macklem
Author: rmacklem Date: Thu May 21 23:14:18 2015 New Revision: 283273 URL: https://svnweb.freebsd.org/changeset/base/283273 Log: The NFS client wasn't handling getdirentries(2) requests for sizes that are not an exact multiple of DIRBLKSIZ correctly. Fortunately readdir(3) always uses an

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

2015-05-16 Thread Rick Macklem
Author: rmacklem Date: Sat May 16 12:05:26 2015 New Revision: 283008 URL: https://svnweb.freebsd.org/changeset/base/283008 Log: Add a warning message to mountd for exported file systems that are automounted, since that configuration isn't supported. This still allows the export, since two

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

2015-05-14 Thread Rick Macklem
Author: rmacklem Date: Thu May 14 22:50:07 2015 New Revision: 282933 URL: https://svnweb.freebsd.org/changeset/base/282933 Log: MFC: r281960 MAXBSIZE defines both the largest UFS block size and the largest size for a buffer in the buffer cache. This patch defines a new constant

svn commit: r282677 - in stable/9/sys/fs: nfs nfsserver

2015-05-09 Thread Rick Macklem
Author: rmacklem Date: Sat May 9 12:10:59 2015 New Revision: 282677 URL: https://svnweb.freebsd.org/changeset/base/282677 Log: MFC: r281628 mav@ has found that NFS servers exporting ZFS file systems can perform better when using a 128K read/write data size. This patch changes NFS_MAXDATA

svn commit: r282343 - stable/9/sys/fs/nfsserver

2015-05-02 Thread Rick Macklem
Author: rmacklem Date: Sat May 2 12:58:04 2015 New Revision: 282343 URL: https://svnweb.freebsd.org/changeset/base/282343 Log: MFC: r281962 Fix the NFS server's handling of a bogus NFSv2 ROOT RPC. The ROOT RPC is deprecated in the NFSv2 RFC, RFC-1094 and should never be used by a client.

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

2015-05-02 Thread Rick Macklem
Author: rmacklem Date: Sat May 2 12:18:28 2015 New Revision: 282340 URL: https://svnweb.freebsd.org/changeset/base/282340 Log: MFC: r281962 Fix the NFS server's handling of a bogus NFSv2 ROOT RPC. The ROOT RPC is deprecated in the NFSv2 RFC, RFC-1094 and should never be used by a client.

svn commit: r282270 - in stable/10/sys: fs/ext2fs fs/fuse fs/msdosfs fs/nandfs fs/nfsclient fs/nfsserver fs/nullfs kern sys ufs/ffs

2015-04-30 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 30 12:39:24 2015 New Revision: 282270 URL: https://svnweb.freebsd.org/changeset/base/282270 Log: MFC: r281562 File systems that do not use the buffer cache (such as ZFS) must use VOP_FSYNC() to perform the NFS server's Commit operation. This patch adds a

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

2015-04-30 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 30 12:44:20 2015 New Revision: 282271 URL: https://svnweb.freebsd.org/changeset/base/282271 Log: MFC: r281628 mav@ has found that NFS servers exporting ZFS file systems can perform better when using a 128K read/write data size. This patch changes NFS_MAXDATA

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

2015-04-24 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 25 00:58:24 2015 New Revision: 281962 URL: https://svnweb.freebsd.org/changeset/base/281962 Log: Fix the NFS server's handling of a bogus NFSv2 ROOT RPC. The ROOT RPC is deprecated in the NFSv2 RFC, RFC-1094 and should never be used by a client. Tested

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

2015-04-24 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 25 00:52:01 2015 New Revision: 281960 URL: https://svnweb.freebsd.org/changeset/base/281960 Log: MAXBSIZE defines both the largest UFS block size and the largest size for a buffer in the buffer cache. This patch defines a new constant MAXBCACHEBUF, which is

Re: svn commit: r281888 - head/usr.bin/nfsstat

2015-04-23 Thread Rick Macklem
John Baldwin wrote: On Thursday, April 23, 2015 02:36:02 PM Edward Tomasz Napierala wrote: Author: trasz Date: Thu Apr 23 14:36:01 2015 New Revision: 281888 URL: https://svnweb.freebsd.org/changeset/base/281888 Log: Remove oldnfs support from nfsstat(1). Reviewed by:

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

2015-04-16 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 16 22:35:15 2015 New Revision: 281628 URL: https://svnweb.freebsd.org/changeset/base/281628 Log: mav@ has found that NFS servers exporting ZFS file systems can perform better when using a 128K read/write data size. This patch changes NFS_MAXDATA from 64K to

svn commit: r281562 - in head/sys: fs/ext2fs fs/fuse fs/msdosfs fs/nandfs fs/nfsclient fs/nfsserver fs/nullfs kern sys ufs/ffs

2015-04-15 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 15 20:16:31 2015 New Revision: 281562 URL: https://svnweb.freebsd.org/changeset/base/281562 Log: File systems that do not use the buffer cache (such as ZFS) must use VOP_FSYNC() to perform the NFS server's Commit operation. This patch adds a mnt_kern_flag

svn commit: r281385 - stable/9/sys/fs/nfsclient

2015-04-10 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 10 22:53:07 2015 New Revision: 281385 URL: https://svnweb.freebsd.org/changeset/base/281385 Log: MFC: r276347 r245508 modified the NFS client's Setattr RPC to use VA_UTIMES_NULL to indicate whether it should set the time to the current tod on the server.

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

2015-04-10 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 10 23:43:01 2015 New Revision: 281386 URL: https://svnweb.freebsd.org/changeset/base/281386 Log: MFC: r276347 r245508 modified the NFS client's Setattr RPC to use VA_UTIMES_NULL to indicate whether it should set the time to the current tod on the server.

svn commit: r276436 - stable/10/sys/kern

2014-12-30 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 31 00:34:37 2014 New Revision: 276436 URL: https://svnweb.freebsd.org/changeset/base/276436 Log: MFC: r276192, r276200 Modify vop_stdadvlock{async}() so that it only locks/unlocks the vnode and does a VOP_GETATTR() for the SEEK_END case. This is safe to do,

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

2014-12-30 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 31 00:40:10 2014 New Revision: 276437 URL: https://svnweb.freebsd.org/changeset/base/276437 Log: MFC: r276193 A deadlock in the NFSv4 server with vfs.nfsd.enable_locallocks=1 was reported via email. This was caused by a LOR between the sleep lock used to

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

2014-12-30 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 31 00:44:11 2014 New Revision: 276438 URL: https://svnweb.freebsd.org/changeset/base/276438 Log: MFC: r276221 Delete some duplicate code that was harmless because exactly the same code is at the end of the nfscl_checksattr() function that is called just

svn commit: r276440 - stable/9/sys/kern

2014-12-30 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 31 01:29:44 2014 New Revision: 276440 URL: https://svnweb.freebsd.org/changeset/base/276440 Log: MFC: r276192, r276200 Modify vop_stdadvlock{async}() so that it only locks/unlocks the vnode and does a VOP_GETATTR() for the SEEK_END case. This is safe to do,

svn commit: r276441 - stable/9/sys/fs/nfsserver

2014-12-30 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 31 01:34:37 2014 New Revision: 276441 URL: https://svnweb.freebsd.org/changeset/base/276441 Log: MFC: r276193 A deadlock in the NFSv4 server with vfs.nfsd.enable_locallocks=1 was reported via email. This was caused by a LOR between the sleep lock used to

svn commit: r276442 - stable/9/sys/fs/nfsclient

2014-12-30 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 31 01:38:02 2014 New Revision: 276442 URL: https://svnweb.freebsd.org/changeset/base/276442 Log: MFC: r276221 Delete some duplicate code that was harmless because exactly the same code is at the end of the nfscl_checksattr() function that is called just

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

2014-12-28 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 28 21:13:52 2014 New Revision: 276347 URL: https://svnweb.freebsd.org/changeset/base/276347 Log: r245508 modified the NFS client's Setattr RPC to use VA_UTIMES_NULL to indicate whether it should set the time to the current tod on the server. This had the

svn commit: r276200 - head/sys/kern

2014-12-25 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 25 14:44:04 2014 New Revision: 276200 URL: https://svnweb.freebsd.org/changeset/base/276200 Log: Fix the comment introduced in r276192 so that it clearly states that the change is needed to avoid a deadlock. Suggested by: kib MFC after:1 week

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

2014-12-25 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 25 22:29:37 2014 New Revision: 276221 URL: https://svnweb.freebsd.org/changeset/base/276221 Log: Delete some duplicate code that was harmless because exactly the same code is at the end of the nfscl_checksattr() function that is called just before it. As such,

svn commit: r276192 - head/sys/kern

2014-12-24 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 24 22:58:08 2014 New Revision: 276192 URL: https://svnweb.freebsd.org/changeset/base/276192 Log: Modify vop_stdadvlock{async}() so that it only locks/unlocks the vnode and does a VOP_GETATTR() for the SEEK_END case. This is safe to do, since

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

2014-12-24 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 25 01:55:17 2014 New Revision: 276193 URL: https://svnweb.freebsd.org/changeset/base/276193 Log: A deadlock in the NFSv4 server with vfs.nfsd.enable_locallocks=1 was reported via email. This was caused by a LOR between the sleep lock used to serialize the

svn commit: r276140 - in head/sys: conf fs/nfs fs/nfsclient

2014-12-23 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 23 14:24:36 2014 New Revision: 276140 URL: https://svnweb.freebsd.org/changeset/base/276140 Log: Fix kernel builds with options NFS_DEBUG that were broken by r276096. Also delete the two kernel options NFS_GATHERDELAY, NFS_WDELAYHASHSIZ which are no longer

Re: svn commit: r276096 - in head/sys: arm/conf conf fs/nfs fs/nfsclient modules modules/dtrace modules/dtrace/dtnfsclient modules/dtrace/dtraceall modules/nfs_common modules/nfsclient modules/nfsserv

2014-12-23 Thread Rick Macklem
Bjoern A. Zeeb wrote: On 23 Dec 2014, at 00:47 , Rick Macklem rmack...@freebsd.org wrote: Author: rmacklem Date: Tue Dec 23 00:47:46 2014 New Revision: 276096 URL: https://svnweb.freebsd.org/changeset/base/276096 Log: Remove the old NFS client and server from head

svn commit: r276096 - in head/sys: arm/conf conf fs/nfs fs/nfsclient modules modules/dtrace modules/dtrace/dtnfsclient modules/dtrace/dtraceall modules/nfs_common modules/nfsclient modules/nfsserve...

2014-12-22 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 23 00:47:46 2014 New Revision: 276096 URL: https://svnweb.freebsd.org/changeset/base/276096 Log: Remove the old NFS client and server from head, which means that the NFSCLIENT and NFSSERVER kernel options will no longer work. This commit only removes the

svn commit: r276097 - head

2014-12-22 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 23 01:32:18 2014 New Revision: 276097 URL: https://svnweb.freebsd.org/changeset/base/276097 Log: Add an UPDATING entry for r276096, which removed the kernel sources for the old NFS client and server. Modified: head/UPDATING Modified: head/UPDATING

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

2014-11-05 Thread Rick Macklem
Author: rmacklem Date: Wed Nov 5 23:12:39 2014 New Revision: 274150 URL: https://svnweb.freebsd.org/changeset/base/274150 Log: MFC: r273486 Clip the settings for the NFS rsize, wsize mount options to a power of 2. For non-power of 2 settings, intermittent page faults have been reported.

svn commit: r274152 - stable/9/sys/fs/nfsclient

2014-11-05 Thread Rick Macklem
Author: rmacklem Date: Wed Nov 5 23:57:33 2014 New Revision: 274152 URL: https://svnweb.freebsd.org/changeset/base/274152 Log: MFC: r273486 Clip the settings for the NFS rsize, wsize mount options to a power of 2. For non-power of 2 settings, intermittent page faults have been reported.

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

2014-10-22 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 22 20:47:11 2014 New Revision: 273481 URL: https://svnweb.freebsd.org/changeset/base/273481 Log: Clip the settings for the NFS rsize, wsize mount options to a power of 2. For non-power of 2 settings, intermittent page faults have been reported. Although the

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

2014-10-22 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 22 21:57:35 2014 New Revision: 273485 URL: https://svnweb.freebsd.org/changeset/base/273485 Log: Revert r273481 so it can be recoded using fls(), which some feel will make it more readable. Modified: head/sys/fs/nfsclient/nfs_clvfsops.c Modified:

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

2014-10-22 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 22 22:27:51 2014 New Revision: 273486 URL: https://svnweb.freebsd.org/changeset/base/273486 Log: Clip the settings for the NFS rsize, wsize mount options to a power of 2. For non-power of 2 settings, intermittent page faults have been reported. Although the

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Rick Macklem
Hans Petter Selasky wrote: On 09/13/14 18:54, Adrian Chadd wrote: Hi, Just for the record: * I'm glad you're tackling the TSO config stuff; * I'm not glad you're trying to pack it into a u_int rather than creating a new structure and adding fields for it. I appreciate that

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Rick Macklem
Hans Petter Selasky wrote: On 09/13/14 22:04, Rick Macklem wrote: Hans Petter Selasky wrote: On 09/13/14 18:54, Adrian Chadd wrote: Hi, Just for the record: * I'm glad you're tackling the TSO config stuff; * I'm not glad you're trying to pack it into a u_int rather than creating

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Rick Macklem
Hans Petter Selasky wrote: On 09/13/14 22:28, Rick Macklem wrote: Hans Petter Selasky wrote: On 09/13/14 22:04, Rick Macklem wrote: Hans Petter Selasky wrote: On 09/13/14 18:54, Adrian Chadd wrote: Hi, Just for the record: * I'm glad you're tackling the TSO config stuff; * I'm

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Rick Macklem
Hans Petter Selasky wrote: On 09/13/14 22:35, Hans Petter Selasky wrote: I see the default set to (65536 - 4). I don't know why you subtracted 4 but I would have expected the max ethernet header length to be subtracted here? You mean to say that the default should be 65535 -

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Rick Macklem
Hans Petter Selasky wrote: On 09/13/14 18:54, Adrian Chadd wrote: Hi, Just for the record: * I'm glad you're tackling the TSO config stuff; * I'm not glad you're trying to pack it into a u_int rather than creating a new structure and adding fields for it. I appreciate that

svn commit: r270875 - stable/9/usr.sbin/mountd

2014-08-31 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 31 12:21:40 2014 New Revision: 270875 URL: http://svnweb.freebsd.org/changeset/base/270875 Log: MFC: r270005 Try to clarify how file systems are exported for NFSv4. This is a content change. Modified: stable/9/usr.sbin/mountd/exports.5 Directory Properties:

svn commit: r270841 - stable/9/sys/fs/nfsserver

2014-08-30 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 30 13:28:10 2014 New Revision: 270841 URL: http://svnweb.freebsd.org/changeset/base/270841 Log: MFC: r269771 Change the NFS server's printf related to hitting the DRC cache's flood level so that it suggests increasing vfs.nfsd.tcphighwater. Modified:

svn commit: r270860 - stable/9/usr.sbin/nfsd

2014-08-30 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 30 20:26:30 2014 New Revision: 270860 URL: http://svnweb.freebsd.org/changeset/base/270860 Log: MFC: r269788 Document the use of the vfs.nfsd sysctls that control the size of the NFS server's DRC for TCP. This is a content change. Modified:

svn commit: r270458 - stable/9/sys/dev/e1000

2014-08-24 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 24 13:03:51 2014 New Revision: 270458 URL: http://svnweb.freebsd.org/changeset/base/270458 Log: MFC: r268726 Move the retry: label so that the calls to m_pullup() are not done after the call to m_defrag(). This fixes a problem where m_pullup() would prepend

svn commit: r270435 - stable/9/sys/fs/nfsserver

2014-08-23 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 23 22:03:15 2014 New Revision: 270435 URL: http://svnweb.freebsd.org/changeset/base/270435 Log: MFC: r268273 The new NFSv3 server did not generate directory postop attributes for the reply to ReaddirPlus when the server failed within the loop that calls

svn commit: r270255 - stable/10/usr.sbin/mountd

2014-08-20 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 21 01:07:27 2014 New Revision: 270255 URL: http://svnweb.freebsd.org/changeset/base/270255 Log: MFC: r270005 Try to clarify how file systems are exported for NFSv4. This is a content change. Modified: stable/10/usr.sbin/mountd/exports.5 Directory

svn commit: r270112 - stable/10/usr.sbin/nfsd

2014-08-17 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 17 19:24:26 2014 New Revision: 270112 URL: http://svnweb.freebsd.org/changeset/base/270112 Log: MFC: r269788 Document the use of the vfs.nfsd sysctls that control the size of the NFS server's DRC for TCP. This is a content change. Modified:

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

2014-08-16 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 16 21:36:22 2014 New Revision: 270066 URL: http://svnweb.freebsd.org/changeset/base/270066 Log: MFC: r269771 Change the NFS server's printf related to hitting the DRC cache's flood level so that it suggests increasing vfs.nfsd.tcphighwater. Modified:

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

2014-08-14 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 14 22:52:05 2014 New Revision: 270005 URL: http://svnweb.freebsd.org/changeset/base/270005 Log: Try to clarify how file systems are exported for NFSv4. Suggested by: rcar...@pinyon.org MFC after:1 week Modified: head/usr.sbin/mountd/exports.5

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

2014-08-10 Thread Rick Macklem
I wrote: Author: rmacklem Date: Sun Aug 10 01:13:32 2014 New Revision: 269771 URL: http://svnweb.freebsd.org/changeset/base/269771 Log: Change the NFS server's printf related to hitting the DRC cache's flood level so that it suggests increasing vfs.nfsd.tcphighwater.

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

2014-08-10 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 10 20:05:13 2014 New Revision: 269788 URL: http://svnweb.freebsd.org/changeset/base/269788 Log: Document the use of the vfs.nfsd sysctls that control the size of the NFS server's DRC for TCP. This is a content change. MFC after:1 week Modified:

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

2014-08-09 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 10 01:13:32 2014 New Revision: 269771 URL: http://svnweb.freebsd.org/changeset/base/269771 Log: Change the NFS server's printf related to hitting the DRC cache's flood level so that it suggests increasing vfs.nfsd.tcphighwater. Suggested by:

svn commit: r269443 - stable/10/usr.sbin/nfsd

2014-08-02 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 2 20:06:36 2014 New Revision: 269443 URL: http://svnweb.freebsd.org/changeset/base/269443 Log: MFC: r268866 r243637 changed the default number of nfsd threads created, but the man page did not reflect this. This is a content change. Modified:

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

2014-08-02 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 3 00:35:10 2014 New Revision: 269452 URL: http://svnweb.freebsd.org/changeset/base/269452 Log: MFC: r268273 The new NFSv3 server did not generate directory postop attributes for the reply to ReaddirPlus when the server failed within the loop that calls

svn commit: r269398 - in stable/10/sys: conf fs/nfs fs/nfsclient fs/nfsserver modules/krpc rpc

2014-08-01 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 1 21:10:41 2014 New Revision: 269398 URL: http://svnweb.freebsd.org/changeset/base/269398 Log: MFC: r268115 Merge the NFSv4.1 server code in projects/nfsv4.1-server over into head. The code is not believed to have any effect on the semantics of non-NFSv4.1

svn commit: r269400 - stable/10/sys/sys

2014-08-01 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 1 21:24:19 2014 New Revision: 269400 URL: http://svnweb.freebsd.org/changeset/base/269400 Log: Bump __FreeBSD_version for r269398, since it changes the internal interfaces between the NFS related modules. This is a direct commit to stable/10. Modified:

svn commit: r269401 - stable/10

2014-08-01 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 1 21:28:58 2014 New Revision: 269401 URL: http://svnweb.freebsd.org/changeset/base/269401 Log: Add an UPDATING entry for the __FreeBSD_version bump related to r269398. Modified: stable/10/UPDATING Modified: stable/10/UPDATING

svn commit: r269258 - stable/10/sys/dev/e1000

2014-07-29 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 29 21:05:51 2014 New Revision: 269258 URL: http://svnweb.freebsd.org/changeset/base/269258 Log: MFC: r268726 Move the retry: label so that the calls to m_pullup() are not done after the call to m_defrag(). This fixes a problem where m_pullup() would prepend

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

2014-07-18 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 19 01:15:01 2014 New Revision: 268866 URL: http://svnweb.freebsd.org/changeset/base/268866 Log: r243637 changed the default number of nfsd threads created, but the man page did not reflect this. This is a content change. Reported by: bde MFC after:

svn commit: r268726 - head/sys/dev/e1000

2014-07-15 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 15 23:32:13 2014 New Revision: 268726 URL: http://svnweb.freebsd.org/changeset/base/268726 Log: Move the retry: label so that the calls to m_pullup() are not done after the call to m_defrag(). This fixes a problem where m_pullup() would prepend an mbuf to the

svn commit: r268579 - stable/9/sys/fs/nfsclient

2014-07-12 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 12 23:27:38 2014 New Revision: 268579 URL: http://svnweb.freebsd.org/changeset/base/268579 Log: MFC: r268008 There might be a potential race condition for the NFSv4 client when a newly created file has another open done on it that update the open mode. This

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

2014-07-12 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 13 00:19:39 2014 New Revision: 268580 URL: http://svnweb.freebsd.org/changeset/base/268580 Log: MFC: r268008 There might be a potential race condition for the NFSv4 client when a newly created file has another open done on it that update the open mode. This

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

2014-07-04 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 4 22:47:07 2014 New Revision: 268273 URL: http://svnweb.freebsd.org/changeset/base/268273 Log: The new NFSv3 server did not generate directory postop attributes for the reply to ReaddirPlus when the server failed within the loop that calls VFS_VGET(). This

svn commit: r268115 - in head/sys: conf fs/nfs fs/nfsclient fs/nfsserver modules/krpc rpc

2014-07-01 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 1 20:47:16 2014 New Revision: 268115 URL: http://svnweb.freebsd.org/changeset/base/268115 Log: Merge the NFSv4.1 server code in projects/nfsv4.1-server over into head. The code is not believed to have any effect on the semantics of non-NFSv4.1 server

svn commit: r268118 - head/sys/sys

2014-07-01 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 1 21:12:48 2014 New Revision: 268118 URL: http://svnweb.freebsd.org/changeset/base/268118 Log: Bump __FreeBSD_version since r268115 changed the internal interfaces used between the NFS related modules, including the krpc. Modified: head/sys/sys/param.h

svn commit: r268127 - head

2014-07-01 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 1 22:32:11 2014 New Revision: 268127 URL: http://svnweb.freebsd.org/changeset/base/268127 Log: Add an entry for r268115 to UPDATING. Modified: head/UPDATING Modified: head/UPDATING ==

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

2014-06-28 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 28 21:47:15 2014 New Revision: 268008 URL: http://svnweb.freebsd.org/changeset/base/268008 Log: There might be a potential race condition for the NFSv4 client when a newly created file has another open done on it that update the open mode. This patch moves the

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

2014-06-10 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 10 22:36:01 2014 New Revision: 267343 URL: http://svnweb.freebsd.org/changeset/base/267343 Log: MFC: r267191 The new NFS server would not allow a hard link to be created to a symlink. This restriction (which was inherited from OpenBSD) is not required by the

svn commit: r267268 - stable/9/sys/fs/nfsserver

2014-06-09 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 9 13:52:10 2014 New Revision: 267268 URL: http://svnweb.freebsd.org/changeset/base/267268 Log: MFC: r267191 The new NFS server would not allow a hard link to be created to a symlink. This restriction (which was inherited from OpenBSD) is not required by the

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

2014-06-06 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 6 21:38:49 2014 New Revision: 267191 URL: http://svnweb.freebsd.org/changeset/base/267191 Log: The new NFS server would not allow a hard link to be created to a symlink. This restriction (which was inherited from OpenBSD) is not required by the NFS RFCs.

svn commit: r266447 - stable/9/sys/fs/nfsserver

2014-05-19 Thread Rick Macklem
Author: rmacklem Date: Mon May 19 16:15:27 2014 New Revision: 266447 URL: http://svnweb.freebsd.org/changeset/base/266447 Log: MFC: r227809 This patch enables the new/default NFS server's use of shared vnode locking for read, readdir, readlink, getattr and access. It is hoped that this

svn commit: r265667 - in stable/10/sys: fs/nfsserver nfsserver

2014-05-08 Thread Rick Macklem
Author: rmacklem Date: Thu May 8 11:59:23 2014 New Revision: 265667 URL: http://svnweb.freebsd.org/changeset/base/265667 Log: MFC: r264888 The PR reported that the old NFS server did not set uio_td == NULL for the VOP_READ() call. This patch fixes both the old and new server for this

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

2014-05-08 Thread Rick Macklem
Author: rmacklem Date: Thu May 8 20:52:25 2014 New Revision: 265714 URL: http://svnweb.freebsd.org/changeset/base/265714 Log: MFC: r265252 The new draft specification for NFSv4.0 specifies that a server should either accept owner and owner_group strings that are just the digits of the

svn commit: r265721 - stable/9/sys/fs/nfsclient

2014-05-08 Thread Rick Macklem
Author: rmacklem Date: Fri May 9 00:19:08 2014 New Revision: 265721 URL: http://svnweb.freebsd.org/changeset/base/265721 Log: MFC: r264842 Modify the NFSv4 client's Pathconf RPC (actually a Getattr Op.) so that it only does the RPC for names that are answered by the RPC. Doing the RPC

svn commit: r265722 - stable/9/sys/fs/nfsserver

2014-05-08 Thread Rick Macklem
Author: rmacklem Date: Fri May 9 00:24:11 2014 New Revision: 265722 URL: http://svnweb.freebsd.org/changeset/base/265722 Log: MFC: r264845 Remove an unnecessary level of indirection for an argument. This simplifies the code and should avoid the clang sparc port from generating an abort()

svn commit: r265723 - in stable/9/sys: fs/nfsserver nfsserver

2014-05-08 Thread Rick Macklem
Author: rmacklem Date: Fri May 9 00:28:07 2014 New Revision: 265723 URL: http://svnweb.freebsd.org/changeset/base/265723 Log: MFC: r264888 The PR reported that the old NFS server did not set uio_td == NULL for the VOP_READ() call. This patch fixes both the old and new server for this

svn commit: r265724 - in stable/9/sys/fs: nfs nfsserver

2014-05-08 Thread Rick Macklem
Author: rmacklem Date: Fri May 9 00:34:29 2014 New Revision: 265724 URL: http://svnweb.freebsd.org/changeset/base/265724 Log: MFC: r265252 The new draft specification for NFSv4.0 specifies that a server should either accept owner and owner_group strings that are just the digits of the

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

2014-05-07 Thread Rick Macklem
Author: rmacklem Date: Wed May 7 22:27:03 2014 New Revision: 265620 URL: http://svnweb.freebsd.org/changeset/base/265620 Log: MFC: r264842 Modify the NFSv4 client's Pathconf RPC (actually a Getattr Op.) so that it only does the RPC for names that are answered by the RPC. Doing the RPC

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

2014-05-07 Thread Rick Macklem
Author: rmacklem Date: Wed May 7 22:33:36 2014 New Revision: 265621 URL: http://svnweb.freebsd.org/changeset/base/265621 Log: MFC: r264845 Remove an unnecessary level of indirection for an argument. This simplifies the code and should avoid the clang sparc port from generating an abort()

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

2014-05-06 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 12:15:05 2014 New Revision: 265434 URL: http://svnweb.freebsd.org/changeset/base/265434 Log: MFC: r264672 Modify the Lookup RPC for NFSv4 so that it acquires directory attributes. This allows the client to cache directory names when they are looked up,

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

2014-05-06 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 21:47:43 2014 New Revision: 265466 URL: http://svnweb.freebsd.org/changeset/base/265466 Log: MFC: r264681 Modify the NFSv4 client open/create RPC so that it acquires post-open/create directory attributes. This allows the RPC to name cache the newly

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

2014-05-06 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 21:54:52 2014 New Revision: 265469 URL: http://svnweb.freebsd.org/changeset/base/265469 Log: MFC: r264705, r264749 Modify the NFSv4 client create/mkdir RPC so that it acquires post-create/mkdir directory attributes. This allows the RPC to name cache the

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

2014-05-06 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 21:59:48 2014 New Revision: 265470 URL: http://svnweb.freebsd.org/changeset/base/265470 Log: MFC: r264738 For an NFSv4 mount with the nocto option, don't get the up to date file attributes upon close. This reduces the Getattr RPC count by about 65% for

svn commit: r265471 - stable/10/sys/netinet

2014-05-06 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 22:04:50 2014 New Revision: 265471 URL: http://svnweb.freebsd.org/changeset/base/265471 Log: MFC: r264739 Add {} braces so that the code conforms to the indentation. Fortunately, I don't think doing the assignment of cap-tsomax unconditionally causes any

svn commit: r265357 - stable/9/sys/netinet

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Mon May 5 11:30:45 2014 New Revision: 265357 URL: http://svnweb.freebsd.org/changeset/base/265357 Log: MFC: r264739 Add {} braces so that the code conforms to the indentation. Fortunately, I don't think doing the assignment of cap-tsomax unconditionally causes any

svn commit: r265389 - stable/9/sys/fs/nfsclient

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Mon May 5 20:48:36 2014 New Revision: 265389 URL: http://svnweb.freebsd.org/changeset/base/265389 Log: MFC: r264705, r264749 Modify the NFSv4 client create/mkdir RPC so that it acquires post-create/mkdir directory attributes. This allows the RPC to name cache the

svn commit: r265390 - stable/9/sys/fs/nfsclient

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Mon May 5 20:55:37 2014 New Revision: 265390 URL: http://svnweb.freebsd.org/changeset/base/265390 Log: MFC: r264738 For an NFSv4 mount with the nocto option, don't get the up to date file attributes upon close. This reduces the Getattr RPC count by about 65% for

svn commit: r265412 - stable/10/sys/net

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 02:44:01 2014 New Revision: 265412 URL: http://svnweb.freebsd.org/changeset/base/265412 Log: MFC: r264469, r264498 Lagg did not set the value of if_hw_tsomax, so when lagg was stacked on top of network interfaces that set if_hw_tsomax, tcp_output() would

svn commit: r265413 - stable/10/sys/net

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 02:49:31 2014 New Revision: 265413 URL: http://svnweb.freebsd.org/changeset/base/265413 Log: MFC: r264517 Vlan did not set the value of if_hw_tsomax, so when vlan was stacked on top of a network interface that set if_hw_tsomax, tcp_output() would see the

svn commit: r265414 - stable/10/sys/net

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 02:54:59 2014 New Revision: 265414 URL: http://svnweb.freebsd.org/changeset/base/265414 Log: MFC: r264630 For NFS mounts using rsize,wsize=65536 over TSO enabled network interfaces limited to 32 transmit segments, there are two known issues. The more

svn commit: r265339 - in stable/9/sys/fs: nfs nfsclient

2014-05-04 Thread Rick Macklem
Author: rmacklem Date: Mon May 5 01:01:30 2014 New Revision: 265339 URL: http://svnweb.freebsd.org/changeset/base/265339 Log: MFC: r264672 Modify the Lookup RPC for NFSv4 so that it acquires directory attributes. This allows the client to cache directory names when they are looked up,

svn commit: r265340 - stable/9/sys/fs/nfsclient

2014-05-04 Thread Rick Macklem
Author: rmacklem Date: Mon May 5 01:07:56 2014 New Revision: 265340 URL: http://svnweb.freebsd.org/changeset/base/265340 Log: MFC: r264681 Modify the NFSv4 client open/create RPC so that it acquires post-open/create directory attributes. This allows the RPC to name cache the newly

<    4   5   6   7   8   9   10   11   12   13   >