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, red

svn commit: r265292 - stable/9/sys/net

2014-05-03 Thread Rick Macklem
Author: rmacklem Date: Sat May 3 23:48:26 2014 New Revision: 265292 URL: http://svnweb.freebsd.org/changeset/base/265292 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 ser

svn commit: r265291 - stable/9/sys/net

2014-05-03 Thread Rick Macklem
Author: rmacklem Date: Sat May 3 23:42:00 2014 New Revision: 265291 URL: http://svnweb.freebsd.org/changeset/base/265291 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 d

svn commit: r265290 - stable/9/sys/net

2014-05-03 Thread Rick Macklem
Author: rmacklem Date: Sat May 3 22:27:24 2014 New Revision: 265290 URL: http://svnweb.freebsd.org/changeset/base/265290 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 s

Re: svn commit: r265252 - in head/sys/fs: nfs nfsserver

2014-05-02 Thread Rick Macklem
I wrote: > Author: rmacklem > Date: Sat May 3 00:13:45 2014 > New Revision: 265252 > URL: http://svnweb.freebsd.org/changeset/base/265252 > > Log: > The new draft specification for NFSv4.0 specifies that a server > should either accept owner and owner_group strings that are just > the digit

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

2014-05-02 Thread Rick Macklem
Author: rmacklem Date: Sat May 3 00:13:45 2014 New Revision: 265252 URL: http://svnweb.freebsd.org/changeset/base/265252 Log: 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 uid/gid or return

svn commit: r264888 - in head/sys: fs/nfsserver nfsserver

2014-04-24 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 24 20:47:58 2014 New Revision: 264888 URL: http://svnweb.freebsd.org/changeset/base/264888 Log: 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 case. PR:

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

2014-04-23 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 23 23:13:46 2014 New Revision: 264845 URL: http://svnweb.freebsd.org/changeset/base/264845 Log: Remove an unnecessary level of indirection for an argument. This simplifies the code and should avoid the clang sparc port from generating an abort() call. Requ

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

2014-04-23 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 23 22:13:10 2014 New Revision: 264842 URL: http://svnweb.freebsd.org/changeset/base/264842 Log: 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 for other names is

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

2014-04-21 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 22 04:42:46 2014 New Revision: 264749 URL: http://svnweb.freebsd.org/changeset/base/264749 Log: Fixes mkdir for the NFSv2 client that was broken by r264705. Reported by: bdrewery MFC after:2 weeks Modified: head/sys/fs/nfsclient/nfs_clrpcops.c Modif

svn commit: r264739 - head/sys/netinet

2014-04-21 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 21 19:17:19 2014 New Revision: 264739 URL: http://svnweb.freebsd.org/changeset/base/264739 Log: Add {} braces so that the code conforms to the indentation. Fortunately, I don't think doing the assignment of cap->tsomax unconditionally causes any problem. R

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

2014-04-21 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 21 19:10:23 2014 New Revision: 264738 URL: http://svnweb.freebsd.org/changeset/base/264738 Log: 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 software builds.

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

2014-04-20 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 20 22:19:00 2014 New Revision: 264705 URL: http://svnweb.freebsd.org/changeset/base/264705 Log: Modify the NFSv4 client create/mkdir RPC so that it acquires post-create/mkdir directory attributes. This allows the RPC to name cache the newly created directory an

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

2014-04-19 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 19 19:40:20 2014 New Revision: 264681 URL: http://svnweb.freebsd.org/changeset/base/264681 Log: 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 created file and reduc

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

2014-04-18 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 18 22:05:34 2014 New Revision: 264672 URL: http://svnweb.freebsd.org/changeset/base/264672 Log: 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, reducing the Looku

svn commit: r264630 - head/sys/net

2014-04-17 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 17 23:31:50 2014 New Revision: 264630 URL: http://svnweb.freebsd.org/changeset/base/264630 Log: For NFS mounts using rsize,wsize=65536 over TSO enabled network interfaces limited to 32 transmit segments, there are two known issues. The more serious one is tha

svn commit: r264517 - head/sys/net

2014-04-15 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 15 21:48:35 2014 New Revision: 264517 URL: http://svnweb.freebsd.org/changeset/base/264517 Log: 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 default value in

svn commit: r264498 - head/sys/net

2014-04-15 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 15 13:28:54 2014 New Revision: 264498 URL: http://svnweb.freebsd.org/changeset/base/264498 Log: Fix build for non-INET that was broken by r264469. MFC after:2 weeks Modified: head/sys/net/if_lagg.c Modified: head/sys/net/if_lagg.c =

svn commit: r264469 - head/sys/net

2014-04-14 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 14 20:34:48 2014 New Revision: 264469 URL: http://svnweb.freebsd.org/changeset/base/264469 Log: 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 see the default value ins

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

2014-01-01 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 1 22:49:37 2014 New Revision: 260174 URL: http://svnweb.freebsd.org/changeset/base/260174 Log: MFC: r259854 The NFSv4 server would call VOP_SETATTR() with a shared locked vnode when a Getattr for a file is done by a client other than the one that holds the f

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

2014-01-01 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 1 22:43:16 2014 New Revision: 260173 URL: http://svnweb.freebsd.org/changeset/base/260173 Log: MFC: r259845 An intermittent problem with NFSv4 exporting of ZFS snapshots was reported to the freebsd-fs mailing list. I believe the problem was caused by the Rea

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

2014-01-01 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 1 22:35:11 2014 New Revision: 260172 URL: http://svnweb.freebsd.org/changeset/base/260172 Log: MFC: r259801 The NFSv4 client was passing both the p and cred arguments to nfsv4_fillattr() as NULLs for the Getattr callback. This caused nfsv4_fillattr() to not

svn commit: r260171 - stable/9/sbin/mount_nfs

2014-01-01 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 1 22:22:00 2014 New Revision: 260171 URL: http://svnweb.freebsd.org/changeset/base/260171 Log: MFC: r259089 Document the noncontigwr NFS mount option. This is a content change. Modified: stable/9/sbin/mount_nfs/mount_nfs.8 Directory Properties: stable/9/s

svn commit: r260170 - in stable/9/sys: fs/nfsclient nfsclient

2014-01-01 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 1 22:14:49 2014 New Revision: 260170 URL: http://svnweb.freebsd.org/changeset/base/260170 Log: MFC: r259084 For software builds, the NFS client does many small synchronous (with FILE_SYNC) writes because non-contiguous byte ranges in the same buffer cache bl

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

2013-12-31 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 1 02:49:45 2014 New Revision: 260159 URL: http://svnweb.freebsd.org/changeset/base/260159 Log: MFC: r259854 The NFSv4 server would call VOP_SETATTR() with a shared locked vnode when a Getattr for a file is done by a client other than the one that holds the f

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

2013-12-31 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 22:00:25 2013 New Revision: 260144 URL: http://svnweb.freebsd.org/changeset/base/260144 Log: MFC: r259845 An intermittent problem with NFSv4 exporting of ZFS snapshots was reported to the freebsd-fs mailing list. I believe the problem was caused by the Rea

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

2013-12-31 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 21:56:02 2013 New Revision: 260143 URL: http://svnweb.freebsd.org/changeset/base/260143 Log: MFC: r259801 The NFSv4 client was passing both the p and cred arguments to nfsv4_fillattr() as NULLs for the Getattr callback. This caused nfsv4_fillattr() to not

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

2013-12-30 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 30 21:24:41 2013 New Revision: 260109 URL: http://svnweb.freebsd.org/changeset/base/260109 Log: MFC: r259771 The NFSv4.1 client didn't return NFSv4.1 specific error codes for the Getattr and Recall callbacks. This patch fixes it. Since the NFSv4.1 specific er

svn commit: r260108 - stable/10/sbin/mount_nfs

2013-12-30 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 30 21:20:51 2013 New Revision: 260108 URL: http://svnweb.freebsd.org/changeset/base/260108 Log: MFC: r259089 Document the noncontigwr NFS mount option. This is a content change. Modified: stable/10/sbin/mount_nfs/mount_nfs.8 Directory Properties: stable/10

svn commit: r260107 - in stable/10/sys: fs/nfsclient nfsclient

2013-12-30 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 30 21:17:20 2013 New Revision: 260107 URL: http://svnweb.freebsd.org/changeset/base/260107 Log: MFC: r259084 For software builds, the NFS client does many small synchronous (with FILE_SYNC) writes because non-contiguous byte ranges in the same buffer cache bl

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

2013-12-24 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 25 01:03:14 2013 New Revision: 259854 URL: http://svnweb.freebsd.org/changeset/base/259854 Log: The NFSv4 server would call VOP_SETATTR() with a shared locked vnode when a Getattr for a file is done by a client other than the one that holds the file's delegatio

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

2013-12-24 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 24 22:24:17 2013 New Revision: 259845 URL: http://svnweb.freebsd.org/changeset/base/259845 Log: An intermittent problem with NFSv4 exporting of ZFS snapshots was reported to the freebsd-fs mailing list. I believe the problem was caused by the Readdir operation

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

2013-12-23 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 24 00:48:39 2013 New Revision: 259801 URL: http://svnweb.freebsd.org/changeset/base/259801 Log: The NFSv4 client was passing both the p and cred arguments to nfsv4_fillattr() as NULLs for the Getattr callback. This caused nfsv4_fillattr() to not fill in the Cha

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

2013-12-23 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 23 15:16:53 2013 New Revision: 259771 URL: http://svnweb.freebsd.org/changeset/base/259771 Log: The NFSv4.1 client didn't return NFSv4.1 specific error codes for the Getattr and Recall callbacks. This patch fixes it. Since the NFSv4.1 specific error codes would

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

2013-12-11 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 11 23:28:31 2013 New Revision: 259238 URL: http://svnweb.freebsd.org/changeset/base/259238 Log: MFC: r257901 Fix an NFSv4.1 client specific case where a forced dismount would hang. The hang occurred in nfsv4_setsequence() when it couldn't find an available se

svn commit: r259207 - stable/10/sys/fs/nfs

2013-12-10 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 11 00:39:56 2013 New Revision: 259207 URL: http://svnweb.freebsd.org/changeset/base/259207 Log: MFC: r257598 During code inspection, I spotted that there was a code path where CLNT_CONTROL() would be called on "client" after it was released via CLNT_RELEASE()

svn commit: r259201 - stable/9/sys/fs/nfs

2013-12-10 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 10 22:03:59 2013 New Revision: 259201 URL: http://svnweb.freebsd.org/changeset/base/259201 Log: MFC: r257598 During code inspection, I spotted that there was a code path where CLNT_CONTROL() would be called on "client" after it was released via CLNT_RELEASE()

svn commit: r259089 - head/sbin/mount_nfs

2013-12-07 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 8 00:59:04 2013 New Revision: 259089 URL: http://svnweb.freebsd.org/changeset/base/259089 Log: Document the noncontigwr NFS mount option. This is a content change. MFC after:3 weeks Modified: head/sbin/mount_nfs/mount_nfs.8 Modified: head/sbin/mount

svn commit: r259084 - in head/sys: fs/nfsclient nfsclient

2013-12-07 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 7 23:05:59 2013 New Revision: 259084 URL: http://svnweb.freebsd.org/changeset/base/259084 Log: For software builds, the NFS client does many small synchronous (with FILE_SYNC) writes because non-contiguous byte ranges in the same buffer cache block are being

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

2013-11-09 Thread Rick Macklem
Author: rmacklem Date: Sat Nov 9 21:24:56 2013 New Revision: 257901 URL: http://svnweb.freebsd.org/changeset/base/257901 Log: Fix an NFSv4.1 client specific case where a forced dismount would hang. The hang occurred in nfsv4_setsequence() when it couldn't find an available session slot and

svn commit: r257598 - head/sys/fs/nfs

2013-11-03 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 3 23:17:30 2013 New Revision: 257598 URL: http://svnweb.freebsd.org/changeset/base/257598 Log: During code inspection, I spotted that there was a code path where CLNT_CONTROL() would be called on "client" after it was released via CLNT_RELEASE(). It was unlike

svn commit: r255773 - stable/9/sys/nlm

2013-09-21 Thread Rick Macklem
Author: rmacklem Date: Sat Sep 21 22:13:17 2013 New Revision: 255773 URL: http://svnweb.freebsd.org/changeset/base/255773 Log: MFC: r255333 Intermittent crashes in the NLM (rpc.lockd) code during system shutdown was reporetd via email. The crashes occurred because the client side NLM would

svn commit: r255770 - stable/9/sys/rpc

2013-09-21 Thread Rick Macklem
Author: rmacklem Date: Sat Sep 21 22:10:02 2013 New Revision: 255770 URL: http://svnweb.freebsd.org/changeset/base/255770 Log: MFC: r255284 It was reported via email that the cu_sent field used by the krpc client side UDP was observed as way out of range and caused the rpc.lockd daemon to

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

2013-09-21 Thread Rick Macklem
Author: rmacklem Date: Sat Sep 21 22:07:24 2013 New Revision: 255769 URL: http://svnweb.freebsd.org/changeset/base/255769 Log: MFC: r255216 Crashes have been observed for NFSv4.1 mounts when the system is being shut down which were caused by the nfscbd_pool being destroyed before the backc

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

2013-09-13 Thread Rick Macklem
Author: rmacklem Date: Fri Sep 13 23:10:53 2013 New Revision: 255532 URL: http://svnweb.freebsd.org/changeset/base/255532 Log: MFC: r254337 Fix several performance related issues in the new NFS server's DRC for NFS over TCP. - Increase the size of the hash tables. - Create a separate mut

svn commit: r255333 - head/sys/nlm

2013-09-06 Thread Rick Macklem
Author: rmacklem Date: Fri Sep 6 23:14:31 2013 New Revision: 255333 URL: http://svnweb.freebsd.org/changeset/base/255333 Log: Intermittent crashes in the NLM (rpc.lockd) code during system shutdown was reporetd via email. The crashes occurred because the client side NLM would attempt to use

svn commit: r255284 - head/sys/rpc

2013-09-05 Thread Rick Macklem
Author: rmacklem Date: Fri Sep 6 02:34:34 2013 New Revision: 255284 URL: http://svnweb.freebsd.org/changeset/base/255284 Log: It was reported via email that the cu_sent field used by the krpc client side UDP was observed as way out of range and caused the rpc.lockd daemon to hang trying to

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

2013-09-04 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 4 22:47:56 2013 New Revision: 255216 URL: http://svnweb.freebsd.org/changeset/base/255216 Log: Crashes have been observed for NFSv4.1 mounts when the system is being shut down which were caused by the nfscbd_pool being destroyed before the backchannel is disab

svn commit: r255136 - in head/sys: fs/nfsclient kern sys

2013-09-01 Thread Rick Macklem
Author: rmacklem Date: Sun Sep 1 23:02:59 2013 New Revision: 255136 URL: http://svnweb.freebsd.org/changeset/base/255136 Log: Forced dismounts of NFS mounts can fail when thread(s) are stuck waiting for an RPC reply from the server while holding the mount point busy (mnt_lockref incremented

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

2013-08-14 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 14 21:11:26 2013 New Revision: 254337 URL: http://svnweb.freebsd.org/changeset/base/254337 Log: Fix several performance related issues in the new NFS server's DRC for NFS over TCP. - Increase the size of the hash tables. - Create a separate mutex for each has

svn commit: r253608 - stable/9/sys/fs/nfs

2013-07-24 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 24 10:46:32 2013 New Revision: 253608 URL: http://svnweb.freebsd.org/changeset/base/253608 Log: MFC: r253506 The NFSv4 server incorrectly assumed that the high order words of the attribute bitmap argument would be non-zero. This caused an interoperability pro

svn commit: r253506 - head/sys/fs/nfs

2013-07-20 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 20 22:35:32 2013 New Revision: 253506 URL: http://svnweb.freebsd.org/changeset/base/253506 Log: The NFSv4 server incorrectly assumed that the high order words of the attribute bitmap argument would be non-zero. This caused an interoperability problem for a rece

svn commit: r253229 - stable/8/sys/nfsclient

2013-07-11 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 12 00:59:03 2013 New Revision: 253229 URL: http://svnweb.freebsd.org/changeset/base/253229 Log: MFC: r252673 A problem with the old NFS client where large writes to large files would sometimes result in a corrupted file was reported via email. This problem ap

svn commit: r253177 - stable/9/sys/nfsclient

2013-07-10 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 11 01:30:24 2013 New Revision: 253177 URL: http://svnweb.freebsd.org/changeset/base/253177 Log: MFC: r252673 A problem with the old NFS client where large writes to large files would sometimes result in a corrupted file was reported via email. This problem ap

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

2013-07-09 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 10 00:31:28 2013 New Revision: 253124 URL: http://svnweb.freebsd.org/changeset/base/253124 Log: MFC: r252528 A problem with the old NFS client where large writes to large files would sometimes result in a corrupted file was reported via email. This problem ap

svn commit: r253051 - head/sbin/mount_nfs

2013-07-08 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 9 01:31:36 2013 New Revision: 253051 URL: http://svnweb.freebsd.org/changeset/base/253051 Log: Document the "gssname" and "allgssname" mount options added by the host-based initiator credential patches. This is a content change. Modified: head/sbin/mount_nf

svn commit: r253049 - in head/sys: fs/nfs fs/nfsclient kgssapi rpc rpc/rpcsec_gss sys

2013-07-08 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 9 01:05:28 2013 New Revision: 253049 URL: http://svnweb.freebsd.org/changeset/base/253049 Log: Add support for host-based (Kerberos 5 service principal) initiator credentials to the kernel rpc. Modify the NFSv4 client to add support for the gssname and allgssn

svn commit: r253020 - head/usr.sbin/gssd

2013-07-07 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 8 01:47:50 2013 New Revision: 253020 URL: http://svnweb.freebsd.org/changeset/base/253020 Log: Fix some Kerberos related terminology. This is a content change. Requested by: bjk Modified: head/usr.sbin/gssd/gssd.8 Modified: head/usr.sbin/gssd/gssd.8 ===

svn commit: r253018 - head/usr.sbin/gssd

2013-07-07 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 8 01:29:09 2013 New Revision: 253018 URL: http://svnweb.freebsd.org/changeset/base/253018 Log: Oops, initialize the krb5 ret values correctly (to anything non-zero). Modified: head/usr.sbin/gssd/gssd.c Modified: head/usr.sbin/gssd/gssd.c ==

svn commit: r253017 - head/usr.sbin/gssd

2013-07-07 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 8 01:08:57 2013 New Revision: 253017 URL: http://svnweb.freebsd.org/changeset/base/253017 Log: Make sure the krb5 status variables are correctly initialized. Modified: head/usr.sbin/gssd/gssd.c Modified: head/usr.sbin/gssd/gssd.c ==

svn commit: r253016 - head/usr.sbin/gssd

2013-07-07 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 8 00:57:12 2013 New Revision: 253016 URL: http://svnweb.freebsd.org/changeset/base/253016 Log: Document the new "-h" option for the gssd daemon. This is a content change. Reviewed by: jhb Modified: head/usr.sbin/gssd/gssd.8 Modified: head/usr.sbin/gssd

svn commit: r253015 - head/usr.sbin/gssd

2013-07-07 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 8 00:50:57 2013 New Revision: 253015 URL: http://svnweb.freebsd.org/changeset/base/253015 Log: Add a new "-h" option to the gssd daemon that enables support for host based (kerberos service principal) initiator credentials in the default keytab file. This opti

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

2013-07-04 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 5 01:22:37 2013 New Revision: 252739 URL: http://svnweb.freebsd.org/changeset/base/252739 Log: MFC: r252067 Since some NFSv4 servers enforce the requirement for a reserved port#, enable use of the (no)resvport mount option for NFSv4. I had thought that the R

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

2013-07-03 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 4 01:22:52 2013 New Revision: 252676 URL: http://svnweb.freebsd.org/changeset/base/252676 Log: MFC: r252483 Document that NFSv4 mounts won't work if hostid_enable="NO" is set in /etc/rc.conf because the host uuid is used to uniquely identify the client to th

svn commit: r252675 - stable/9/usr.sbin/gssd

2013-07-03 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 4 01:18:38 2013 New Revision: 252675 URL: http://svnweb.freebsd.org/changeset/base/252675 Log: MFC: r252139 Document the "-o" option added by r252138. This is a content change. Modified: stable/9/usr.sbin/gssd/gssd.8 Directory Properties: stable/9/usr.sbi

svn commit: r252674 - stable/9/usr.sbin/gssd

2013-07-03 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 4 01:15:44 2013 New Revision: 252674 URL: http://svnweb.freebsd.org/changeset/base/252674 Log: MFC: r252138 Add a new "-o" option to the gssd which forces gss_init_sec_context() to use DES and the associated old style GSS initialization token. This appears t

svn commit: r252673 - head/sys/nfsclient

2013-07-03 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 4 00:54:23 2013 New Revision: 252673 URL: http://svnweb.freebsd.org/changeset/base/252673 Log: A problem with the old NFS client where large writes to large files would sometimes result in a corrupted file was reported via email. This problem appears to have b

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

2013-07-02 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 3 00:19:03 2013 New Revision: 252528 URL: http://svnweb.freebsd.org/changeset/base/252528 Log: A problem with the old NFS client where large writes to large files would sometimes result in a corrupted file was reported via email. This problem appears to have b

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

2013-07-01 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 1 21:41:12 2013 New Revision: 252483 URL: http://svnweb.freebsd.org/changeset/base/252483 Log: Document the fact that an NFSv4 mount uses the host uuid to uniquely identify the client to the server. As such, NFSv4 mounts will break if host_enable="NO" is speci

svn commit: r252479 - head/sys/nfsclient

2013-07-01 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 1 21:16:19 2013 New Revision: 252479 URL: http://svnweb.freebsd.org/changeset/base/252479 Log: A recent version of the oldnfs NFS client in head/current will crash when doing a large write, since m_get2() would return NULL. This patch fixes the problem, since

svn commit: r252139 - head/usr.sbin/gssd

2013-06-23 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 24 02:24:22 2013 New Revision: 252139 URL: http://svnweb.freebsd.org/changeset/base/252139 Log: Document the "-o" option added by r252138. MFC after:10 days Modified: head/usr.sbin/gssd/gssd.8 Modified: head/usr.sbin/gssd/gssd.8 ===

svn commit: r252138 - head/usr.sbin/gssd

2013-06-23 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 24 02:19:23 2013 New Revision: 252138 URL: http://svnweb.freebsd.org/changeset/base/252138 Log: Add a new "-o" option to the gssd which forces gss_init_sec_context() to use DES and the associated old style GSS initialization token. This appears to be required f

svn commit: r252114 - stable/9/usr.bin/nfsstat

2013-06-23 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 23 13:27:37 2013 New Revision: 252114 URL: http://svnweb.freebsd.org/changeset/base/252114 Log: MFC: r251585 Modify nfsstat.c so that it prints out an error when a non-root user attempts to use the "-m" option and it fails. Modified: stable/9/usr.bin/nfsstat

Re: svn commit: r252074 - head/sys/fs/nfsclient

2013-06-22 Thread Rick Macklem
Garrett Cooper wrote: > On Jun 22, 2013, at 11:22 AM, Steven Hartland wrote: > > > I thought the use of PRIu64 was frowned on? > > It is in FreeBSD, unlike Linux (for better or for worse). It should > be cast with either intmax_t or uintmax_t and use %jd or %ju. > Cheers, > -Garrett

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

2013-06-22 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 22 21:58:21 2013 New Revision: 252100 URL: http://svnweb.freebsd.org/changeset/base/252100 Log: Fix r252074 so that it builds on 64bit arches. Modified: head/sys/fs/nfsclient/nfs_clstate.c Modified: head/sys/fs/nfsclient/nfs_clstate.c ==

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

2013-06-21 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 21 22:46:16 2013 New Revision: 252074 URL: http://svnweb.freebsd.org/changeset/base/252074 Log: The NFSv4.1 LayoutCommit operation requires a valid offset and length. (0, 0 is not sufficient) This patch a loop for each file layout, using the offset, length of e

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

2013-06-21 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 21 22:26:18 2013 New Revision: 252072 URL: http://svnweb.freebsd.org/changeset/base/252072 Log: When the NFSv4.1 client is writing to a pNFS Data Server (DS), the file's size attribute does not get updated. As such, it is necessary to invalidate the attribute c

svn commit: r252069 - stable/9/usr.sbin/gssd

2013-06-21 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 21 20:21:14 2013 New Revision: 252069 URL: http://svnweb.freebsd.org/changeset/base/252069 Log: MFC: r251445 Document the new "-v" option for the gssd daemon. This is a content change. Modified: stable/9/usr.sbin/gssd/gssd.8 Directory Properties: stable/9/

svn commit: r252068 - stable/9/usr.sbin/gssd

2013-06-21 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 21 20:16:41 2013 New Revision: 252068 URL: http://svnweb.freebsd.org/changeset/base/252068 Log: MFC: r251444, r251476 Add a "-v" (verbose) option to the gssd daemon, to help with diagnosis of kerberized NFS mount problems. When set, messages are sent to syslo

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

2013-06-21 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 21 19:41:30 2013 New Revision: 252067 URL: http://svnweb.freebsd.org/changeset/base/252067 Log: Since some NFSv4 servers enforce the requirement for a reserved port#, enable use of the (no)resvport mount option for NFSv4. I had thought that the RFC required tha

svn commit: r251768 - in stable/8/sys: fs/nfsclient nfsclient

2013-06-14 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 15 01:35:52 2013 New Revision: 251768 URL: http://svnweb.freebsd.org/changeset/base/251768 Log: MFC: r249623 Both NFS clients can deadlock when using the "rdirplus" mount option. This can occur when an nfsiod thread that already holds a buffer lock attempts t

svn commit: r251722 - stable/8/kerberos5/lib/libgssapi_krb5

2013-06-13 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 14 00:33:55 2013 New Revision: 251722 URL: http://svnweb.freebsd.org/changeset/base/251722 Log: MFC: r250177 Fix the getpwnam_r() call in the pname_to_uid() kerberos library function so that it handles the ERANGE error return case. Without this fix, authenticat

svn commit: r251721 - stable/8/usr.sbin/gssd

2013-06-13 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 14 00:30:11 2013 New Revision: 251721 URL: http://svnweb.freebsd.org/changeset/base/251721 Log: MFC: r250176 Fix the getpwuid_r() call in the gssd daemon so that it handles the ERANGE error return case. Without this fix, authentication of users for certain sy

svn commit: r251719 - stable/8/sys/nfsclient

2013-06-13 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 14 00:02:29 2013 New Revision: 251719 URL: http://svnweb.freebsd.org/changeset/base/251719 Log: MFC: r251089 Add a patch analygous to r248567, r248581, r251079 to the old NFS client to avoid the panic reported in the PR by doing the vnode_pager_setsize() call

svn commit: r251671 - stable/9/sys/nfsclient

2013-06-12 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 12 23:13:42 2013 New Revision: 251671 URL: http://svnweb.freebsd.org/changeset/base/251671 Log: MFC: r251089 Add a patch analygous to r248567, r248581, r251079 to the old NFS client to avoid the panic reported in the PR by doing the vnode_pager_setsize() call

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

2013-06-09 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 9 21:54:19 2013 New Revision: 251585 URL: http://svnweb.freebsd.org/changeset/base/251585 Log: Modify nfsstat.c so that it prints out an error when a non-root user attempts to use the "-m" option and it fails. Requested by: da...@cs.huji.ac.il MFC after:

svn commit: r251476 - head/usr.sbin/gssd

2013-06-06 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 6 22:02:03 2013 New Revision: 251476 URL: http://svnweb.freebsd.org/changeset/base/251476 Log: Fix r251444 so that gssd.c still builds for WITHOUT_KERBEROS. Reported by: bf1...@gmail.com MFC after:2 weeks Modified: head/usr.sbin/gssd/gssd.c Modifie

svn commit: r251445 - head/usr.sbin/gssd

2013-06-05 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 5 23:28:29 2013 New Revision: 251445 URL: http://svnweb.freebsd.org/changeset/base/251445 Log: Document the new "-v" option for the gssd daemon. This is a content change. MFC after:2 weeks Modified: head/usr.sbin/gssd/gssd.8 Modified: head/usr.sbin/

svn commit: r251444 - head/usr.sbin/gssd

2013-06-05 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 5 23:17:39 2013 New Revision: 251444 URL: http://svnweb.freebsd.org/changeset/base/251444 Log: Add a "-v" (verbose) option to the gssd daemon, to help with diagnosis of kerberized NFS mount problems. When set, messages are sent to syslog() (or fprintf(stderr,.

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

2013-06-04 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 4 22:29:19 2013 New Revision: 251395 URL: http://svnweb.freebsd.org/changeset/base/251395 Log: MFC: r251079 Post-r248567, there were times when the client would return a truncated directory for some NFS servers. This turned out to be because the size of a di

svn commit: r251089 - head/sys/nfsclient

2013-05-28 Thread Rick Macklem
Author: rmacklem Date: Wed May 29 00:32:49 2013 New Revision: 251089 URL: http://svnweb.freebsd.org/changeset/base/251089 Log: Add a patch analygous to r248567, r248581, r251079 to the old NFS client to avoid the panic reported in the PR by doing the vnode_pager_setsize() call after unlockin

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

2013-05-28 Thread Rick Macklem
Author: rmacklem Date: Tue May 28 22:36:01 2013 New Revision: 251079 URL: http://svnweb.freebsd.org/changeset/base/251079 Log: Post-r248567, there were times when the client would return a truncated directory for some NFS servers. This turned out to be because the size of a directory reporte

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

2013-05-26 Thread Rick Macklem
Author: rmacklem Date: Sun May 26 12:36:56 2013 New Revision: 250996 URL: http://svnweb.freebsd.org/changeset/base/250996 Log: MFC: r250580 Add support for the eofflag to nfs_readdir() in the new NFS client so that it works under a unionfs mount. Modified: stable/9/sys/fs/nfsclient/nfs_cl

svn commit: r250690 - stable/9/kerberos5/lib/libgssapi_krb5

2013-05-15 Thread Rick Macklem
Author: rmacklem Date: Thu May 16 00:56:41 2013 New Revision: 250690 URL: http://svnweb.freebsd.org/changeset/base/250690 Log: MFC: r250177 Fix the getpwnam_r() call in the pname_to_uid() kerberos library function so that it handles the ERANGE error return case. Without this fix, authenticat

svn commit: r250689 - stable/9/usr.sbin/gssd

2013-05-15 Thread Rick Macklem
Author: rmacklem Date: Thu May 16 00:52:08 2013 New Revision: 250689 URL: http://svnweb.freebsd.org/changeset/base/250689 Log: MFC: r250176 Fix the getpwuid_r() call in the gssd daemon so that it handles the ERANGE error return case. Without this fix, authentication of users for certain sy

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

2013-05-14 Thread Rick Macklem
Author: rmacklem Date: Wed May 15 01:44:01 2013 New Revision: 250654 URL: http://svnweb.freebsd.org/changeset/base/250654 Log: MFC: r250162 Document the fact that an NFSv4 mount against a volume on the same host can result in a hung NFS server and is not recommended. This is a content chan

svn commit: r250653 - stable/9/usr.bin/nfsstat

2013-05-14 Thread Rick Macklem
Author: rmacklem Date: Wed May 15 01:40:16 2013 New Revision: 250653 URL: http://svnweb.freebsd.org/changeset/base/250653 Log: MFC: r250158 Document that the NFSv4 server statistics are operation counts and not RPC counts. This is a content change. Modified: stable/9/usr.bin/nfsstat/nfs

svn commit: r250652 - stable/9/sys/kgssapi/krb5

2013-05-14 Thread Rick Macklem
Author: rmacklem Date: Wed May 15 01:36:59 2013 New Revision: 250652 URL: http://svnweb.freebsd.org/changeset/base/250652 Log: MFC: r250157 Isilon reported that sec=krb5p NFS mounts had a problem when m_len == 0 for the last mbuf of the list with an encrypted message. This patch replaces t

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

2013-05-12 Thread Rick Macklem
Author: rmacklem Date: Sun May 12 21:48:08 2013 New Revision: 250580 URL: http://svnweb.freebsd.org/changeset/base/250580 Log: Add support for the eofflag to nfs_readdir() in the new NFS client so that it works under a unionfs mount. Submitted by: Jared Yanovich (slovic...@gmail.com) Re

svn commit: r250258 - in stable/9/sys: fs/nfsclient nfsclient

2013-05-04 Thread Rick Macklem
Author: rmacklem Date: Sat May 4 22:05:43 2013 New Revision: 250258 URL: http://svnweb.freebsd.org/changeset/base/250258 Log: MFC: r249630 When an NFS unmount occurs, once vflush() writes the last dirty buffer for the last vnode on the mount back to the server, it returns. At that point,

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