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

2014-09-13 Thread John-Mark Gurney
Xin Li wrote this message on Sat, Sep 13, 2014 at 14:05 +0800: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 9/13/14 1:22 PM, John-Mark Gurney wrote: > > Xin Li wrote this message on Sat, Sep 13, 2014 at 12:23 +0800: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > >> > >> On 9

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

2014-09-13 Thread Alexander Motin
Author: mav Date: Sat Sep 13 07:45:03 2014 New Revision: 271503 URL: http://svnweb.freebsd.org/changeset/base/271503 Log: Implement range checks between UNMAP and READ/WRITE commands. Before this change UNMAP completely blocked other I/Os while running. Now it blocks only colliding ones,

svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 13 08:26:09 2014 New Revision: 271504 URL: http://svnweb.freebsd.org/changeset/base/271504 Log: Improve transmit sending offload, TSO, algorithm in general. The current TSO limitation feature only takes the total number of bytes in an mbuf chain into account

svn commit: r271505 - in head: sys/cam/ctl usr.sbin/ctladm

2014-09-13 Thread Alexander Motin
Author: mav Date: Sat Sep 13 08:55:22 2014 New Revision: 271505 URL: http://svnweb.freebsd.org/changeset/base/271505 Log: Add "readcache" and "writecache" LUN options to control default behavior. Default values are "on". Disabling requires backend to support IO_DIRECT and IO_SYNC flags r

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

2014-09-13 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Sep 13 09:33:37 2014 New Revision: 271506 URL: http://svnweb.freebsd.org/changeset/base/271506 Log: vt(4): Enclose vt_mouse_paste() prototype inside #ifndef SC_NO_CUTPASTE/#endif This fixes the build with sparc64 LINT for instance. Reported by: bz@ MFC aft

svn commit: r271507 - in head: sys/cam/ctl usr.sbin/ctladm

2014-09-13 Thread Alexander Motin
Author: mav Date: Sat Sep 13 10:34:23 2014 New Revision: 271507 URL: http://svnweb.freebsd.org/changeset/base/271507 Log: Implement control over command reordering via options and control mode page. It allows to bypass range checks between UNMAP and READ/WRITE commands, which may introduc

svn commit: r271509 - head/sys/kern

2014-09-13 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Sep 13 13:46:16 2014 New Revision: 271509 URL: http://svnweb.freebsd.org/changeset/base/271509 Log: Fix error handling in cpuset_setithread() introduced in r267716. Noted by: kib MFC after:1 week Modified: head/sys/kern/kern_cpuset.c Modified: head/s

svn commit: r271524 - head/sbin/ifconfig

2014-09-13 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Sep 13 16:04:55 2014 New Revision: 271524 URL: http://svnweb.freebsd.org/changeset/base/271524 Log: Do not try to read i2c info when no transceiver is present. MFC with: r270064 Sponsored by: Yandex LLC Modified: head/sbin/ifconfig/sfp.c Modified: head/s

svn commit: r271526 - in head/sys/cddl: boot/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2014-09-13 Thread Xin LI
Author: delphij Date: Sat Sep 13 16:26:14 2014 New Revision: 271526 URL: http://svnweb.freebsd.org/changeset/base/271526 Log: MFV r271510: Enforce 4K as smallest indirect block size (previously the smallest indirect block size was 1K but that was never used). This makes some space es

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

2014-09-13 Thread Xin LI
Author: delphij Date: Sat Sep 13 16:41:39 2014 New Revision: 271527 URL: http://svnweb.freebsd.org/changeset/base/271527 Log: MFV r271511: Use fnvlist_* to make code more readable. Illumos issue: 5135 zpool_find_import_cached() can use fnvlist_* MFC after:2 weeks Modifi

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

2014-09-13 Thread Xin LI
Author: delphij Date: Sat Sep 13 16:51:23 2014 New Revision: 271528 URL: http://svnweb.freebsd.org/changeset/base/271528 Log: MFV r271512: Illumos issue: 5136 fix write throttle comment in dsl_pool.c MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Adrian Chadd
Hi, Just for the record: * I'm glad you're tackling the TSO config stuff; * I'm not glad you're trying to pack it into a u_int rather than creating a new structure and adding fields for it. I appreciate that you're trying to rush this in before 10.1, but this is exactly why things shouldn't be r

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

2014-09-13 Thread Xin LI
Author: delphij Date: Sat Sep 13 17:24:56 2014 New Revision: 271532 URL: http://svnweb.freebsd.org/changeset/base/271532 Log: MFV r271515: Add a new tunable/sysctl, vfs.zfs.free_max_blocks, which can be used to limit how many blocks can be free'ed before a new transaction group is creat

svn commit: r271533 - head/cddl/contrib/opensolaris/lib/libzpool/common

2014-09-13 Thread Xin LI
Author: delphij Date: Sat Sep 13 17:30:46 2014 New Revision: 271533 URL: http://svnweb.freebsd.org/changeset/base/271533 Log: MFV r271516: Enable debug printf's when ZFS_DEBUG or debug= is set. Illumos issue: 5134 if ZFS_DEBUG or debug= is set, libzpool should enable debug pri

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

2014-09-13 Thread Xin LI
Author: delphij Date: Sat Sep 13 17:36:34 2014 New Revision: 271534 URL: http://svnweb.freebsd.org/changeset/base/271534 Log: MFV r271517: In zil_claim, don't issue warning if we get EBUSY (inconsistent) when opening an objset, instead, ignore it silently. Illumos issue: 514

svn commit: r271535 - head/sys/conf

2014-09-13 Thread Ian Lepore
Author: ian Date: Sat Sep 13 17:38:26 2014 New Revision: 271535 URL: http://svnweb.freebsd.org/changeset/base/271535 Log: Make inclusion of fdt clock support conditional on fdt_clock, not just fdt. There are plenty of platforms that use fdt without needing the overhead of the new clock suppo

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

2014-09-13 Thread Xin LI
Author: delphij Date: Sat Sep 13 17:48:44 2014 New Revision: 271536 URL: http://svnweb.freebsd.org/changeset/base/271536 Log: MFV r271518: Correctly report hole at end of file. When asked to find a hole, the DMU sees that there are no holes in the object, and returns ESRCH. The ZPL

svn commit: r271538 - head/sys/net

2014-09-13 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Sep 13 18:13:08 2014 New Revision: 271538 URL: http://svnweb.freebsd.org/changeset/base/271538 Log: Switch if_vlan(4) to use counter(9) using new if_get_counter api. Modified: head/sys/net/if_vlan.c Modified: head/sys/net/if_vlan.c =

svn commit: r271539 - in head/usr.sbin/bsdinstall: partedit scripts

2014-09-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Sep 13 18:24:54 2014 New Revision: 271539 URL: http://svnweb.freebsd.org/changeset/base/271539 Log: Add ZFS support to the bsdinstall partition editor and sade. Submitted by: Kurt Lidl (original version) MFC after:6 weeks Modified: head/usr.sbin/bsdinst

svn commit: r271540 - in head/sys: fs/ext2fs ufs/ffs

2014-09-13 Thread Alan Cox
Author: alc Date: Sat Sep 13 18:26:13 2014 New Revision: 271540 URL: http://svnweb.freebsd.org/changeset/base/271540 Log: We don't need an exclusive object lock on the expected execution path through {ext2,ffs}_getpages(). Reviewed by: kib, pfg MFC after:6 weeks Sponsored by: EMC

svn commit: r271543 - in head: share/man/man4 usr.bin/iscsictl usr.sbin/iscsid

2014-09-13 Thread Allan Jude
Author: allanjude (doc committer) Date: Sat Sep 13 18:40:12 2014 New Revision: 271543 URL: http://svnweb.freebsd.org/changeset/base/271543 Log: Add the new iscsi(4) man page Cross reference it from iscsid(8) and iscsictl(8) Reviewed by: trasz Approved by: bcr (mentor), wblock (mentor)

svn commit: r271544 - head/sys/net

2014-09-13 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Sep 13 18:41:24 2014 New Revision: 271544 URL: http://svnweb.freebsd.org/changeset/base/271544 Log: Switch if_vlan(4) to rmlock. MFC after:2 weeks Modified: head/sys/net/if_vlan.c Modified: head/sys/net/if_vlan.c ===

svn commit: r271545 - in head/etc: . rc.d

2014-09-13 Thread Hiroki Sato
Author: hrs Date: Sat Sep 13 18:54:15 2014 New Revision: 271545 URL: http://svnweb.freebsd.org/changeset/base/271545 Log: Do not set net.inet.ip.{sourceroute,accept_sourceroute} in a vnet jail. The following warnings were displayed: sysctl: net.inet.ip.sourceroute=0: Operation not permit

svn commit: r271546 - in head/sys: conf dev/fdt

2014-09-13 Thread Ian Lepore
Author: ian Date: Sat Sep 13 19:03:32 2014 New Revision: 271546 URL: http://svnweb.freebsd.org/changeset/base/271546 Log: Create an interface and support routines for drivers that handle IO pin multiplexing and configuration based on FDT data. Reviewed by: imp Added: head/sys/dev/fdt/

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Hans Petter Selasky
On 09/13/14 18:54, Adrian Chadd wrote: Hi, Just for the record: * I'm glad you're tackling the TSO config stuff; * I'm not glad you're trying to pack it into a u_int rather than creating a new structure and adding fields for it. I appreciate that you're trying to rush this in before 10.1, but

svn commit: r271548 - head/sys/arm/at91

2014-09-13 Thread Ian Lepore
Author: ian Date: Sat Sep 13 19:59:16 2014 New Revision: 271548 URL: http://svnweb.freebsd.org/changeset/base/271548 Log: Convert the at91_pinctrl driver to use the new fdt_pinctrl interface. Modified: head/sys/arm/at91/at91_pinctrl.c head/sys/arm/at91/files.at91 Modified: head/sys/arm/at9

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Rick Macklem
Hans Petter Selasky wrote: > On 09/13/14 18:54, Adrian Chadd wrote: > > Hi, > > > > Just for the record: > > > > * I'm glad you're tackling the TSO config stuff; > > * I'm not glad you're trying to pack it into a u_int rather than > > creating a new structure and adding fields for it. > > > > I app

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Robert Watson
On Sat, 13 Sep 2014, Rick Macklem wrote: Well, there are spare fields (if_ispare[4]) in struct ifnet that I believe can be used for new u_ints when MFC'ng a patch that adds fields to struct ifnet in head. (If I have this wrong, someone please correct me.) In my notes from a few years ago on K

svn commit: r271549 - head/release

2014-09-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Sep 13 20:09:02 2014 New Revision: 271549 URL: http://svnweb.freebsd.org/changeset/base/271549 Log: Create /tmp/bsdinstall_etc even if we aren't starting the installer so that dhclient can write resolv.conf when used from the live environment. PR: 17

svn commit: r271550 - head/sys/arm/freescale/imx

2014-09-13 Thread Ian Lepore
Author: ian Date: Sat Sep 13 20:09:34 2014 New Revision: 271550 URL: http://svnweb.freebsd.org/changeset/base/271550 Log: Replace the imx5 and imx6 iomux drivers with a single common driver that uses the new fdt_pinctrl interface. Added: head/sys/arm/freescale/imx/imx_iomux.c (contents, p

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Hans Petter Selasky
On 09/13/14 22:04, Rick Macklem wrote: Hans Petter Selasky wrote: On 09/13/14 18:54, Adrian Chadd wrote: Hi, Just for the record: * I'm glad you're tackling the TSO config stuff; * I'm not glad you're trying to pack it into a u_int rather than creating a new structure and adding fields for it

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Rick Macklem
Hans Petter Selasky wrote: > On 09/13/14 22:04, Rick Macklem wrote: > > Hans Petter Selasky wrote: > >> On 09/13/14 18:54, Adrian Chadd wrote: > >>> Hi, > >>> > >>> Just for the record: > >>> > >>> * I'm glad you're tackling the TSO config stuff; > >>> * I'm not glad you're trying to pack it into a

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Hans Petter Selasky
On 09/13/14 22:14, Hans Petter Selasky wrote: On 09/13/14 22:04, Rick Macklem wrote: Hans Petter Selasky wrote: On 09/13/14 18:54, Adrian Chadd wrote: Hi, Hi, The ethernet and VLAN headers are still subtracted. --HPS Hi, Adrian @ and I have agreed that we will work out a new patch du

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Hans Petter Selasky
On 09/13/14 22:28, Rick Macklem wrote: Hans Petter Selasky wrote: On 09/13/14 22:04, Rick Macklem wrote: Hans Petter Selasky wrote: On 09/13/14 18:54, Adrian Chadd wrote: Hi, Just for the record: * I'm glad you're tackling the TSO config stuff; * I'm not glad you're trying to pack it into a

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Hans Petter Selasky
On 09/13/14 22:35, Hans Petter Selasky wrote: I see the default set to (65536 - 4). I don't know why you subtracted 4 but I would have expected the max ethernet header length to be subtracted here? You mean to say that the default should be 65535 - ethernet header - vlan header ? --HPS _

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Rick Macklem
Hans Petter Selasky wrote: > On 09/13/14 22:28, Rick Macklem wrote: > > Hans Petter Selasky wrote: > >> On 09/13/14 22:04, Rick Macklem wrote: > >>> Hans Petter Selasky wrote: > On 09/13/14 18:54, Adrian Chadd wrote: > > Hi, > > > > Just for the record: > > > > * I'm glad y

svn commit: r271551 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 13 20:52:01 2014 New Revision: 271551 URL: http://svnweb.freebsd.org/changeset/base/271551 Log: Revert r271504. A new patch to solve this issue will be made. Suggested by: adrian @ Modified: head/sys/dev/oce/oce_if.c head/sys/dev/oce/oce_if.h head/sys/d

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Rick Macklem
Hans Petter Selasky wrote: > On 09/13/14 22:35, Hans Petter Selasky wrote: > > > > I see the default set to (65536 - 4). I don't know why you > > subtracted 4 > > but I would have expected the max ethernet header length to be > > subtracted > > here? > > You mean to say that the default should be

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Hans Petter Selasky
On 09/13/14 22:54, Rick Macklem wrote: Hans Petter Selasky wrote: On 09/13/14 22:35, Hans Petter Selasky wrote: I see the default set to (65536 - 4). I don't know why you subtracted 4 but I would have expected the max ethernet header length to be subtracted here? You mean to say that the def

Re: svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

2014-09-13 Thread Rick Macklem
Hans Petter Selasky wrote: > On 09/13/14 18:54, Adrian Chadd wrote: > > Hi, > > > > Just for the record: > > > > * I'm glad you're tackling the TSO config stuff; > > * I'm not glad you're trying to pack it into a u_int rather than > > creating a new structure and adding fields for it. > > > > I app

svn commit: r271552 - head/usr.sbin/bsdinstall/scripts

2014-09-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Sep 13 22:03:51 2014 New Revision: 271552 URL: http://svnweb.freebsd.org/changeset/base/271552 Log: Make the default choice for the chroot shell at the end be "No". This allows just pressing enter repeatedly to successfully install a reasonable system. Modified:

Re: svn commit: r271552 - head/usr.sbin/bsdinstall/scripts

2014-09-13 Thread Glen Barber
On Sat, Sep 13, 2014 at 10:03:52PM +, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Sat Sep 13 22:03:51 2014 > New Revision: 271552 > URL: http://svnweb.freebsd.org/changeset/base/271552 > > Log: > Make the default choice for the chroot shell at the end be "No". This allows > just p

svn commit: r271553 - head/usr.sbin/bsdinstall/scripts

2014-09-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Sep 13 22:14:19 2014 New Revision: 271553 URL: http://svnweb.freebsd.org/changeset/base/271553 Log: Rename the choices in the partitioning methods dialog to reflect current reality. In particular, draw a connection between the auto ZFS script and the auto UFS one

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

2014-09-13 Thread Allan Jude
Author: allanjude (doc committer) Date: Sat Sep 13 23:50:51 2014 New Revision: 271560 URL: http://svnweb.freebsd.org/changeset/base/271560 Log: Resolve an ambiguity with the definition of a new auth-group Resolve a markup mistake Reviewed by: trasz Approved by: bcr (mentor), wblock (m

svn commit: r271562 - head/sys/mips/cavium

2014-09-13 Thread Alexander Kabaev
Author: kan Date: Sun Sep 14 00:02:40 2014 New Revision: 271562 URL: http://svnweb.freebsd.org/changeset/base/271562 Log: Fix RTC clock writes on many Octeon boards. The struct clocktime uses 0-based week day number, so back out part of r229161 by gonzo, which actually broke the RTC clock

svn commit: r271561 - head/sys/mips/cavium/octe

2014-09-13 Thread Alexander Kabaev
Author: kan Date: Sun Sep 14 00:02:37 2014 New Revision: 271561 URL: http://svnweb.freebsd.org/changeset/base/271561 Log: Add delay to Octeon MDIO access routines. Prevent saturattion of the bus by constant polling which in extreme cases can cause interface lockup. This makes FreeBSD ma

svn commit: r271563 - head/usr.sbin/bsdinstall/scripts

2014-09-13 Thread Allan Jude
Author: allanjude (doc committer) Date: Sun Sep 14 01:57:22 2014 New Revision: 271563 URL: http://svnweb.freebsd.org/changeset/base/271563 Log: Make the root-on-zfs part of the installer warn a user who booted the installer via UEFI that we do not support booting ZFS via UEFI yet PR:

svn commit: r271567 - head/usr.sbin/bsdinstall/scripts

2014-09-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Sep 14 02:31:53 2014 New Revision: 271567 URL: http://svnweb.freebsd.org/changeset/base/271567 Log: ZFS support isn't actually experimental anymore, so no need to scare people. Modified: head/usr.sbin/bsdinstall/scripts/auto Modified: head/usr.sbin/bsdinstall/s