svn commit: r271853 - head/sys/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 19 05:43:38 2014 New Revision: 271853 URL: http://svnweb.freebsd.org/changeset/base/271853 Log: Increase errors, not queue drops, in cases the module is supplied with a bad packet or if mbuf allocation failes. Modified: head/sys/net/if_gre.c Modified: head/sys

svn commit: r271852 - head/sys/netinet

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 19 05:23:47 2014 New Revision: 271852 URL: http://svnweb.freebsd.org/changeset/base/271852 Log: Remove disabled code, that is very unlikely to be ever enabled again, as well as the comment that explains why is it disabled. Modified: head/sys/netinet/ip_output.c

svn commit: r271851 - head/sys/netgraph

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 19 05:03:11 2014 New Revision: 271851 URL: http://svnweb.freebsd.org/changeset/base/271851 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/netgraph/ng_eiface.c head/sys/netgraph/ng_iface.c head/sys/netgraph/ng_sppp.c Modified: head/sys/netg

Re: svn commit: r271792 - head/include

2014-09-18 Thread Pedro Giffuni
Il giorno 18/set/2014, alle ore 20:52, Kevin Lo ha scritto: > On Thu, Sep 18, 2014 at 05:18:43PM +, Pedro F. Giffuni wrote: >> >> Author: pfg >> Date: Thu Sep 18 17:18:42 2014 >> New Revision: 271792 >> URL: http://svnweb.freebsd.org/changeset/base/271792 >> >> Log: >> unistd: move setpgr

Re: svn commit: r271735 - head/sys/net

2014-09-18 Thread Marcelo Araujo
Hello, I made some tests with the implementation from pfsense and it works like a charm with very few modifications. I'm gonna try to make it in two steps. 1) First only submit the vlan(4) and ifconfig(8) changes. 2) Submit the changes on pf(4) and ipfw(8) in a second stage. I'm going to use pha

svn commit: r271850 - head/sys/dev/sf

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 19 03:55:19 2014 New Revision: 271850 URL: http://svnweb.freebsd.org/changeset/base/271850 Log: Fix typo. Submitted by: jkim Modified: head/sys/dev/sf/if_sf.c Modified: head/sys/dev/sf/if_sf.c

Re: svn commit: r271841 - head/sys/dev/smc

2014-09-18 Thread Gleb Smirnoff
On Thu, Sep 18, 2014 at 10:10:50PM +, Bjoern A. Zeeb wrote: B> Author: bz B> Date: Thu Sep 18 22:10:49 2014 B> New Revision: 271841 B> URL: http://svnweb.freebsd.org/changeset/base/271841 B> B> Log: B> Fx a type from r271817; it's IFCOUNTER_* not IFNET_*. Thanks! -- Totus tuus, Glebius.

svn commit: r271849 - in head/sys/dev: ae altera/atse an bwi bwn cadence ce cm cp ctau cx dc de ed en ex fatm firewire gxemul/ether hatm hyperv/netvsc if_ndis iicbus ipw iwi iwn le lge malo mge net...

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 19 03:51:26 2014 New Revision: 271849 URL: http://svnweb.freebsd.org/changeset/base/271849 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/ae/if_ae.c head/sys/dev/altera/atse/if_atse.c head/sys/dev/an/if_an.c head/sys/dev/bwi/if_bwi.c

Re: svn commit: r271792 - head/include

2014-09-18 Thread Kevin Lo
On Thu, Sep 18, 2014 at 05:18:43PM +, Pedro F. Giffuni wrote: > > Author: pfg > Date: Thu Sep 18 17:18:42 2014 > New Revision: 271792 > URL: http://svnweb.freebsd.org/changeset/base/271792 > > Log: > unistd: move setpgrp(2) to the __BSD_VISIBLE section > > Our setpgrp(2) differs from t

svn commit: r271847 - head/lib/libnv

2014-09-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 18 22:34:52 2014 New Revision: 271847 URL: http://svnweb.freebsd.org/changeset/base/271847 Log: Don't use nvl in case of a failure. Reported by: Coverity CID: 1238922 Modified: head/lib/libnv/nvpair.c Modified: head/lib/libnv/nvpair.c ==

svn commit: r271845 - in head/sys/cam: ctl scsi

2014-09-18 Thread Alexander Motin
Author: mav Date: Thu Sep 18 22:22:14 2014 New Revision: 271845 URL: http://svnweb.freebsd.org/changeset/base/271845 Log: Allow more commands to pass persistent reservation according to SPC-4 r37. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_cmd_table.c head/sys/cam/scsi/scsi_all

svn commit: r271841 - head/sys/dev/smc

2014-09-18 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 18 22:10:49 2014 New Revision: 271841 URL: http://svnweb.freebsd.org/changeset/base/271841 Log: Fx a type from r271817; it's IFCOUNTER_* not IFNET_*. Modified: head/sys/dev/smc/if_smc.c Modified: head/sys/dev/smc/if_smc.c

svn commit: r271839 - in head/sys/cam: ctl scsi

2014-09-18 Thread Alexander Motin
Author: mav Date: Thu Sep 18 21:39:00 2014 New Revision: 271839 URL: http://svnweb.freebsd.org/changeset/base/271839 Log: Add support for "no Data-Out Buffer" (NDOB) flag of WRITE SAME (16) command. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_backend_block.c head/sys/cam/ctl/ctl

svn commit: r271838 - head/sys/dev/sf

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:19:21 2014 New Revision: 271838 URL: http://svnweb.freebsd.org/changeset/base/271838 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/sf/if_sf.c Modified: head/sys/dev/sf/if_sf.c

svn commit: r271837 - head/sys/dev/stge

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:16:05 2014 New Revision: 271837 URL: http://svnweb.freebsd.org/changeset/base/271837 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/stge/if_stge.c Modified: head/sys/dev/stge/if_stge.c

svn commit: r271836 - head/sys/dev/cs

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:14:46 2014 New Revision: 271836 URL: http://svnweb.freebsd.org/changeset/base/271836 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/cs/if_cs.c Modified: head/sys/dev/cs/if_cs.c

svn commit: r271834 - head/sys/dev/ixl

2014-09-18 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 18 21:13:03 2014 New Revision: 271834 URL: http://svnweb.freebsd.org/changeset/base/271834 Log: Revert r270808, which were changes to common code (i40e_alloc.h). Rather than #define-ing common code function calls to OS-dependent ones, make the osdep versions match

svn commit: r271835 - head/sys/dev/ale

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:13:12 2014 New Revision: 271835 URL: http://svnweb.freebsd.org/changeset/base/271835 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/ale/if_ale.c Modified: head/sys/dev/ale/if_ale.c

svn commit: r271833 - head/sys/dev/alc

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:11:42 2014 New Revision: 271833 URL: http://svnweb.freebsd.org/changeset/base/271833 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/alc/if_alc.c Modified: head/sys/dev/alc/if_alc.c

svn commit: r271832 - head/sys/dev/usb/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:09:22 2014 New Revision: 271832 URL: http://svnweb.freebsd.org/changeset/base/271832 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/usb/net/if_aue.c head/sys/dev/usb/net/if_axe.c head/sys/dev/usb/net/if_axge.c head/sys/dev/usb/n

svn commit: r271831 - head/sys/dev/hme

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:07:05 2014 New Revision: 271831 URL: http://svnweb.freebsd.org/changeset/base/271831 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/hme/if_hme.c Modified: head/sys/dev/hme/if_hme.c

svn commit: r271830 - head/sys/dev/bm

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:05:59 2014 New Revision: 271830 URL: http://svnweb.freebsd.org/changeset/base/271830 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/bm/if_bm.c Modified: head/sys/dev/bm/if_bm.c

svn commit: r271829 - head/sys/dev/bfe

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:03:13 2014 New Revision: 271829 URL: http://svnweb.freebsd.org/changeset/base/271829 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/bfe/if_bfe.c Modified: head/sys/dev/bfe/if_bfe.c

svn commit: r271828 - head/sys/dev/age

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:01:41 2014 New Revision: 271828 URL: http://svnweb.freebsd.org/changeset/base/271828 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/age/if_age.c Modified: head/sys/dev/age/if_age.c

Re: svn commit: r271803 - head/sys/dev/tl

2014-09-18 Thread Navdeep Parhar
On 09/18/14 13:50, Gleb Smirnoff wrote: Navdeep, On Thu, Sep 18, 2014 at 01:09:05PM -0700, Navdeep Parhar wrote: N> Consider changing if_inc_counter to be inline and have it take const N> ints for the counter and increment. The compiler will optimize away all N> the unneeded code in if_inc_c

svn commit: r271827 - head/sys/dev/my

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:59:59 2014 New Revision: 271827 URL: http://svnweb.freebsd.org/changeset/base/271827 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/my/if_my.c Modified: head/sys/dev/my/if_my.c

svn commit: r271826 - head/sys/dev/ffec

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:58:04 2014 New Revision: 271826 URL: http://svnweb.freebsd.org/changeset/base/271826 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/ffec/if_ffec.c Modified: head/sys/dev/ffec/if_ffec.c

svn commit: r271824 - head/sys/dev/cas

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:53:02 2014 New Revision: 271824 URL: http://svnweb.freebsd.org/changeset/base/271824 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/cas/if_cas.c Modified: head/sys/dev/cas/if_cas.c

Re: svn commit: r271803 - head/sys/dev/tl

2014-09-18 Thread Gleb Smirnoff
Navdeep, On Thu, Sep 18, 2014 at 01:09:05PM -0700, Navdeep Parhar wrote: N> Consider changing if_inc_counter to be inline and have it take const N> ints for the counter and increment. The compiler will optimize away all N> the unneeded code in if_inc_counter. Yep, constifying is a good idea.

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

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:47:39 2014 New Revision: 271823 URL: http://svnweb.freebsd.org/changeset/base/271823 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/ath/if_ath.c head/sys/dev/ath/if_ath_rx.c head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath

svn commit: r271822 - head/sys/dev/pdq

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:44:53 2014 New Revision: 271822 URL: http://svnweb.freebsd.org/changeset/base/271822 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/pdq/pdq_ifsubr.c Modified: head/sys/dev/pdq/pdq_ifsubr.c

svn commit: r271821 - head/sys/dev/snc

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:43:17 2014 New Revision: 271821 URL: http://svnweb.freebsd.org/changeset/base/271821 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/snc/dp83932.c Modified: head/sys/dev/snc/dp83932.c ==

svn commit: r271820 - head/sys/dev/ie

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:39:23 2014 New Revision: 271820 URL: http://svnweb.freebsd.org/changeset/base/271820 Log: - Mechanically convert to if_inc_counter(). - Cut code that runs a counter backwards. Modified: head/sys/dev/ie/if_ie.c Modified: head/sys/dev/ie/if_ie.c ==

svn commit: r271819 - in head: share/man/man9 sys/cddl/compat/opensolaris/kern

2014-09-18 Thread Steven Hartland
Author: smh Date: Thu Sep 18 20:38:18 2014 New Revision: 271819 URL: http://svnweb.freebsd.org/changeset/base/271819 Log: Remove sys/types.h include as per style (9) SDT requries sys/param.h due to use of NULL Reported by: Garrett Sponsored by: Multiplay Modified: head/share/man/

svn commit: r271818 - head/sys/dev/xl

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:35:22 2014 New Revision: 271818 URL: http://svnweb.freebsd.org/changeset/base/271818 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c

svn commit: r271817 - head/sys/dev/smc

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:33:25 2014 New Revision: 271817 URL: http://svnweb.freebsd.org/changeset/base/271817 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/smc/if_smc.c Modified: head/sys/dev/smc/if_smc.c

svn commit: r271815 - head/sys/dev/vge

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:30:47 2014 New Revision: 271815 URL: http://svnweb.freebsd.org/changeset/base/271815 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/vge/if_vge.c Modified: head/sys/dev/vge/if_vge.c

svn commit: r271814 - head/sys/compat/linprocfs

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:29:17 2014 New Revision: 271814 URL: http://svnweb.freebsd.org/changeset/base/271814 Log: Fix build on 32-bit machines. Pointy hat to:glebius Modified: head/sys/compat/linprocfs/linprocfs.c Modified: head/sys/compat/linprocfs/linprocfs.c =

svn commit: r271813 - head/sys/dev/pcn

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:24:47 2014 New Revision: 271813 URL: http://svnweb.freebsd.org/changeset/base/271813 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/pcn/if_pcn.c Modified: head/sys/dev/pcn/if_pcn.c

svn commit: r271812 - head/sys/dev/nge

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:23:34 2014 New Revision: 271812 URL: http://svnweb.freebsd.org/changeset/base/271812 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/nge/if_nge.c Modified: head/sys/dev/nge/if_nge.c

svn commit: r271811 - head/sys/dev/gem

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:21:46 2014 New Revision: 271811 URL: http://svnweb.freebsd.org/changeset/base/271811 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/gem/if_gem.c Modified: head/sys/dev/gem/if_gem.c

svn commit: r271810 - head/sys/dev/mwl

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:18:55 2014 New Revision: 271810 URL: http://svnweb.freebsd.org/changeset/base/271810 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/mwl/if_mwl.c Modified: head/sys/dev/mwl/if_mwl.c

svn commit: r271808 - head/sys/dev/vr

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:17:27 2014 New Revision: 271808 URL: http://svnweb.freebsd.org/changeset/base/271808 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/vr/if_vr.c Modified: head/sys/dev/vr/if_vr.c

svn commit: r271807 - head/sys/dev/fe

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:15:53 2014 New Revision: 271807 URL: http://svnweb.freebsd.org/changeset/base/271807 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/fe/if_fe.c Modified: head/sys/dev/fe/if_fe.c

svn commit: r271806 - head/sys/dev/ep

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:11:28 2014 New Revision: 271806 URL: http://svnweb.freebsd.org/changeset/base/271806 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/ep/if_ep.c Modified: head/sys/dev/ep/if_ep.c

Re: svn commit: r271803 - head/sys/dev/tl

2014-09-18 Thread Navdeep Parhar
Consider changing if_inc_counter to be inline and have it take const ints for the counter and increment. The compiler will optimize away all the unneeded code in if_inc_counter. Regards, Navdeep On 09/18/14 13:03, Gleb Smirnoff wrote: Author: glebius Date: Thu Sep 18 20:03:45 2014 New Revis

svn commit: r271805 - head/sys/dev/sis

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:09:35 2014 New Revision: 271805 URL: http://svnweb.freebsd.org/changeset/base/271805 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/sis/if_sis.c Modified: head/sys/dev/sis/if_sis.c

svn commit: r271804 - head/sys/dev/tx

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:06:10 2014 New Revision: 271804 URL: http://svnweb.freebsd.org/changeset/base/271804 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/tx/if_tx.c Modified: head/sys/dev/tx/if_tx.c

svn commit: r271803 - head/sys/dev/tl

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:03:45 2014 New Revision: 271803 URL: http://svnweb.freebsd.org/changeset/base/271803 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/tl/if_tl.c Modified: head/sys/dev/tl/if_tl.c

svn commit: r271802 - in head: share/man/man9 sys/cddl/compat/opensolaris/kern sys/cddl/compat/opensolaris/sys sys/modules/zfs

2014-09-18 Thread Steven Hartland
Author: smh Date: Thu Sep 18 20:00:36 2014 New Revision: 271802 URL: http://svnweb.freebsd.org/changeset/base/271802 Log: Add dtrace probe support for zfs SET_ERROR(..) MFC after:1 week Sponsored by: Multiplay Added: head/sys/cddl/compat/opensolaris/kern/opensolaris_dtrace.c (con

svn commit: r271801 - head/sys/dev/msk

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 19:57:13 2014 New Revision: 271801 URL: http://svnweb.freebsd.org/changeset/base/271801 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c

Re: svn commit: r271782 - in head/sys/dev: bge bxe e1000 fxp nfe

2014-09-18 Thread Gleb Smirnoff
On Thu, Sep 18, 2014 at 12:18:24PM -0700, Adrian Chadd wrote: A> On 18 September 2014 12:11, Gleb Smirnoff wrote: A> > On Thu, Sep 18, 2014 at 03:56:14PM +, Gleb Smirnoff wrote: A> > T> Author: glebius A> > T> Date: Thu Sep 18 15:56:14 2014 A> > T> New Revision: 271782 A> > T> URL: http://svnw

Re: svn commit: r271782 - in head/sys/dev: bge bxe e1000 fxp nfe

2014-09-18 Thread Adrian Chadd
On 18 September 2014 12:11, Gleb Smirnoff wrote: > On Thu, Sep 18, 2014 at 03:56:14PM +, Gleb Smirnoff wrote: > T> Author: glebius > T> Date: Thu Sep 18 15:56:14 2014 > T> New Revision: 271782 > T> URL: http://svnweb.freebsd.org/changeset/base/271782 > T> > T> Log: > T> - Use if_inc_counter(

svn commit: r271799 - head/sys/dev/virtio/network

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 19:15:40 2014 New Revision: 271799 URL: http://svnweb.freebsd.org/changeset/base/271799 Log: - Provide if_get_counter() method for vtnet(4). - Do not accumulate statistics on every tick. - Accumulate statistics in vtnet_setup_stat_sysctl() and in vtnet_ge

Re: svn commit: r271782 - in head/sys/dev: bge bxe e1000 fxp nfe

2014-09-18 Thread Gleb Smirnoff
On Thu, Sep 18, 2014 at 03:56:14PM +, Gleb Smirnoff wrote: T> Author: glebius T> Date: Thu Sep 18 15:56:14 2014 T> New Revision: 271782 T> URL: http://svnweb.freebsd.org/changeset/base/271782 T> T> Log: T> - Use if_inc_counter() to increment various counters. T> - Do not ever set a counter

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

svn commit: r271797 - head/usr.sbin/ctld

2014-09-18 Thread Alexander Motin
Author: mav Date: Thu Sep 18 17:39:04 2014 New Revision: 271797 URL: http://svnweb.freebsd.org/changeset/base/271797 Log: Make kernel to update LUN size from the backing storage on configuration reload also if that size was not specified in the new configuration. Previously it happened on

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

2014-09-18 Thread Steven Hartland
You don't need a seperate TUNABLE_INT declations any more since the excellent SYSCTL refactor. Regards Steve - Original Message - From: "Will Andrews" To: ; ; Sent: Thursday, September 18, 2014 5:55 PM Subject: svn commit: r271788 - head/sys/cddl/contrib/opensolaris/uts/commo

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: head/tools/regressio

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: sys/dev/fire

svn commit: r271794 - head/sys/cam/ctl

2014-09-18 Thread Alexander Motin
Author: mav Date: Thu Sep 18 17:25:20 2014 New Revision: 271794 URL: http://svnweb.freebsd.org/changeset/base/271794 Log: When updating device media size use cached cdevsw pointer. Using pointer from the cdev directly is dangerous since we have no reference on it, and it may change any ti

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

2014-09-18 Thread Andriy Gapon
On 18/09/2014 20:05, Will Andrews wrote: > Which one is more idiomatic? Sorry, I never noticed that one. I prefer your commit. > > On Thu, Sep 18, 2014 at 11:03 AM, Andriy Gapon wrote: >> On 18/09/2014 19:55, Will Andrews wrote: >>> Author: will >>> Date: Thu Sep 18 16:55:41 2014 >>> New Revis

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: r271792 - head/include

2014-09-18 Thread Pedro F. Giffuni
Author: pfg Date: Thu Sep 18 17:18:42 2014 New Revision: 271792 URL: http://svnweb.freebsd.org/changeset/base/271792 Log: unistd: move setpgrp(2) to the __BSD_VISIBLE section Our setpgrp(2) differs from the specified by POSIX, which only has one argument, and is only meant for compatibili

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 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/changeset/ba

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

2014-09-18 Thread Andriy Gapon
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/changeset/base/271788 > > Log: > Enable ZFS debug flags to be modified via vfs.zfs.debug_flags. > > This is primarily only of interest to ZFS deve

svn commit: r271789 - head/usr.sbin/lpr/lpd

2014-09-18 Thread Pedro F. Giffuni
Author: pfg Date: Thu Sep 18 17:01:45 2014 New Revision: 271789 URL: http://svnweb.freebsd.org/changeset/base/271789 Log: lpr: replace setpgrp(2) with setpgid(2). setpgid(2) is more portable than setpgrp(2). The BSD variant of setpgrp is a wrapper for setpgid(2) anyways. MFC after:

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 debuggin

svn commit: r271787 - head/release/picobsd/tinyware/simple_httpd

2014-09-18 Thread Pedro F. Giffuni
Author: pfg Date: Thu Sep 18 16:53:44 2014 New Revision: 271787 URL: http://svnweb.freebsd.org/changeset/base/271787 Log: simple_httpd: cosmetic cleanups. Many tab vs space cleanups. Use setpgid() instead of setpgrp() which is more portable, MFC after:5 weeks Modified: head/re

svn commit: r271786 - head/sys/compat/linprocfs

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 16:44:28 2014 New Revision: 271786 URL: http://svnweb.freebsd.org/changeset/base/271786 Log: - Use if_get_counter() to fetch ifnet statistics. - Report IFCOUNTER_OQDROPS to linprocfs. Wasn't there before. Sponsored by: Netflix Sponsored by: Nginx, Inc.

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: head/sys/cddl/contrib/ope

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

2014-09-18 Thread Adrian Chadd
Author: adrian Date: Thu Sep 18 16:20:17 2014 New Revision: 271784 URL: http://svnweb.freebsd.org/changeset/base/271784 Log: Fix the handling of EOP in status descriptors for if_igb(4) and don't double-free mbufs. Like ixgbe(4) chipsets, EOP is only set on the final descriptor in a chai

svn commit: r271783 - head/sys/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 16:17:20 2014 New Revision: 271783 URL: http://svnweb.freebsd.org/changeset/base/271783 Log: Remove a bunch of methods that are superseded by if_inc_counter(). Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified: head/sys/net/if.c head/sys/net/if

svn commit: r271782 - in head/sys/dev: bge bxe e1000 fxp nfe

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 15:56:14 2014 New Revision: 271782 URL: http://svnweb.freebsd.org/changeset/base/271782 Log: - Use if_inc_counter() to increment various counters. - Do not ever set a counter to a value. For those counters that we don't increment, but return directly from h

Re: svn commit: r271735 - head/sys/net

2014-09-18 Thread Marcelo Araujo
Hello Adrian, I have a patch, but it is a hack on PF and some very ugly code. Not generic at all. As my hands are dirty now with it, if you don't have too much time, I can take a look on pfsense implementation. Best Regards, 2014-09-18 22:32 GMT+08:00 Adrian Chadd : > There is in pfsense. > > L

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 bon

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: head/lib/libunbo

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: head/kerberos5/l

Re: svn commit: r271762 - in head/sys/boot: amd64/boot1.efi efi/include efi/libefi

2014-09-18 Thread Ed Maste
On 18 September 2014 10:20, Bjoern A. Zeeb wrote: > > Thanks a lot; that massively helps debugging (as you can at least see what’s > going on). Eventually we might want to make that dependent on environment > variables maybe? > > For example on the Mac I have been using this for a while to se

svn commit: r271774 - head/sys/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 14:47:13 2014 New Revision: 271774 URL: http://svnweb.freebsd.org/changeset/base/271774 Log: While not too late rename 'ifnet_counter' to 'ift_counter'. One of the imporant moments that we discussed with Marcel and Anuranjan was that a converted driver should

svn commit: r271772 - head/sys/netgraph

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 14:43:23 2014 New Revision: 271772 URL: http://svnweb.freebsd.org/changeset/base/271772 Log: Accidentially, ng_ppp changes leaked out with r271770. The proper commit message should have been: In case if ng_ppp(4) runs only IPv4, with one link, w/o any en

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 cas

svn commit: r271770 - in head/sys: net netgraph

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 14:38:28 2014 New Revision: 271770 URL: http://svnweb.freebsd.org/changeset/base/271770 Log: Add a function to set if_get_counter method for an ifnet. To be used in the drivers that are already converted to "Juniper drvapi". This can be revisited in future.

Re: svn commit: r271735 - head/sys/net

2014-09-18 Thread Adrian Chadd
There is in pfsense. Let me see about twisting some arms again... :) -a On 18 September 2014 00:21, Bruce Simpson wrote: > On Thu, 18 Sep 2014, at 07:04, Kevin Lo wrote: >> Sorry, I overlooked that. Marcelo has a patch with 802.1p tagging >> support, >> I thought the patch was committed. > >

Re: svn commit: r271762 - in head/sys/boot: amd64/boot1.efi efi/include efi/libefi

2014-09-18 Thread Bjoern A. Zeeb
On 18 Sep 2014, at 13:59 , Ed Maste wrote: > Author: emaste > Date: Thu Sep 18 13:59:36 2014 > New Revision: 271762 > URL: http://svnweb.freebsd.org/changeset/base/271762 > > Log: > Switch to text mode in UEFI boot > > The loader previously failed to display on MacBooks and other systems >

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: 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 driv

svn commit: r271762 - in head/sys/boot: amd64/boot1.efi efi/include efi/libefi

2014-09-18 Thread Ed Maste
Author: emaste Date: Thu Sep 18 13:59:36 2014 New Revision: 271762 URL: http://svnweb.freebsd.org/changeset/base/271762 Log: Switch to text mode in UEFI boot The loader previously failed to display on MacBooks and other systems where the UEFI firmware remained in graphics mode. Submi

Re: svn commit: r271753 - head/sys/fs/autofs

2014-09-18 Thread Konstantin Belousov
On Thu, Sep 18, 2014 at 03:12:16PM +0200, Edward Tomasz Napierala wrote: > On 0918T1421, Konstantin Belousov wrote: > > On Thu, Sep 18, 2014 at 10:33:23AM +, Edward Tomasz Napierala wrote: > > > Author: trasz > > > Date: Thu Sep 18 10:33:23 2014 > > > New Revision: 271753 > > > URL: http://svnw

svn commit: r271761 - head/share/man/man9

2014-09-18 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 18 13:56:32 2014 New Revision: 271761 URL: http://svnweb.freebsd.org/changeset/base/271761 Log: Add missing link to TIMEOUT_TASK_INIT(9). MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/share/man/man9/Makefile Modified: head/share/

svn commit: r271759 - head/share/man/man9

2014-09-18 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 18 13:39:47 2014 New Revision: 271759 URL: http://svnweb.freebsd.org/changeset/base/271759 Log: Add missing links to taskqueue(9). MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/share/man/man9/Makefile Modified: head/share/man/man

svn commit: r271758 - head/sys/dev/vt

2014-09-18 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Sep 18 13:24:06 2014 New Revision: 271758 URL: http://svnweb.freebsd.org/changeset/base/271758 Log: vt(4): Use strncpy() to copy into a fixed-size buffer CID: 1230007 MFC after:3 days Modified: head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt

Re: svn commit: r271753 - head/sys/fs/autofs

2014-09-18 Thread Edward Tomasz Napierala
On 0918T1421, Konstantin Belousov wrote: > On Thu, Sep 18, 2014 at 10:33:23AM +, Edward Tomasz Napierala wrote: > > Author: trasz > > Date: Thu Sep 18 10:33:23 2014 > > New Revision: 271753 > > URL: http://svnweb.freebsd.org/changeset/base/271753 > > > > Log: > > Fix typos. > > > > Spon

svn commit: r271757 - head/sys/boot/amd64/efi

2014-09-18 Thread Ed Maste
Author: emaste Date: Thu Sep 18 13:00:03 2014 New Revision: 271757 URL: http://svnweb.freebsd.org/changeset/base/271757 Log: Wrap long lines introduced in r268227 Modified: head/sys/boot/amd64/efi/bootinfo.c Modified: head/sys/boot/amd64/efi/bootinfo.c ===

svn commit: r271756 - head/sys/dev/vt

2014-09-18 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Sep 18 12:20:19 2014 New Revision: 271756 URL: http://svnweb.freebsd.org/changeset/base/271756 Log: vt(4): Fix out-of-bounds array access in VT_ACTIVATE ioctl handling CID: 1229964 MFC after:3 days Modified: head/sys/dev/vt/vt_core.c Modified: h

Re: svn commit: r271753 - head/sys/fs/autofs

2014-09-18 Thread Konstantin Belousov
On Thu, Sep 18, 2014 at 10:33:23AM +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Thu Sep 18 10:33:23 2014 > New Revision: 271753 > URL: http://svnweb.freebsd.org/changeset/base/271753 > > Log: > Fix typos. > > Sponsored by: The FreeBSD Foundation > > Modified: > hea

svn commit: r271754 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2014-09-18 Thread Steven Hartland
Author: smh Date: Thu Sep 18 10:46:51 2014 New Revision: 271754 URL: http://svnweb.freebsd.org/changeset/base/271754 Log: Remove unused ZFS ARC functions * arc_data_buf_alloc * arc_data_buf_free MFC after:1 week Sponsored by: Multiplay Modified: head/sys/cddl/contrib/opensol

svn commit: r271753 - head/sys/fs/autofs

2014-09-18 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 18 10:33:23 2014 New Revision: 271753 URL: http://svnweb.freebsd.org/changeset/base/271753 Log: Fix typos. Sponsored by: The FreeBSD Foundation Modified: head/sys/fs/autofs/autofs.c Modified: head/sys/fs/autofs/autofs.c ===

svn commit: r271752 - head/sys/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 10:01:56 2014 New Revision: 271752 URL: http://svnweb.freebsd.org/changeset/base/271752 Log: While not too late rename if_get_counter_compat() to if_get_counter_default(). The compat counters will go away, but the function will remain in its place, and in all

svn commit: r271751 - head/sys/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 09:54:57 2014 New Revision: 271751 URL: http://svnweb.freebsd.org/changeset/base/271751 Log: Add if_inc_counter(), a generic method to update ifnet(9) counter w/o dereferencing the struct. Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified: head

  1   2   >