svn commit: r231931 - head/sys/kern

2012-02-20 Thread Xin LI
Author: delphij Date: Mon Feb 20 09:32:32 2012 New Revision: 231931 URL: http://svn.freebsd.org/changeset/base/231931 Log: Revert r231923 for now. Further work is needed to make sure that the behavior is consistent. Modified: head/sys/kern/kern_linker.c Modified:

Re: svn commit: r231923 - head/sys/kern

2012-02-20 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Bruce, On 02/19/12 21:55, Bruce Evans wrote: On Mon, 20 Feb 2012, Xin LI wrote: Log: Use uprintf instead of printf for the reason why a kernel module can not be loaded. This way, the administrator can get response immediately from the

Re: svn commit: r231931 - head/sys/kern

2012-02-20 Thread Konstantin Belousov
On Mon, Feb 20, 2012 at 09:32:33AM +, Xin LI wrote: Author: delphij Date: Mon Feb 20 09:32:32 2012 New Revision: 231931 URL: http://svn.freebsd.org/changeset/base/231931 Log: Revert r231923 for now. Further work is needed to make sure that the behavior is consistent. You can do

svn commit: r231932 - head/sys/fs/cd9660

2012-02-20 Thread Kevin Lo
Author: kevlo Date: Mon Feb 20 09:56:14 2012 New Revision: 231932 URL: http://svn.freebsd.org/changeset/base/231932 Log: Remove an unnecessary cast. Modified: head/sys/fs/cd9660/cd9660_vfsops.c Modified: head/sys/fs/cd9660/cd9660_vfsops.c

svn commit: r231933 - stable/9/etc/defaults

2012-02-20 Thread Doug Barton
Author: dougb Date: Mon Feb 20 10:13:09 2012 New Revision: 231933 URL: http://svn.freebsd.org/changeset/base/231933 Log: MFC r231862: Increase the default shutdown timer to 90 seconds. This will allow certain systems that take a long time to shut down, without adversely affecting things

svn commit: r231934 - stable/8/etc/defaults

2012-02-20 Thread Doug Barton
Author: dougb Date: Mon Feb 20 10:14:22 2012 New Revision: 231934 URL: http://svn.freebsd.org/changeset/base/231934 Log: MFC r231862: Increase the default shutdown timer to 90 seconds. This will allow certain systems that take a long time to shut down, without adversely affecting things

svn commit: r231935 - stable/7/etc/defaults

2012-02-20 Thread Doug Barton
Author: dougb Date: Mon Feb 20 10:15:20 2012 New Revision: 231935 URL: http://svn.freebsd.org/changeset/base/231935 Log: MFC r231862: Increase the default shutdown timer to 90 seconds. This will allow certain systems that take a long time to shut down, without adversely affecting things

svn commit: r231936 - in stable/9/sys: fs/ext2fs fs/nfsclient geom/journal kern nfsclient sys ufs/ufs

2012-02-20 Thread Konstantin Belousov
Author: kib Date: Mon Feb 20 11:27:37 2012 New Revision: 231936 URL: http://svn.freebsd.org/changeset/base/231936 Log: MFC r231075: Instead of removing MNTK_ASYNC from mnt_kern_flag, provide a local thread flag to disable async i/o for current thread only. Use the opportunity to move

svn commit: r231937 - head/share/man/man4

2012-02-20 Thread Christian Brueffer
Author: brueffer Date: Mon Feb 20 13:22:00 2012 New Revision: 231937 URL: http://svn.freebsd.org/changeset/base/231937 Log: More improvements, the biggest one using list environments for enumerations. Modified: head/share/man/man4/oce.4 Modified: head/share/man/man4/oce.4

svn commit: r231938 - head/lib/libutil

2012-02-20 Thread Guy Helmer
Author: ghelmer Date: Mon Feb 20 13:59:24 2012 New Revision: 231938 URL: http://svn.freebsd.org/changeset/base/231938 Log: Set the O_CLOEXEC flag when opening the pidfile to avoid leaking the file descriptor via exec(3). Now that daemon(8) has been fixed to resolve the issue noted by

svn commit: r231939 - head/sys/net80211

2012-02-20 Thread Aleksandr Rybalko
Author: ray Date: Mon Feb 20 15:05:21 2012 New Revision: 231939 URL: http://svn.freebsd.org/changeset/base/231939 Log: Remove redundant forward declaration of struct ieee80211com. Approved by: bschmidt Modified: head/sys/net80211/ieee80211_node.h Modified:

Re: svn commit: r231923 - head/sys/kern

2012-02-20 Thread Bruce Evans
On Mon, 20 Feb 2012, Xin Li wrote: On 02/19/12 21:55, Bruce Evans wrote: On Mon, 20 Feb 2012, Xin LI wrote: Log: Use uprintf instead of printf for the reason why a kernel module can not be loaded. This way, the administrator can get response immediately from the shell session rather than

svn commit: r231940 - stable/9/sys/dev/mps

2012-02-20 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 20 16:50:16 2012 New Revision: 231940 URL: http://svn.freebsd.org/changeset/base/231940 Log: MFC r231716 Set the max_lun field of the path inquiry CCB to 8. This allows LUNs greater than 0 to be probed. It can be increased later if need be.

svn commit: r231941 - stable/9

2012-02-20 Thread Sergey Kandaurov
Author: pluknet Date: Mon Feb 20 17:09:52 2012 New Revision: 231941 URL: http://svn.freebsd.org/changeset/base/231941 Log: MFC r231821: delete-old does not have delete-old-libs dependency. Reflect this in the comment. PR: conf/163993 Submitted by: Eugen Konkov kes-kes

Re: svn commit: r231939 - head/sys/net80211

2012-02-20 Thread Bruce Evans
On Mon, 20 Feb 2012, Aleksandr Rybalko wrote: Log: Remove redundant forward declaration of struct ieee80211com. Thanks, but it now has 1 redundant forward declarations of this instead of 2. There is another section with 3 forward declarations which are all redundant and bogus. Since

svn commit: r231942 - in stable/9/usr.sbin/makefs: . cd9660

2012-02-20 Thread Jung-uk Kim
Author: jkim Date: Mon Feb 20 18:49:11 2012 New Revision: 231942 URL: http://svn.freebsd.org/changeset/base/231942 Log: MFC: r230795 Allow contents of multiple directories to be merged to the current image. Modified: stable/9/usr.sbin/makefs/cd9660.c stable/9/usr.sbin/makefs/cd9660.h

svn commit: r231943 - in head/release/doc: en_US.ISO8859-1/hardware share/misc

2012-02-20 Thread Christian Brueffer
Author: brueffer Date: Mon Feb 20 19:35:54 2012 New Revision: 231943 URL: http://svn.freebsd.org/changeset/base/231943 Log: Add oce(4) to the hardware notes. MFC after:3 days Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml

svn commit: r231944 - stable/8/sys/dev/mps

2012-02-20 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 20 20:31:05 2012 New Revision: 231944 URL: http://svn.freebsd.org/changeset/base/231944 Log: MFC r231716 Set the max_lun field of the path inquiry CCB to 8. This allows LUNs greater than 0 to be probed. It can be increased later if need be.

svn commit: r231946 - in stable/9: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common...

2012-02-20 Thread Martin Matuska
Author: mm Date: Mon Feb 20 21:10:14 2012 New Revision: 231946 URL: http://svn.freebsd.org/changeset/base/231946 Log: MFC r230397, r230438: MFC r230397 (pjd): By default turn off prefetch when listing snapshots. In my tests it makes listing snapshots 19% faster with cold cache and

Re: svn commit: r230795 - in head/usr.sbin/makefs: . cd9660

2012-02-20 Thread Martin Matuska
Thanks for the patch, I see it has been adopted by NetBSD. I have seen there has been recently activity in makefs. IMO makefs should be moved to vendor/contrib (originates fron NetBSD) the same way libarchive was moved. Or are we doing the main (or our very own) development of makefs? If we are,

Re: svn commit: r231939 - head/sys/net80211

2012-02-20 Thread Aleksandr Rybalko
On Tue, 21 Feb 2012 04:57:13 +1100 (EST) Bruce Evans b...@optusnet.com.au wrote: On Mon, 20 Feb 2012, Aleksandr Rybalko wrote: Log: Remove redundant forward declaration of struct ieee80211com. Thanks, but it now has 1 redundant forward declarations of this instead of 2. There is

svn commit: r231948 - in stable/8/sys: fs/nfsclient geom/journal gnu/fs/ext2fs kern nfsclient sys ufs/ufs

2012-02-20 Thread Konstantin Belousov
Author: kib Date: Tue Feb 21 00:32:24 2012 New Revision: 231948 URL: http://svn.freebsd.org/changeset/base/231948 Log: MFC r231075: Instead of removing MNTK_ASYNC from mnt_kern_flag, provide a local thread flag to disable async i/o for current thread only. Use the opportunity to move

svn commit: r231949 - in head/sys: cddl/compat/opensolaris/sys compat/ndis fs/cd9660 fs/devfs fs/ext2fs fs/msdosfs fs/nfsclient fs/nfsserver fs/pseudofs fs/udf kern nfsclient sys ufs/ffs ufs/ufs

2012-02-20 Thread Konstantin Belousov
Author: kib Date: Tue Feb 21 01:05:12 2012 New Revision: 231949 URL: http://svn.freebsd.org/changeset/base/231949 Log: Fix found places where uio_resid is truncated to int. Add the sysctl debug.iosize_max_clamp, enabled by default. Setting the sysctl to zero allows to perform the

svn commit: r231950 - stable/9/lib/libc/sys

2012-02-20 Thread Konstantin Belousov
Author: kib Date: Tue Feb 21 01:19:48 2012 New Revision: 231950 URL: http://svn.freebsd.org/changeset/base/231950 Log: MFC r231902: Document PL_FLAG_CHILD. Modified: stable/9/lib/libc/sys/ptrace.2 Directory Properties: stable/9/lib/libc/ (props changed) stable/9/lib/libc/sys/

svn commit: r231951 - stable/9/sys/ufs/ufs

2012-02-20 Thread Konstantin Belousov
Author: kib Date: Tue Feb 21 01:27:23 2012 New Revision: 231951 URL: http://svn.freebsd.org/changeset/base/231951 Log: MFC r231122: Sprinkle missed calls to asynchronous UFS_UPDATE() in attempt to guarantee that all UFS inode metadata changes results in the dirtiness of the inodeblock.

svn commit: r231952 - stable/9/sys/ufs/ffs

2012-02-20 Thread Konstantin Belousov
Author: kib Date: Tue Feb 21 01:37:27 2012 New Revision: 231952 URL: http://svn.freebsd.org/changeset/base/231952 Log: MFC r231160 (by mckusick): Do not fsync all resident UFS vnodes from the syncer vnode call to ffs_sync(). Since all inode metadata updates are translated to inodeblock

svn commit: r231953 - stable/9/sys/ufs/ffs

2012-02-20 Thread Konstantin Belousov
Author: kib Date: Tue Feb 21 01:43:31 2012 New Revision: 231953 URL: http://svn.freebsd.org/changeset/base/231953 Log: MFC r231313 (by mckusick): First attempt the uiomove() to the newly allocated (and dirty) buffer and only zeros it if the uiomove() fails. The effect is to eliminate the

svn commit: r231954 - stable/9/sys/ufs/ffs

2012-02-20 Thread Konstantin Belousov
Author: kib Date: Tue Feb 21 01:46:41 2012 New Revision: 231954 URL: http://svn.freebsd.org/changeset/base/231954 Log: MFC r231572 (by mckusick): Missing conditions in checking whether an inode has been written. Modified: stable/9/sys/ufs/ffs/ffs_softdep.c Directory Properties:

svn commit: r231961 - stable/9/lib/libc/locale

2012-02-20 Thread Xin LI
Author: delphij Date: Tue Feb 21 04:12:28 2012 New Revision: 231961 URL: http://svn.freebsd.org/changeset/base/231961 Log: MFC r231632: wctob() returns EOF and not WEOF. Noticed by: Zhihao Yuan lichray gmail com Modified: stable/9/lib/libc/locale/btowc.3 Directory Properties: