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

2012-11-04 Thread Daniel O'Connor
On 04/11/2012, at 7:45, Konstantin Belousov kostik...@gmail.com wrote: On Sun, Nov 04, 2012 at 01:08:18AM +0400, Gleb Smirnoff wrote: On Sat, Nov 03, 2012 at 01:35:20PM -0700, Alfred Perlstein wrote: A Author: alfred A Date: Sat Nov 3 18:21:40 2012 A New Revision: 242520 A URL:

svn commit: r242549 - in head: share/misc usr.bin/calendar/calendars

2012-11-04 Thread Grzegorz Blach
Author: gblach (ports committer) Date: Sun Nov 4 08:47:41 2012 New Revision: 242549 URL: http://svn.freebsd.org/changeset/base/242549 Log: - Add my mentor relationships to committers-ports.dot - Add myself to calendar.freebsd Approved by: tabthorpe (mentor) Modified:

svn commit: r242550 - head/usr.bin/du

2012-11-04 Thread Joel Dahl
Author: joel (doc committer) Date: Sun Nov 4 09:08:17 2012 New Revision: 242550 URL: http://svn.freebsd.org/changeset/base/242550 Log: Add a few basic examples. Modified: head/usr.bin/du/du.1 Modified: head/usr.bin/du/du.1

svn commit: r242551 - head/usr.bin/du

2012-11-04 Thread Joel Dahl
Author: joel (doc committer) Date: Sun Nov 4 09:27:01 2012 New Revision: 242551 URL: http://svn.freebsd.org/changeset/base/242551 Log: New sentence, new line. Submitted by: brueffer Modified: head/usr.bin/du/du.1 Modified: head/usr.bin/du/du.1

Re: svn commit: r242511 - head/sbin/fsck_msdosfs

2012-11-04 Thread Pawel Jakub Dawidek
On Sat, Nov 03, 2012 at 09:18:38AM +, Jaakko Heinonen wrote: Author: jh Date: Sat Nov 3 09:18:37 2012 New Revision: 242511 URL: http://svn.freebsd.org/changeset/base/242511 Log: Print a newline after the error message. PR: bin/168447 Submitted by: Boris

Re: svn commit: r242512 - head/lib/libc/net

2012-11-04 Thread Pawel Jakub Dawidek
On Sat, Nov 03, 2012 at 01:22:26PM +, Michael Tuexen wrote: Author: tuexen Date: Sat Nov 3 13:22:25 2012 New Revision: 242512 URL: http://svn.freebsd.org/changeset/base/242512 Log: Fix errno in a couple of error cases. MFC after: 3 days Modified:

svn commit: r242556 - head/sys/kern

2012-11-04 Thread Konstantin Belousov
Author: kib Date: Sun Nov 4 13:31:41 2012 New Revision: 242556 URL: http://svn.freebsd.org/changeset/base/242556 Log: Order the enumeration of the MNT_ flags to be the same as the order of their definitions. MFC after:3 days Modified: head/sys/kern/vfs_subr.c Modified:

svn commit: r242559 - head/sys/kern

2012-11-04 Thread Konstantin Belousov
Author: kib Date: Sun Nov 4 13:32:45 2012 New Revision: 242559 URL: http://svn.freebsd.org/changeset/base/242559 Log: Add decoding of the missed VI_ and VV_ flags to ddb show vnode command. MFC after:3 days Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

svn commit: r242560 - head/sys/kern

2012-11-04 Thread Konstantin Belousov
Author: kib Date: Sun Nov 4 13:33:13 2012 New Revision: 242560 URL: http://svn.freebsd.org/changeset/base/242560 Log: Add decoding of the missed MNT_KERN_ flags to ddb show mount command. MFC after:3 weeks Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

svn commit: r242565 - head/sys/dev/cpuctl

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 13:46:28 2012 New Revision: 242565 URL: http://svn.freebsd.org/changeset/base/242565 Log: cpuctl_do_cpuid: explicitly use ecx=0 for cpuid call ... instead of whatever random value may happen to be in the register. ecx is important to some cpuid leaves.

svn commit: r242566 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 13:48:48 2012 New Revision: 242566 URL: http://svn.freebsd.org/changeset/base/242566 Log: zfs_freebsd_close: call zfs_close with count=1 instead of count=0 Otherwise we may be leaking z_sync_cnt, which may lead to unnecessary ZIL sync-ing. MFC after:

svn commit: r242567 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 13:50:08 2012 New Revision: 242567 URL: http://svn.freebsd.org/changeset/base/242567 Log: zfs_mount: drop vfs.zfs.rootpool.prefer_cached_config tunable It turned out to be not that useful, because its default value may lead to a problem when a root pool is

svn commit: r242568 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 14:15:13 2012 New Revision: 242568 URL: http://svn.freebsd.org/changeset/base/242568 Log: zfs_vnode_lock: no need to double-guess caller's intentions here vn_lock should do the right thing with respect to given vnode lock flags. If a caller doesn't mind a

svn commit: r242569 - head/sys/cddl/compat/opensolaris/kern

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 14:16:18 2012 New Revision: 242569 URL: http://svn.freebsd.org/changeset/base/242569 Log: opensolaris_lookup: use vfs_busy in traverse before calling VFS_ROOT ... to ensure that we have a valid mountpoint during the call. Reviewed by: kib MFC after:

svn commit: r242570 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 14:22:25 2012 New Revision: 242570 URL: http://svn.freebsd.org/changeset/base/242570 Log: zfs_umount: no need to set MNTK_UNMOUNTF here, dounmount handles that Reviewed by: kib MFC after:19 days Modified:

svn commit: r242571 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 14:24:00 2012 New Revision: 242571 URL: http://svn.freebsd.org/changeset/base/242571 Log: zfs_vnode_forget: dispose of larvae vnode using public vfs api (mostly) Reviewed by: kib MFC after:19 days Modified:

svn commit: r242572 - head/sys/cddl/compat/opensolaris/kern

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 14:27:31 2012 New Revision: 242572 URL: http://svn.freebsd.org/changeset/base/242572 Log: opensolaris compat: clear VI_MOUNT before returning if mount_snapshot fails To do: investigate if it would be possible to use normal vfs_domount here. Reviewed by:

svn commit: r242573 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 14:36:11 2012 New Revision: 242573 URL: http://svn.freebsd.org/changeset/base/242573 Log: zfs: set MNTK_EXTENDED_SHARED flag Discussed with: kib MFC after:20 days Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c

svn commit: r242574 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 14:43:15 2012 New Revision: 242574 URL: http://svn.freebsd.org/changeset/base/242574 Log: zfsctl_snapdir_lookup: obtain a snapname in the remount case ... which is triggered if somebody did regular umount on a snapshot mount. Reviewed by: Matthew Ahrens

svn commit: r242575 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-11-04 Thread Andriy Gapon
Author: avg Date: Sun Nov 4 14:50:08 2012 New Revision: 242575 URL: http://svn.freebsd.org/changeset/base/242575 Log: zfs_dirlook: bailout early if directory is unlinked Otherwise we could fail with an incorrect error if e.g. parent object id is removed too or we can even return a wrong

svn commit: r242576 - head/games/fortune/fortune

2012-11-04 Thread Eitan Adler
Author: eadler Date: Sun Nov 4 15:15:43 2012 New Revision: 242576 URL: http://svn.freebsd.org/changeset/base/242576 Log: Prefer the use of stdbool to custom defines. Approved by: cperciva (from discussion) MFC after:3 days Modified: head/games/fortune/fortune/fortune.c

svn commit: r242577 - head/games/fortune/fortune

2012-11-04 Thread Eitan Adler
Author: eadler Date: Sun Nov 4 15:15:47 2012 New Revision: 242577 URL: http://svn.freebsd.org/changeset/base/242577 Log: Make OK_TO_WRITE_TO_DISK an envrionment variable instead of a compile time option. While here, don't differ based on the existence of LOCK_EX which doesn't seem to

Re: svn commit: r242511 - head/sbin/fsck_msdosfs

2012-11-04 Thread Bruce Evans
On Sun, 4 Nov 2012, Pawel Jakub Dawidek wrote: On Sat, Nov 03, 2012 at 09:18:38AM +, Jaakko Heinonen wrote: Log: Print a newline after the error message. PR: bin/168447 Submitted by: Boris Kochergin Modified: head/sbin/fsck_msdosfs/check.c Modified:

Re: svn commit: r242520 - head/sys/ufs/ffs

2012-11-04 Thread Bruce Evans
On Sat, 3 Nov 2012, Kirk McKusick wrote: Log: When a file is first being written, the dynamic block reallocation (implemented by ffs_reallocblks_ufs[12]) relocates the file's blocks so as to cluster them together into a contiguous set of blocks on the disk. When the cluster crosses the

svn commit: r242583 - head/sys/dev/uart

2012-11-04 Thread Eitan Adler
Author: eadler Date: Sun Nov 4 20:50:23 2012 New Revision: 242583 URL: http://svn.freebsd.org/changeset/base/242583 Log: Add support for a few more devices: PNP0510 and FUJ02E5 for a Wacom Tablet at FuS Lifebook T PNP0502 and PNP0511 for some other generic devices. PR:

svn commit: r242584 - in head: contrib/less usr.bin/less

2012-11-04 Thread Xin LI
Author: delphij Date: Sun Nov 4 20:52:26 2012 New Revision: 242584 URL: http://svn.freebsd.org/changeset/base/242584 Log: MFV: less v453. Modified: head/contrib/less/NEWS head/contrib/less/README head/contrib/less/configure head/contrib/less/configure.ac head/contrib/less/defines.ds

svn commit: r242587 - head/libexec/rtld-elf

2012-11-04 Thread Jilles Tjoelker
Author: jilles Date: Sun Nov 4 21:42:24 2012 New Revision: 242587 URL: http://svn.freebsd.org/changeset/base/242587 Log: rtld: Fix fd leak with parallel dlopen and fork/exec. Rtld did not set FD_CLOEXEC on its internal file descriptors; therefore, such a file descriptor may be passed to

svn commit: r242593 - head/sbin/hastd

2012-11-04 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Nov 5 00:38:14 2012 New Revision: 242593 URL: http://svnweb.freebsd.org/changeset/base/242593 Log: Revert r228695. We use __func__ here as a format to distinguish between abort and assert. It would be cleaner to use NULL or here, but gcc complains in both cases.

svn commit: r242595 - head/share/man/man7

2012-11-04 Thread Kevin Lo
Author: kevlo Date: Mon Nov 5 01:42:57 2012 New Revision: 242595 URL: http://svnweb.freebsd.org/changeset/base/242595 Log: Catch up with r242520. s/maxusers/maxbikesheds Modified: head/share/man/man7/tuning.7 Modified: head/share/man/man7/tuning.7

Re: svn commit: r242595 - head/share/man/man7

2012-11-04 Thread Eitan Adler
On 4 November 2012 20:42, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Mon Nov 5 01:42:57 2012 New Revision: 242595 URL: http://svnweb.freebsd.org/changeset/base/242595 Log: Catch up with r242520. s/maxusers/maxbikesheds Please run %svn log -cr242520 and then revert. Thanks!

svn commit: r242596 - head/share/man/man7

2012-11-04 Thread Kevin Lo
Author: kevlo Date: Mon Nov 5 02:34:52 2012 New Revision: 242596 URL: http://svnweb.freebsd.org/changeset/base/242596 Log: Revert previous commit. Modified: head/share/man/man7/tuning.7 Modified: head/share/man/man7/tuning.7

Re: svn commit: r242595 - head/share/man/man7

2012-11-04 Thread Kevin Lo
Eitan Adler wrote: On 4 November 2012 20:42, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Mon Nov 5 01:42:57 2012 New Revision: 242595 URL: http://svnweb.freebsd.org/changeset/base/242595 Log: Catch up with r242520. s/maxusers/maxbikesheds Please run %svn log

Re: svn commit: r242595 - head/share/man/man7

2012-11-04 Thread Eitan Adler
On 4 November 2012 21:43, Kevin Lo ke...@freebsd.org wrote: Eitan Adler wrote: On 4 November 2012 20:42, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Mon Nov 5 01:42:57 2012 New Revision: 242595 URL: http://svnweb.freebsd.org/changeset/base/242595 Log: Catch up with

Re: svn commit: r242595 - head/share/man/man7

2012-11-04 Thread Kevin Lo
Christian Brueffer wrote: On 11/05/2012 09:42 AM, Kevin Lo wrote: Author: kevlo Date: Mon Nov 5 01:42:57 2012 New Revision: 242595 URL: http://svnweb.freebsd.org/changeset/base/242595 Log: Catch up with r242520. s/maxusers/maxbikesheds Modified:

svn commit: r242599 - head/sys/dev/ath

2012-11-04 Thread Adrian Chadd
Author: adrian Date: Mon Nov 5 07:08:45 2012 New Revision: 242599 URL: http://svnweb.freebsd.org/changeset/base/242599 Log: TX EDMA debugging fixes: * Do the calculation for each ath_buf, rather than just the first * Correct the calculation in the first place. Modified: