svn commit: r196398 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci netinet

2009-08-19 Thread Will Andrews
Author: will Date: Thu Aug 20 02:49:43 2009 New Revision: 196398 URL: http://svn.freebsd.org/changeset/base/196398 Log: MFC r196397 from head: Fix CARP memory leaks on carp_if's malloc'd using M_CARP. This occurs when CARP tries to free them using M_IFADDR after the last address for

svn commit: r248649 - in head: share/man/man9 sys/kern sys/sys

2013-03-23 Thread Will Andrews
Author: will Date: Sat Mar 23 15:11:53 2013 New Revision: 248649 URL: http://svnweb.freebsd.org/changeset/base/248649 Log: Extend taskqueue(9) to enable per-taskqueue callbacks. The scope of these callbacks is primarily to support actions that affect the taskqueue's thread environments.

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

2013-03-23 Thread Will Andrews
Author: will Date: Sat Mar 23 16:34:56 2013 New Revision: 248653 URL: http://svnweb.freebsd.org/changeset/base/248653 Log: ZFS: Fix a panic while unmounting a busy filesystem. This particular scenario was easily reproduced using a NFS export. When the first 'zfs unmount' occurred, it

Re: svn commit: r248649 - in head: share/man/man9 sys/kern sys/sys

2013-03-23 Thread Will Andrews
...@freebsd.org wrote: On Sat, Mar 23, 2013 at 8:11 AM, Will Andrews w...@freebsd.org wrote: Author: will Date: Sat Mar 23 15:11:53 2013 New Revision: 248649 URL: http://svnweb.freebsd.org/changeset/base/248649 Log: Extend taskqueue(9) to enable per-taskqueue callbacks

svn commit: r248654 - head/sys/sys

2013-03-23 Thread Will Andrews
Author: will Date: Sat Mar 23 16:55:07 2013 New Revision: 248654 URL: http://svnweb.freebsd.org/changeset/base/248654 Log: Be more explicit about what each bio_cmd bio_flags value means. Reviewed by: ken (mentor) Modified: head/sys/sys/bio.h Modified: head/sys/sys/bio.h

Re: svn commit: r248649 - in head: share/man/man9 sys/kern sys/sys

2013-03-24 Thread Will Andrews
23, 2013 at 12:36 PM, m...@freebsd.org wrote: On Sat, Mar 23, 2013 at 9:45 AM, Will Andrews w...@firepipe.net wrote: I agree about the name length, it is a bit obnoxious. However, it is also descriptive. TQCB strikes me as perhaps a bit too far in the other direction. How about

svn commit: r248836 - head/gnu/usr.bin/gdb/kgdb

2013-03-28 Thread Will Andrews
Author: will Date: Thu Mar 28 17:04:59 2013 New Revision: 248836 URL: http://svnweb.freebsd.org/changeset/base/248836 Log: KGDB: Allow modules to be loaded from the specified kernel's directory. When looking up the absolute path for a kld, call find_kld_path() first. This enables

svn commit: r248838 - head/gnu/usr.bin/gdb/kgdb

2013-03-28 Thread Will Andrews
Author: will Date: Thu Mar 28 17:07:02 2013 New Revision: 248838 URL: http://svnweb.freebsd.org/changeset/base/248838 Log: KGDB: Accept KLD symbol files with the .symbols extension. Submitted by: gibbs Approved by: ken (mentor) Sponsored by: Spectra Logic MFC after:1 month

svn commit: r249291 - head/sys/dev/firewire

2013-04-08 Thread Will Andrews
Author: will Date: Mon Apr 8 23:16:42 2013 New Revision: 249291 URL: http://svnweb.freebsd.org/changeset/base/249291 Log: FireWire: Don't allow a tlabel to reference an xfer after free. sys/dev/firewire/firewire.c: - fw_xfer_unload(): Since we are about to free this xfer, call

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-13 Thread Will Andrews
On Sun, May 12, 2013 at 7:49 PM, John Baldwin j...@freebsd.org wrote: Also, while LK_NOWITESS works fine for lockmgr's API (it already takes a flag argument), having that sort of thing in our other lock APIs is messier (they generally do not have flags). This is why a per-thread flag seemed

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-13 Thread Will Andrews
On Sun, May 12, 2013 at 12:09 AM, Alfred Perlstein bri...@mu.org wrote: Can we just admit to ourselves that tweaks to debugging macros/printing and WITNESS are our kernel developer's bikeshed zone and get over the fact that people's needs may diverge and changing non-default behavior in

svn commit: r199770 - head/sbin/ifconfig

2009-11-24 Thread Will Andrews
Author: will Date: Wed Nov 25 00:00:57 2009 New Revision: 199770 URL: http://svn.freebsd.org/changeset/base/199770 Log: Make ``ifconfig -l ether'' only list interfaces that speak Ethernet. PR: 118987 Approved by: ken (mentor) Modified: head/sbin/ifconfig/ifconfig.c

Re: svn commit: r200086 - head/sys/geom/mirror

2009-12-03 Thread Will Andrews
On Thu, Dec 03, 2009 at 10:55:33PM +0100, Pawel Jakub Dawidek wrote: On Thu, Dec 03, 2009 at 09:47:51PM +, Alexander Motin wrote: Author: mav Date: Thu Dec 3 21:47:51 2009 New Revision: 200086 URL: http://svn.freebsd.org/changeset/base/200086 Log: Change 'load' balancing

Re: svn: stable/8/sbin/geom/class/mirror

2009-12-12 Thread Will Andrews
On Thu, Dec 10, 2009 at 05:47:37PM -0800, Maxim Sobolev wrote: Alexander Motin wrote: Author: mav Date: Thu Dec 10 23:51:24 2009 New Revision: 200373 URL: http://svn.freebsd.org/changeset/base/200373 Log: MFC r200282, r200290: Change gmirror default balance algorithm from

svn commit: r211157 - in head/sys: modules modules/if_carp net netinet netinet6

2010-08-10 Thread Will Andrews
Author: will Date: Wed Aug 11 00:51:50 2010 New Revision: 211157 URL: http://svn.freebsd.org/changeset/base/211157 Log: Allow carp(4) to be loaded as a kernel module. Follow precedent set by bridge(4), lagg(4) etc. and make use of function pointers and pf_proto_register() to hook carp into

Re: svn commit: r211157 - in head/sys: modules modules/if_carp net netinet netinet6

2010-08-11 Thread Will Andrews
On Wed, Aug 11, 2010 at 12:36 PM, John Baldwin j...@freebsd.org wrote: This doesn't compile due to duplicate function pointer definitions (e.g.  if_bridge.c and if_ether.c).  You should move all the function pointer definitions to net/if.c and add declarations for them to a header instead of a

svn commit: r211193 - in head/sys: net netinet netinet6

2010-08-11 Thread Will Andrews
Author: will Date: Wed Aug 11 20:18:19 2010 New Revision: 211193 URL: http://svn.freebsd.org/changeset/base/211193 Log: Unbreak LINT by moving all carp hooks to net/if.c / netinet/ip_carp.h, with the appropriate ifdefs. Reviewed by: bz Approved by: ken (mentor) Modified:

svn commit: r211243 - in head: gnu/lib/libreadline/history gnu/lib/libreadline/readline/doc gnu/usr.bin/cvs/contrib gnu/usr.bin/gdb/doc lib/libexpat secure/lib/libcrypto share/mk

2010-08-12 Thread Will Andrews
Author: will Date: Thu Aug 12 20:46:49 2010 New Revision: 211243 URL: http://svn.freebsd.org/changeset/base/211243 Log: Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as read-only by default, meaning files copied can't be overwritten next time. Reviewed by: imp

svn commit: r212265 - head/sys/netinet

2010-09-06 Thread Will Andrews
Author: will Date: Mon Sep 6 21:03:30 2010 New Revision: 212265 URL: http://svn.freebsd.org/changeset/base/212265 Log: Fix static kernel builds with carp(4) by changing its SYSINIT order so that it is initialized after basic protocol initialization, which allows it to register via

svn commit: r212266 - head/sys/netinet

2010-09-06 Thread Will Andrews
Author: will Date: Mon Sep 6 21:06:06 2010 New Revision: 212266 URL: http://svn.freebsd.org/changeset/base/212266 Log: Fix CARP in backup mode by properly registering its hooks for INET and INET6 using ipproto_{un,}register() and the newly created ip6proto_{un,}register() so that it can

svn commit: r212482 - in stable/8/sys: modules modules/if_carp net netinet netinet6

2010-09-11 Thread Will Andrews
Author: will Date: Sat Sep 11 22:02:36 2010 New Revision: 212482 URL: http://svn.freebsd.org/changeset/base/212482 Log: MFC r211157, r211193, r212265, r212266: make it possible to load carp(4) as a kld using function pointer hooks and {pf_,ip,ip6}proto_{un,}register(). Reviewed by: bz

svn commit: r222313 - head/cddl/compat/opensolaris/misc

2011-05-26 Thread Will Andrews
Author: will Date: Thu May 26 16:27:00 2011 New Revision: 222313 URL: http://svn.freebsd.org/changeset/base/222313 Log: Close a race between libzfs and mountd when updating NFS exports. - Flush the file descriptor for the new ZFS exports file before sending a SIGHUP to mountd.

svn commit: r222536 - stable/8/cddl/compat/opensolaris/misc

2011-05-31 Thread Will Andrews
Author: will Date: Tue May 31 17:24:18 2011 New Revision: 222536 URL: http://svn.freebsd.org/changeset/base/222536 Log: MFC r222313: Close a race between libzfs and mountd when updating NFS exports. Reviewed by: pjd Approved by: ken Modified:

svn commit: r223443 - head/sys/cam/ata

2011-06-22 Thread Will Andrews
Author: will Date: Wed Jun 22 21:43:10 2011 New Revision: 223443 URL: http://svn.freebsd.org/changeset/base/223443 Log: Plumb support for the device advanced information CCB in the ATA XPT. This was previously done only for SCSI XPT in r223081, on which the change in r223089 depended in

svn commit: r223448 - head/sys/cam/scsi

2011-06-22 Thread Will Andrews
Author: will Date: Wed Jun 22 22:55:51 2011 New Revision: 223448 URL: http://svn.freebsd.org/changeset/base/223448 Log: Return CAM_REQ_INVALID if the SCSI XPT receives an unsupported operation via the XPT_DEV_ADVINFO CCB. Reviewed by: ken Modified: head/sys/cam/scsi/scsi_xpt.c

svn commit: r257253 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-10-28 Thread Will Andrews
Author: will Date: Mon Oct 28 14:27:35 2013 New Revision: 257253 URL: http://svnweb.freebsd.org/changeset/base/257253 Log: MFC r248653: ZFS: Fix a panic while unmounting a busy filesystem. This particular scenario was easily reproduced using a NFS export. When the first 'zfs unmount'

svn commit: r254943 - in head: bin/ps sys/compat/freebsd32 sys/kern sys/sys

2013-08-26 Thread Will Andrews
Author: will Date: Mon Aug 26 23:48:21 2013 New Revision: 254943 URL: http://svnweb.freebsd.org/changeset/base/254943 Log: Add the ability to display the default FIB number for a process to the ps(1) utility, e.g. ps -O fib. bin/ps/keyword.c: Add the fib keyword and default its

svn commit: r254949 - in head/cddl: lib/libzpool usr.bin/ztest usr.sbin/zdb

2013-08-26 Thread Will Andrews
Author: will Date: Tue Aug 27 04:01:31 2013 New Revision: 254949 URL: http://svnweb.freebsd.org/changeset/base/254949 Log: Build all ZFS testing debugging tools with -g. These programs and everything using libzpool rely on the embedded asserts to verify the correctness of operations.

svn commit: r254951 - head/release/scripts

2013-08-26 Thread Will Andrews
Author: will Date: Tue Aug 27 04:42:42 2013 New Revision: 254951 URL: http://svnweb.freebsd.org/changeset/base/254951 Log: Fix 'make release' on older hosts: use buildworld legacy utilities. Newer FreeBSD installs require an install(1) that supports the new flags. This adds

svn commit: r254960 - in head: contrib/pam_modules/pam_passwdqc lib/libpam/modules/pam_passwdqc

2013-08-27 Thread Will Andrews
Author: will Date: Tue Aug 27 15:50:26 2013 New Revision: 254960 URL: http://svnweb.freebsd.org/changeset/base/254960 Log: Make the PAM password strength checking module WARNS=2 safe. lib/libpam/modules/pam_passwdqc/Makefile: Bump WARNS to 2.

svn commit: r271730 - head

2014-09-17 Thread Will Andrews
Author: will Date: Thu Sep 18 01:57:36 2014 New Revision: 271730 URL: http://svnweb.freebsd.org/changeset/base/271730 Log: Root the lib32 object tree under the overall object tree. This enables a common root directory for all object files for a given tree, which eases sharing a common

svn commit: r271731 - head/sys/dev/isp

2014-09-17 Thread Will Andrews
Author: will Date: Thu Sep 18 02:01:36 2014 New Revision: 271731 URL: http://svnweb.freebsd.org/changeset/base/271731 Log: Fix a kernel panic when unloading isp(4). In the current implementation, the isp_kthread() threads never exit. The target threads do have an exit mode from

svn commit: r271763 - head/cddl/contrib/opensolaris/cmd/zpool

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:02:25 2014 New Revision: 271763 URL: http://svnweb.freebsd.org/changeset/base/271763 Log: Fix an assert to tolerate spare parents with more than 2 children. This can occur if a spare is being spared, which would yield three children: the original pool

svn commit: r271764 - head/cddl/contrib/opensolaris/lib/libzfs/common

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:09:42 2014 New Revision: 271764 URL: http://svnweb.freebsd.org/changeset/base/271764 Log: zfs_setprop_error(): Handle errno value E2BIG. This errno value is emitted by dsl_props_set_check() in sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_prop.c, and

svn commit: r271771 - in head: bin/csh etc/mail lib/libc usr.bin/grep usr.sbin/mtree

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:41:57 2014 New Revision: 271771 URL: http://svnweb.freebsd.org/changeset/base/271771 Log: Fix incremental builds involving non-root users with read-only source files. Makefiles should not assume that source files can be overwritten. This is the common

svn commit: r271775 - head/kerberos5/lib/libasn1

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:50:21 2014 New Revision: 271775 URL: http://svnweb.freebsd.org/changeset/base/271775 Log: Fix incremental builds involving non-root users with read-only source files. This is a followup commit to r271771. MFC after:1 month Modified:

svn commit: r271778 - head/lib/libunbound

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:54:20 2014 New Revision: 271778 URL: http://svnweb.freebsd.org/changeset/base/271778 Log: Fix incremental builds involving non-root users with read-only source files. This is a followup commit to r271771. MFC after:1 month Modified:

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

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 15:37:53 2014 New Revision: 271781 URL: http://svnweb.freebsd.org/changeset/base/271781 Log: bpobj_iterate_impl(): Close a refcount leak iterating on a sublist. If bpobj_space() returned non-zero here, the sublist would have been left open, along with the

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

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 16:38:03 2014 New Revision: 271785 URL: http://svnweb.freebsd.org/changeset/base/271785 Log: Reorder sysctls for spa.c global tunables; add sysctl for ccw_retry_interval. MFC after:1 month Sponsored by: Spectra Logic Modified:

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

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 16:55:41 2014 New Revision: 271788 URL: http://svnweb.freebsd.org/changeset/base/271788 Log: Enable ZFS debug flags to be modified via vfs.zfs.debug_flags. This is primarily only of interest to ZFS developers, but it makes it easier to get additional

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

2014-09-18 Thread Will Andrews
Which one is more idiomatic? Sorry, I never noticed that one. Thanks, --Will. On Thu, Sep 18, 2014 at 11:03 AM, Andriy Gapon a...@freebsd.org wrote: On 18/09/2014 19:55, Will Andrews wrote: Author: will Date: Thu Sep 18 16:55:41 2014 New Revision: 271788 URL: http://svnweb.freebsd.org

svn commit: r271793 - head/sys/dev/firewire

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 17:22:42 2014 New Revision: 271793 URL: http://svnweb.freebsd.org/changeset/base/271793 Log: Silence noisy firewire logging. MFC after:1 month Sponsored by: Spectra Logic MFSpectraBSD: 974594 on 2013/08/02 Modified: head/sys/dev/firewire/firewire.c

svn commit: r271795 - head/sys/dev/firewire

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 17:28:21 2014 New Revision: 271795 URL: http://svnweb.freebsd.org/changeset/base/271795 Log: Start the process of cleaning up FreeBSD's firewire driver. sys/dev/firewire/firewire.c: sys/dev/firewire/firewire.h: sys/dev/firewire/firewirereg.h:

svn commit: r271796 - head/tools/regression/pjdfstest

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 17:37:19 2014 New Revision: 271796 URL: http://svnweb.freebsd.org/changeset/base/271796 Log: Use 'cc' for the C compiler instead of 'gcc'. MFC after:1 week Sponsored by: Spectra Logic MFSpectraBSD: 1079507 on 2014/07/24 Modified:

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

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 18:46:38 2014 New Revision: 271798 URL: http://svnweb.freebsd.org/changeset/base/271798 Log: Remove debug.zfs_flags in favor of the new vfs.zfs.debug_flags. Replace TUNABLE_INT with CTLFLAG_RWTUN. Submitted by: avg (debug.zfs_flags removal), smh (TUNABLE_INT

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

2014-09-19 Thread Will Andrews
I found that neither TUNABLE_INT nor CTLFLAG_RWTUN work with this particular implementation of the tunable, so there is a regression that needs to be fixed (i.e. vfs.zfs.debug_flags always comes up 0 no matter what's in loader.conf). I believe it's limited to this particular tunable, however,

Re: svn commit: r271771 - in head: bin/csh etc/mail lib/libc usr.bin/grep usr.sbin/mtree

2014-09-22 Thread Will Andrews
On Sat, Sep 20, 2014 at 1:38 AM, Bruce Evans b...@optusnet.com.au wrote: The log message is confused. Source files are not being overwritten. They are being copied to object directories using cp. Then if they are read-only in the source directory, they are read-only in the object directory,

svn commit: r272282 - head/share/mk

2014-09-29 Thread Will Andrews
Author: will Date: Mon Sep 29 15:05:23 2014 New Revision: 272282 URL: http://svnweb.freebsd.org/changeset/base/272282 Log: Search for the nearest PORTSDIR where Mk/bsd.ports.mk exists, from .CURDIR. This will only take effect if PORTSDIR is not set, as previously supported. Use .if

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

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 14:12:02 2014 New Revision: 272359 URL: https://svnweb.freebsd.org/changeset/base/272359 Log: zfsvfs_create(): Refuse to mount datasets whose names are too long. This is checked for in the zfs_snapshot_004_neg STF/ATF test (currently still in projects/zfsd

svn commit: r272360 - head/sys/dev/acpica/Osd

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 14:35:52 2014 New Revision: 272360 URL: https://svnweb.freebsd.org/changeset/base/272360 Log: Add sysctl to track the resource consumption of ACPI interrupts. Submitted by: gibbs MFC after:1 month Sponsored by: Spectra Logic MFSpectraBSD: 636827 on

svn commit: r272363 - head/share/mk

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 15:02:37 2014 New Revision: 272363 URL: https://svnweb.freebsd.org/changeset/base/272363 Log: Always resolve PORTSDIR to absolute paths using realpath(1). Reported by: madpilot Reviewed by: bapt X-MFC-With: 272282 Modified: head/share/mk/bsd.port.mk

Re: svn commit: r272282 - head/share/mk

2014-10-01 Thread Will Andrews
If r272363 doesn't resolve the issue for you, let me know. Thanks! --Will. On Wed, Oct 1, 2014 at 8:51 AM, Guido Falsi madpi...@freebsd.org wrote: On 09/29/14 17:05, Will Andrews wrote: Author: will Date: Mon Sep 29 15:05:23 2014 New Revision: 272282 URL: http://svnweb.freebsd.org/changeset

svn commit: r272366 - head/sys/kern

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 15:32:28 2014 New Revision: 272366 URL: https://svnweb.freebsd.org/changeset/base/272366 Log: In the syncer, drop the sync mutex while patting the watchdog. Some watchdog drivers (like ipmi) need to sleep while patting the watchdog. See

svn commit: r272367 - head/sys/modules/zfs

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 15:34:48 2014 New Revision: 272367 URL: https://svnweb.freebsd.org/changeset/base/272367 Log: Instead of requiring an edit to turn on ZFS debugging, define ZFS_DEBUG. MFC after:1 month Modified: head/sys/modules/zfs/Makefile Modified:

svn commit: r272371 - head/sys/sys

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 16:16:01 2014 New Revision: 272371 URL: https://svnweb.freebsd.org/changeset/base/272371 Log: Embellish a comment regarding the reliability of DEBUG_VFS_LOCKS. Submitted by: kib Modified: head/sys/sys/vnode.h Modified: head/sys/sys/vnode.h

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

2014-10-01 Thread Will Andrews
sync_mtx. --Will. On Wed, Oct 1, 2014 at 9:40 AM, Davide Italiano dav...@freebsd.org wrote: On Wed, Oct 1, 2014 at 8:32 AM, Will Andrews w...@freebsd.org wrote: Author: will Date: Wed Oct 1 15:32:28 2014 New Revision: 272366 URL: https://svnweb.freebsd.org/changeset/base/272366 Log

Re: svn commit: r272282 - head/share/mk

2014-10-01 Thread Will Andrews
What kind of problem did this cause compared to the original version? Could you provide the details of what you saw? Thanks, --Will. On Wed, Oct 1, 2014 at 1:03 PM, Jung-uk Kim j...@freebsd.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2014-10-01 11:06:04 -0400, Will Andrews

Re: svn commit: r272282 - head/share/mk

2014-10-01 Thread Will Andrews
On Wed, Oct 1, 2014 at 2:03 PM, NGie Cooper yaneurab...@gmail.com wrote: This change seems like it introduces a lot of unnecessary complexity in lieu of someone setting PORTSDIR to the root of their ports tree in the environment. Sure, but people that are trying to use it somewhere other than

Re: svn commit: r272282 - head/share/mk

2014-10-01 Thread Will Andrews
On Wed, Oct 1, 2014 at 2:13 PM, Jung-uk Kim j...@freebsd.org wrote: Actually, portmaster.diff is just enough to fix portmaster problem. ports.diff is for consistency. So I guess portmaster is doing a string comparison to decide whether to install a port? That sounds like a bug in portmaster.

svn commit: r272383 - head/share/mk

2014-10-01 Thread Will Andrews
Author: will Date: Wed Oct 1 20:52:08 2014 New Revision: 272383 URL: https://svnweb.freebsd.org/changeset/base/272383 Log: Revise r272363 by collapsing the tests into a for loop. This has the side effect of ensuring that realpath is also run for the nominal case of PORTSDIR=/usr/ports

Re: svn commit: r272282 - head/share/mk

2014-10-01 Thread Will Andrews
On Wed, Oct 1, 2014 at 3:21 PM, NGie Cooper yaneurab...@gmail.com wrote: Sounds like a documentation issue though (it's not listed in the handbook :(..: https://www.freebsd.org/doc/handbook/ports-using.html ) Well, I would argue this sort of thing should not need to be documented in the first

svn commit: r275832 - head/tools/tools/nanobsd

2014-12-16 Thread Will Andrews
Author: will Date: Tue Dec 16 17:59:05 2014 New Revision: 275832 URL: https://svnweb.freebsd.org/changeset/base/275832 Log: Make NanoBSD source-able from other scripts. Summary: This change converts NanoBSD into a two-script bundle. - defaults.sh contains all non-CLI code. Most

Re: svn commit: r275832 - head/tools/tools/nanobsd

2014-12-16 Thread Will Andrews
This change was committed with 'arc commit'. I had intended to note in the commit message that this change does not make any sort of API guarantee. It is just intended to enable reuse. --Will. On Tue, Dec 16, 2014 at 10:59 AM, Will Andrews w...@freebsd.org wrote: Author: will Date: Tue Dec

svn commit: r275845 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-12-16 Thread Will Andrews
Author: will Date: Wed Dec 17 00:22:41 2014 New Revision: 275845 URL: https://svnweb.freebsd.org/changeset/base/275845 Log: Initialize an argument to NULL instead of expecting dlinfo() to do it. dlinfo() is a weak reference that may not be initialized at the time of execution. The

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

2014-12-25 Thread Will Andrews
Why was the original condition there? It may not be documented in a commenf, but presumably there is a reason. Did you ask the original author of the code in question? --Will. On Tuesday, December 23, 2014, Steven Hartland s...@freebsd.org wrote: Author: smh Date: Tue Dec 23 09:31:24 2014

Re: svn commit: r277651 - head/sys/vm

2015-01-24 Thread Will Andrews
On Sat, Jan 24, 2015 at 11:34:10AM -0800, Garrett Cooper wrote: Could you please add a kernel option to set the default from 0 to 1, or provide a tunable so the value could be set in loader.conf? Hi Garrett, The sysctl is configured as a CTLFLAG_RWTUN, so it can be configured in

svn commit: r277650 - head/etc/mtree

2015-01-24 Thread Will Andrews
Author: will Date: Sat Jan 24 17:11:11 2015 New Revision: 277650 URL: https://svnweb.freebsd.org/changeset/base/277650 Log: Add tests/etc/rc.d to mtree. Submitted by: stefanf MFC after:1 week MFC with: 277627 Modified: head/etc/mtree/BSD.tests.dist Modified:

svn commit: r277651 - head/sys/vm

2015-01-24 Thread Will Andrews
Author: will Date: Sat Jan 24 17:32:45 2015 New Revision: 277651 URL: https://svnweb.freebsd.org/changeset/base/277651 Log: Add vm.panic_on_oom sysctl, which enables those who would rather panic than kill a process, when the system runs out of memory. Defaults to off. Usually, this is

Re: svn commit: r277570 - head/usr.bin/vmstat

2015-01-23 Thread Will Andrews
On Fri, Jan 23, 2015 at 11:23:57AM -0800, Davide Italiano wrote: What's the rationale behind this change? The rationale was to match the clock used to the name (and implied intent) of the variables used to store/manipulate the data. It's possible that 'uptime' is entirely the wrong term in

svn commit: r277506 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 19:59:09 2015 New Revision: 277506 URL: https://svnweb.freebsd.org/changeset/base/277506 Log: Fix one cause of firewire panics. sys/dev/firewire/firewire.c: In fw_xfer_unload(), clear the FWXF_INQ flag on the xfer under protection of the

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 19:20:36 2015 New Revision: 277501 URL: https://svnweb.freebsd.org/changeset/base/277501 Log: Eliminate an #ifdef illumos for zfs_ioc_rename(). Since allow_mounted is a FreeBSD-specific change, default to B_TRUE, then locally check for the magic bit.

svn commit: r277507 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:02:16 2015 New Revision: 277507 URL: https://svnweb.freebsd.org/changeset/base/277507 Log: Fix a FWXF_INQ race in the firewire driver. sys/dev/firewire/firewire.c: In fw_xfer_unload() expand lock coverage so that the test for FWXF_INQ

svn commit: r277508 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:03:46 2015 New Revision: 277508 URL: https://svnweb.freebsd.org/changeset/base/277508 Log: Fix panic in firewire and creation of invalid config ROM. sys/boot/i386/libfirewire/firewire.c: sys/dev/firewire/firewire.c: Fix configuration ROM

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 19:30:01 2015 New Revision: 277504 URL: https://svnweb.freebsd.org/changeset/base/277504 Log: Remove commented log messages. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c

svn commit: r277505 - head/sys/dev/dcons

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 19:53:52 2015 New Revision: 277505 URL: https://svnweb.freebsd.org/changeset/base/277505 Log: Garbage collect dragonfly and legacy FreeBSD system support from dcons(4). Submitted by: gibbs MFC after:1 week Sponsored by: Spectra Logic MFSpectraBSD:

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 19:25:57 2015 New Revision: 277503 URL: https://svnweb.freebsd.org/changeset/base/277503 Log: Ignore sync requests from the system syncher, i.e. VFS_SYNC(waitfor=MNT_LAZY). ZFS already commits outstanding data every zfs_txg_timeout seconds, so these syncs

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

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 17:03:11 2015 New Revision: 277492 URL: https://svnweb.freebsd.org/changeset/base/277492 Log: Add vfs.zfs.reference_tracking_enable sysctl/tunable. This is primarily for developer/debugging use; it enables built-in tagged tracking of refcounts inside ZFS.

svn commit: r277440 - head/sys/cam

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 21:15:33 2015 New Revision: 277440 URL: https://svnweb.freebsd.org/changeset/base/277440 Log: Restore the CAM XPT peripheral generation counter, and export it via sysctl. Define it as an atomic uint32_t. These increments happen infrequently enough for the

svn commit: r277448 - head/sys/cddl/compat/opensolaris/sys

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:27:45 2015 New Revision: 277448 URL: https://svnweb.freebsd.org/changeset/base/277448 Log: Remove unused strdup() #define. Modified: head/sys/cddl/compat/opensolaris/sys/sunddi.h Modified: head/sys/cddl/compat/opensolaris/sys/sunddi.h

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

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:31:26 2015 New Revision: 277450 URL: https://svnweb.freebsd.org/changeset/base/277450 Log: Use the zfs_gfs tag for GFS vnodes to make them easier to identify. MFC after:1 week Sponsored by: Spectra Logic Modified:

svn commit: r277449 - head/sys/cddl/compat/opensolaris/sys

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:29:27 2015 New Revision: 277449 URL: https://svnweb.freebsd.org/changeset/base/277449 Log: NSEC_TO_TICK(usec) - NSEC_TO_TICK(nsec) Modified: head/sys/cddl/compat/opensolaris/sys/time.h Modified: head/sys/cddl/compat/opensolaris/sys/time.h

svn commit: r277514 - head/sys/dev/isp

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:27:11 2015 New Revision: 277514 URL: https://svnweb.freebsd.org/changeset/base/277514 Log: Force commit to record the correct log for r277513. If the user sends an XPT_RESET_DEV CCB, make sure to reset the Fibre Channel Command Reference Number if we're

svn commit: r277515 - head/sys/dev/isp

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:32:36 2015 New Revision: 277515 URL: https://svnweb.freebsd.org/changeset/base/277515 Log: Fix SCSI status byte reporting on 4Gb and 8Gb Qlogic boards. The newer boards don't have the response field that indicates whether the SCSI status byte is present.

svn commit: r277511 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:08:24 2015 New Revision: 277511 URL: https://svnweb.freebsd.org/changeset/base/277511 Log: Fix remote DMA based firewire debugging when targeting systems with more than 4GB of physical memory. To remotely debug the system 'stealthy' which has a kernel

svn commit: r277513 - head/sys/dev/isp

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:22:53 2015 New Revision: 277513 URL: https://svnweb.freebsd.org/changeset/base/277513 Log: Change 1112791 by kenm@ken.spectrabsd8 on 2015/01/15 16:45:13 Fix SCSI status byte reporting on 4Gb and 8Gb Qlogic boards. The newer boards don't have the

svn commit: r277518 - head/tools/tools/nanobsd

2015-01-21 Thread Will Andrews
Author: will Date: Thu Jan 22 00:52:34 2015 New Revision: 277518 URL: https://svnweb.freebsd.org/changeset/base/277518 Log: Enable nanobsd.sh to be executed when pwd != NANO_SRC. While here, fix a bug in which NANO_PMAKE would not be appended at the appropriate time. Simply move

Re: svn commit: r275832 - head/tools/tools/nanobsd

2015-01-21 Thread Will Andrews
On Thu, Jan 22, 2015 at 09:54:04AM +1100, Lawrence Stewart wrote: Yes, looks good to me and fixes the issue I reported. Please commit. Done in r277518. Thanks for the quick test. -- wca pgp4gwb_L8Tfr.pgp Description: PGP signature

svn commit: r277510 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:06:25 2015 New Revision: 277510 URL: https://svnweb.freebsd.org/changeset/base/277510 Log: Fix firewire panic when issuing a reply to an unhandled asynchronous remote dma request (DMA request that the hardware cannot automatically handle).

svn commit: r277509 - head/sys/dev/firewire

2015-01-21 Thread Will Andrews
Author: will Date: Wed Jan 21 20:05:10 2015 New Revision: 277509 URL: https://svnweb.freebsd.org/changeset/base/277509 Log: Properly lock accesss to the firewire_comm-devices list. sys/dev/firewire/firewire.c: Add missing FW_GLOCK/UNLOCK() usage to fw_noderesolve_nodeid().

svn commit: r277273 - in head: bin/csh etc/mail gnu/usr.bin/grep kerberos5/lib/libasn1 kerberos5/lib/libgssapi_spnego kerberos5/lib/libhdb kerberos5/lib/libhx509 lib/libc lib/libexpat lib/libunboun...

2015-01-16 Thread Will Andrews
Author: will Date: Fri Jan 16 21:39:08 2015 New Revision: 277273 URL: https://svnweb.freebsd.org/changeset/base/277273 Log: Add a ${CP} alias for copying files in the build. Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless

svn commit: r277544 - head/sys/net

2015-01-22 Thread Will Andrews
Author: will Date: Fri Jan 23 00:06:35 2015 New Revision: 277544 URL: https://svnweb.freebsd.org/changeset/base/277544 Log: Improve the distribution of LAGG port traffic. I edited the original change to retain the use of arc4random() as a seed for the hashing as a very basic defense

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

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:39:10 2015 New Revision: 277452 URL: https://svnweb.freebsd.org/changeset/base/277452 Log: Fix arc__shrink DTrace probe's to_free argument. Remove the unnecessary #ifdef _KERNEL, which did not differ in the true or false cases. Actually set the value of

Re: svn commit: r275832 - head/tools/tools/nanobsd

2015-01-21 Thread Will Andrews
On Wed, Jan 21, 2015 at 06:51:23PM +1100, Lawrence Stewart wrote: I think this change introduced a bug - I'm seeing nanobsd error out with the NANO_TOOLS directory does not exist message. The problem is that NANO_TOOLS is initialised to tools/tools/nanobsd, and you changed the test in

svn commit: r277530 - head/sys/netinet

2015-01-22 Thread Will Andrews
Author: will Date: Thu Jan 22 17:09:54 2015 New Revision: 277530 URL: https://svnweb.freebsd.org/changeset/base/277530 Log: Improve CARP logging so that all state transitions are logged. sys/netinet/ip_carp.c: Add a reason string parameter to carp_set_state() and

Re: svn commit: r277532 - head/sys/arm/arm

2015-01-22 Thread Will Andrews
On Thu, Jan 22, 2015 at 05:42:31PM +, Ian Lepore wrote: Log: Add the Maxmem global and set it to the highest physical page number plus 1. Thanks! -- wca pgpNzNNzL4wJU.pgp Description: PGP signature

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

2015-01-23 Thread Will Andrews
Author: will Date: Sat Jan 24 00:43:02 2015 New Revision: 277629 URL: https://svnweb.freebsd.org/changeset/base/277629 Log: When creating or updating a node, use vfs_timestamp() for now instead of gethrestime(), to allow the administrator to decide the appropriate timestamp precision

svn commit: r277624 - head/usr.sbin/config

2015-01-23 Thread Will Andrews
Author: will Date: Sat Jan 24 00:04:34 2015 New Revision: 277624 URL: https://svnweb.freebsd.org/changeset/base/277624 Log: Bump config(8) minor version for r277567. Config files built using this version that take advantage of the bugfix won't be buildable using older config(8).

svn commit: r277622 - head/sys/boot/i386/libfirewire

2015-01-23 Thread Will Andrews
Author: will Date: Fri Jan 23 23:53:56 2015 New Revision: 277622 URL: https://svnweb.freebsd.org/changeset/base/277622 Log: Fix panic in firewire and creation of invalid config ROM. (This change was supposed to be included in r277508.) sys/boot/i386/libfirewire/firewire.c: Fix

svn commit: r277627 - in head/etc/tests: . rc.d

2015-01-23 Thread Will Andrews
Author: will Date: Sat Jan 24 00:37:41 2015 New Revision: 277627 URL: https://svnweb.freebsd.org/changeset/base/277627 Log: Add routing_test:static_ipv6_loopback_route_for_each_fib. It tests that all FIBs get a static IPv6 loopback route. Submitted by: asomers MFC after:1 week

svn commit: r277563 - head/sys/netinet

2015-01-23 Thread Will Andrews
Author: will Date: Fri Jan 23 14:28:12 2015 New Revision: 277563 URL: https://svnweb.freebsd.org/changeset/base/277563 Log: When a CARP state change is caused by an ifconfig request, log it accordingly. Suggested by: glebius MFC after:1 week MFC with: 277530 Modified:

  1   2   >