svn commit: r229562 - head/sys/i386/include

2012-01-05 Thread Ed Schouten
Author: ed Date: Thu Jan 5 08:51:06 2012 New Revision: 229562 URL: http://svn.freebsd.org/changeset/base/229562 Log: Also import WEAK_ALIAS() from the MIPS code. Modified: head/sys/i386/include/asm.h Modified: head/sys/i386/include/asm.h =

svn commit: r229563 - in stable/9/cddl/contrib/opensolaris/cmd: zfs zpool

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 08:53:54 2012 New Revision: 229563 URL: http://svn.freebsd.org/changeset/base/229563 Log: MFC r227497, r228020: MFC r227497 [1]: Import upstream changesets for the output of the "zpool" command: 952 separate intent logs should be obvious in 'zpool iostat'

svn commit: r229564 - in stable/8/cddl/contrib/opensolaris/cmd: zfs zpool

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 08:54:15 2012 New Revision: 229564 URL: http://svn.freebsd.org/changeset/base/229564 Log: MFC r227497, r228020: MFC r227497 [1]: Import upstream changesets for the output of the "zpool" command: 952 separate intent logs should be obvious in 'zpool iostat'

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

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 09:37:31 2012 New Revision: 229565 URL: http://svn.freebsd.org/changeset/base/229565 Log: MFC r226676, r226678, r226700, r226705, r226706, r226707: MFC r226676 (pjd): Allow to rename file systems without remounting if it is possible. It is possible for file s

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

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 09:39:29 2012 New Revision: 229566 URL: http://svn.freebsd.org/changeset/base/229566 Log: MFC r226676, r226678, r226700, r226705, r226706, r226707: MFC r226676 (pjd): Allow to rename file systems without remounting if it is possible. It is possible for file s

svn commit: r229567 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 09:50:47 2012 New Revision: 229567 URL: http://svn.freebsd.org/changeset/base/229567 Log: MFC r227110, r227111: MFC r227110 (pjd) [1]: In zvol_open() if the spa_namespace_lock is already held, it means that ZFS is trying to open and taste ZVOL as its VDEV. Th

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

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 10:03:14 2012 New Revision: 229568 URL: http://svn.freebsd.org/changeset/base/229568 Log: MFC r228363, r228392: MFC r228363 (pjd): The vfs.zfs.txg.timeout sysctl can be safely modified at run time. MFC r228392 (pjd) [1]: Move ru_inblock increment into ar

svn commit: r229569 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 10:09:22 2012 New Revision: 229569 URL: http://svn.freebsd.org/changeset/base/229569 Log: MFC r226620, r228392: MFC r226620 (pjd): Update per-thread I/O statistics collection in ZFS. This allows to see processes I/O activity in 'top -m io' output. MFC r2

svn commit: r229570 - in stable/8/cddl/contrib/opensolaris: cmd/zpool lib/libzfs/common

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 10:24:06 2012 New Revision: 229570 URL: http://svn.freebsd.org/changeset/base/229570 Log: MFC r224171 (gibbs): Add the "zpool labelclear" command. This command can be used to wipe the label data from a drive that is not active in a pool. The optional "-f" argu

svn commit: r229571 - in head/lib/libc: i386/string mips/string string

2012-01-05 Thread Ed Schouten
Author: ed Date: Thu Jan 5 10:32:53 2012 New Revision: 229571 URL: http://svn.freebsd.org/changeset/base/229571 Log: Change index() and rindex() to a weak alias. This allows people to still write statically linked applications that call strchr() or strrchr() and have a local variable or

svn commit: r229572 - head/lib/libutil

2012-01-05 Thread Baptiste Daroussin
Author: bapt Date: Thu Jan 5 10:40:24 2012 New Revision: 229572 URL: http://svn.freebsd.org/changeset/base/229572 Log: Add new pw_make_v7 to make a passwd line (in v7 format) out of a struct passwd while here, fix missing parentheses of the return statement of pw_make. Approved by: des

svn commit: r229573 - stable/9/sys/dev/uart

2012-01-05 Thread Konstantin Belousov
Author: kib Date: Thu Jan 5 10:42:19 2012 New Revision: 229573 URL: http://svn.freebsd.org/changeset/base/229573 Log: MFC r228947: Add PCI Id for the Intel AMT serial interface as found on my DQ67OW. Modified: stable/9/sys/dev/uart/uart_bus_pci.c Directory Properties: stable/9/sys/ (pr

svn commit: r229574 - head/sys/sys

2012-01-05 Thread Ed Schouten
Author: ed Date: Thu Jan 5 10:43:03 2012 New Revision: 229574 URL: http://svn.freebsd.org/changeset/base/229574 Log: Add __generic(), to be able to use a very simple _Generic(). Already introducing this allows us to be forward compatible with C11 compilers. By implementing on top of thi

svn commit: r229575 - in head: include share/man/man3

2012-01-05 Thread Ed Schouten
Author: ed Date: Thu Jan 5 10:46:22 2012 New Revision: 229575 URL: http://svn.freebsd.org/changeset/base/229575 Log: Reimplement on top of __generic(). The macro construction used now, is almost identical to the code provided in C11 proposal N1404. This new version doesn't seem to int

svn commit: r229576 - in stable/9/cddl/contrib/opensolaris/cmd: zdb zfs zpool zstreamdump

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 10:55:17 2012 New Revision: 229576 URL: http://svn.freebsd.org/changeset/base/229576 Log: MFC zfs manpage update (r227646, r227648, r227649, r227752, r228019, r228045, r228054, r228055) MFC r227646 (partial): Update and desolarization of zfs(8) and zpool(8) m

svn commit: r229577 - in stable/8/cddl/contrib/opensolaris/cmd: zdb zfs zpool zstreamdump

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 10:55:55 2012 New Revision: 229577 URL: http://svn.freebsd.org/changeset/base/229577 Log: MFC zfs manpage update (r227646, r227648, r227649, r227752, r228019, r228045, r228054, r228055) MFC r227646 (partial): Update and desolarization of zfs(8) and zpool(8) m

svn commit: r229578 - in stable/9: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common cddl/lib/libzfs ...

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 11:06:05 2012 New Revision: 229578 URL: http://svn.freebsd.org/changeset/base/229578 Log: MFC r228103, r228104: MFC r228103: Merge new ZFS features from illumos: 1644 add ZFS "clones" property https://www.illumos.org/issues/1644 1645 add ZFS "writte

svn commit: r229579 - in stable/8: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common cddl/lib/libzfs ...

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 11:07:07 2012 New Revision: 229579 URL: http://svn.freebsd.org/changeset/base/229579 Log: MFC r228103, r228104: MFC r228103: Merge new ZFS features from illumos: 1644 add ZFS "clones" property https://www.illumos.org/issues/1644 1645 add ZFS "writte

svn commit: r229580 - stable/9/sys/netgraph

2012-01-05 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 5 11:11:33 2012 New Revision: 229580 URL: http://svn.freebsd.org/changeset/base/229580 Log: Merge r229003: style(9), whitespace and spelling nits. Modified: stable/9/sys/netgraph/ng_base.c Directory Properties: stable/9/sys/ (props changed) Modified: st

svn commit: r229581 - in stable/9/cddl/contrib/opensolaris/cmd: zfs zpool

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 11:11:46 2012 New Revision: 229581 URL: http://svn.freebsd.org/changeset/base/229581 Log: MFC r228206, r228353: MFC r228206: Remove unnecesary "Ns" macros and add missing command example to zpool(8). MFC r228353: Some mdoc(7) style and typo fixes to zfs(

svn commit: r229582 - in stable/8/cddl/contrib/opensolaris/cmd: zfs zpool

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 11:12:02 2012 New Revision: 229582 URL: http://svn.freebsd.org/changeset/base/229582 Log: MFC r228206, r228353: MFC r228206: Remove unnecesary "Ns" macros and add missing command example to zpool(8). MFC r228353: Some mdoc(7) style and typo fixes to zfs(

svn commit: r229583 - stable/9/sbin/dhclient

2012-01-05 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 5 11:14:28 2012 New Revision: 229583 URL: http://svn.freebsd.org/changeset/base/229583 Log: Merge r228463, that explicily uses 255.0.0.0 mask for the temporary prefix. This change isn't actually needed in the stable/9, but let it be here, in case if anyone trie

svn commit: r229584 - stable/8/sys/dev/uart

2012-01-05 Thread Konstantin Belousov
Author: kib Date: Thu Jan 5 11:14:54 2012 New Revision: 229584 URL: http://svn.freebsd.org/changeset/base/229584 Log: MFC r200257 (by mav): Add ID for NetMos NM9820 Serial Port chip, found on CardBus serial adapter. MFC r228947: Add PCI Id for the Intel AMT serial interface as found on

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

2012-01-05 Thread Christian Brueffer
Author: brueffer Date: Thu Jan 5 11:16:42 2012 New Revision: 229585 URL: http://svn.freebsd.org/changeset/base/229585 Log: Fix typo. MFC after:1 week Modified: head/share/man/man4/bce.4 Modified: head/share/man/man4/bce.4

svn commit: r229586 - head/sys/net

2012-01-05 Thread Robert Watson
Author: rwatson Date: Thu Jan 5 11:24:22 2012 New Revision: 229586 URL: http://svn.freebsd.org/changeset/base/229586 Log: Add comment to the VLAN code about its integration with VIMAGE: we see what the code is doing, we recognise the legitimacy of its goal, but we're not quite sure it's goi

svn commit: r229587 - head/sys/net

2012-01-05 Thread Robert Watson
Author: rwatson Date: Thu Jan 5 11:42:34 2012 New Revision: 229587 URL: http://svn.freebsd.org/changeset/base/229587 Log: Refine last comment. Submitted by: joeld Sponsored by: ADARA Networks, Inc. MFC after:3 days Modified: head/sys/net/if_vlan.c Modified: head/sys/net/if_vlan

svn commit: r229588 - in stable/9: lib/libarchive lib/libarchive/test usr.bin/cpio usr.bin/tar

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 11:44:55 2012 New Revision: 229588 URL: http://svn.freebsd.org/changeset/base/229588 Log: MFC r228744, r228745, r228748: MFC r228744 [1]: Merge vendor revision 3723: Fixes extraction of Zip entries that use length-at-end without specifying either the compre

svn commit: r229589 - in stable/8: lib/libarchive lib/libarchive/test usr.bin/cpio usr.bin/tar

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 11:45:22 2012 New Revision: 229589 URL: http://svn.freebsd.org/changeset/base/229589 Log: MFC r228744, r228745, r228748: MFC r228744 [1]: Merge vendor revision 3723: Fixes extraction of Zip entries that use length-at-end without specifying either the compre

svn commit: r229590 - head/include

2012-01-05 Thread Ed Schouten
Author: ed Date: Thu Jan 5 12:05:48 2012 New Revision: 229590 URL: http://svn.freebsd.org/changeset/base/229590 Log: Make _Complex_I a proper float _Complex when using GCC 4.2. It turns out our GCC has quite an interesting bug: typeof(1.0fi) != float _Complex typeof((flo

svn commit: r229591 - head/include

2012-01-05 Thread Ed Schouten
Author: ed Date: Thu Jan 5 12:06:49 2012 New Revision: 229591 URL: http://svn.freebsd.org/changeset/base/229591 Log: Remove _Complex_I workaround from . This removes the use of __typeof() from this header, thus making it work with a plain C11 compiler. Modified: head/include/tgmath.h

svn commit: r229594 - head/include

2012-01-05 Thread Ed Schouten
Author: ed Date: Thu Jan 5 12:09:39 2012 New Revision: 229594 URL: http://svn.freebsd.org/changeset/base/229594 Log: Remove redundant inclusion of . Mea culpa. Modified: head/include/complex.h Modified: head/include/complex.h

svn commit: r229595 - in stable/9: lib/libarchive lib/libarchive/libarchive_fe lib/libarchive/test usr.bin/cpio usr.bin/cpio/test usr.bin/tar usr.bin/tar/test

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 12:52:05 2012 New Revision: 229595 URL: http://svn.freebsd.org/changeset/base/229595 Log: MFC r228797: Use contrib sources for building libarchive, tar and cpio. Make "make test" fully operational. Deleted: stable/9/lib/libarchive/COPYING stable/9/lib/libarch

svn commit: r229596 - in stable/8: lib/libarchive lib/libarchive/libarchive_fe lib/libarchive/test usr.bin/cpio usr.bin/cpio/test usr.bin/tar usr.bin/tar/test

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 12:57:14 2012 New Revision: 229596 URL: http://svn.freebsd.org/changeset/base/229596 Log: MFC r228797: Use contrib sources for building libarchive, tar and cpio. Make "make test" fully operational. Deleted: stable/8/lib/libarchive/COPYING stable/8/lib/libarch

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

2012-01-05 Thread Sergey Kandaurov
Author: pluknet Date: Thu Jan 5 14:51:43 2012 New Revision: 229597 URL: http://svn.freebsd.org/changeset/base/229597 Log: MFC r228970: Fix manual section for acl_get(3) and mac_get(3) family functions. Modified: stable/9/lib/libc/sys/cap_new.2 Directory Properties: stable/9/lib/libc/

svn commit: r229598 - head/sys/dev/ichwd

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 16:27:32 2012 New Revision: 229598 URL: http://svn.freebsd.org/changeset/base/229598 Log: Remove use of explicit bus space tags and handles and use methods that operate on resource objects instead. MFC after:1 week Modified: head/sys/dev/ichwd/ichwd.c

svn commit: r229599 - stable/9/sys/fs/nfsclient

2012-01-05 Thread Rick Macklem
Author: rmacklem Date: Thu Jan 5 16:43:54 2012 New Revision: 229599 URL: http://svn.freebsd.org/changeset/base/229599 Log: MFC: r227744 Since the nfscl_cleanup() function isn't used by the FreeBSD NFSv4 client, delete the code and fix up the related comments. This should not have any func

svn commit: r229600 - head/sys/fs/nullfs

2012-01-05 Thread Dimitry Andric
Author: dim Date: Thu Jan 5 17:06:04 2012 New Revision: 229600 URL: http://svn.freebsd.org/changeset/base/229600 Log: In sys/fs/nullfs/null_subr.c, in a KASSERT, output the correct vnode pointer 'lowervp' instead of 'vp', which is uninitialized at that point. Reviewed by: kib MFC afte

svn commit: r229601 - in stable/9/sys/dev: ce cp

2012-01-05 Thread Dimitry Andric
Author: dim Date: Thu Jan 5 17:12:20 2012 New Revision: 229601 URL: http://svn.freebsd.org/changeset/base/229601 Log: MFC r228963: Fix clang warnings in sys/dev/ce/if_ce.c and sys/dev/cp/if_cp.c, using jkim's last patch (reviewed by bde) from here: http://docs.freebsd.org/cgi/mid.cg

svn commit: r229602 - in stable/9/sys: conf modules/ce

2012-01-05 Thread Dimitry Andric
Author: dim Date: Thu Jan 5 17:14:13 2012 New Revision: 229602 URL: http://svn.freebsd.org/changeset/base/229602 Log: MFC r228971: For sys/dev/ce/tau32-ddk.c, disable the following warning when building with clang: sys/dev/ce/tau32-ddk.c:1228:37: warning: implicit truncation from 'i

svn commit: r229603 - stable/8/sys/fs/nfsclient

2012-01-05 Thread Rick Macklem
Author: rmacklem Date: Thu Jan 5 17:20:03 2012 New Revision: 229603 URL: http://svn.freebsd.org/changeset/base/229603 Log: MFC: r227744 Since the nfscl_cleanup() function isn't used by the FreeBSD NFSv4 client, delete the code and fix up the related comments. This should not have any func

svn commit: r229604 - in stable/9: sbin/mount_nfs sys/fs/nfsclient sys/nfsclient

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 17:22:32 2012 New Revision: 229604 URL: http://svn.freebsd.org/changeset/base/229604 Log: MFC 227507: Finish making 'wcommitsize' an NFS client mount option. Modified: stable/9/sbin/mount_nfs/mount_nfs.8 stable/9/sbin/mount_nfs/mount_nfs.c stable/9/sys/fs/nfsc

svn commit: r229605 - head/sys/ia64/conf

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Thu Jan 5 17:28:05 2012 New Revision: 229605 URL: http://svn.freebsd.org/changeset/base/229605 Log: Flip on IEEE80211_SUPPORT_MESH and AH_SUPPORT_AR5416, the wlan and ath modules respectively assume this is set. Pointy hat to:adrian Modified: head/sys/ia64

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

2012-01-05 Thread Robert Watson
Author: rwatson Date: Thu Jan 5 17:30:15 2012 New Revision: 229606 URL: http://svn.freebsd.org/changeset/base/229606 Log: When extracting the VLAN tag from if_em and if_lem receive descriptor rings, copy the whole VLAN tag, not just the VLAN ID. This fixes a problem in which VLAN priority

svn commit: r229607 - stable/9/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 18:21:17 2012 New Revision: 229607 URL: http://svn.freebsd.org/changeset/base/229607 Log: MFC r228084: Reuse flag variable to represent driver internal states rather than using member variables in softc. While I'm here change media after setting IFF_D

svn commit: r229608 - stable/8/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 18:22:48 2012 New Revision: 229608 URL: http://svn.freebsd.org/changeset/base/229608 Log: MFC r228084: Reuse flag variable to represent driver internal states rather than using member variables in softc. While I'm here change media after setting IFF_D

svn commit: r229609 - stable/7/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 18:24:02 2012 New Revision: 229609 URL: http://svn.freebsd.org/changeset/base/229609 Log: MFC r228084: Reuse flag variable to represent driver internal states rather than using member variables in softc. While I'm here change media after setting IFF_D

svn commit: r229610 - in stable/8: sbin/mount_nfs sys/fs/nfsclient sys/nfsclient

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:26:44 2012 New Revision: 229610 URL: http://svn.freebsd.org/changeset/base/229610 Log: MFC 227507: Finish making 'wcommitsize' an NFS client mount option. Modified: stable/8/sbin/mount_nfs/mount_nfs.8 stable/8/sbin/mount_nfs/mount_nfs.c stable/8/sys/fs/nfsc

svn commit: r229611 - stable/9/sys/dev/mfi

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:30:48 2012 New Revision: 229611 URL: http://svn.freebsd.org/changeset/base/229611 Log: MFC 227562: Add single-message MSI support to mfi(4). It is disabled by default but can be enabled via the hw.mfi.msi tunable. Many mfi(4) controllers also support MSI-X

svn commit: r229612 - stable/8/sys/dev/mfi

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:31:08 2012 New Revision: 229612 URL: http://svn.freebsd.org/changeset/base/229612 Log: MFC 227562: Add single-message MSI support to mfi(4). It is disabled by default but can be enabled via the hw.mfi.msi tunable. Many mfi(4) controllers also support MSI-X

svn commit: r229613 - in head/sys/dev: bxe qlxgb sfxge

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:32:37 2012 New Revision: 229613 URL: http://svn.freebsd.org/changeset/base/229613 Log: Update recently added drivers to use the if_*addr_r*lock() wrapper functions instead of using the IF_ADDR_LOCK directly. The wrapper functions are the supported interface f

svn commit: r229614 - head/sys/net

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:35:49 2012 New Revision: 229614 URL: http://svn.freebsd.org/changeset/base/229614 Log: Add new variants of the IF_ADDR_*LOCK*() macros used for protecting interface address lists that distinguish read locks from write locks. To preserve the KPI, the previous o

svn commit: r229615 - stable/9/sbin/sysctl

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:38:13 2012 New Revision: 229615 URL: http://svn.freebsd.org/changeset/base/229615 Log: MFC 228181: If the -d flag is specified, ignore any new values specified and only display the descriptions of specified nodes. Modified: stable/9/sbin/sysctl/sysctl.c Dir

svn commit: r229616 - stable/8/sbin/sysctl

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:38:23 2012 New Revision: 229616 URL: http://svn.freebsd.org/changeset/base/229616 Log: MFC 228181: If the -d flag is specified, ignore any new values specified and only display the descriptions of specified nodes. Modified: stable/8/sbin/sysctl/sysctl.c Dir

svn commit: r229617 - in stable/9/sys: fs/nfsserver nfsserver

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:50:12 2012 New Revision: 229617 URL: http://svn.freebsd.org/changeset/base/229617 Log: MFC 228185: Enhance the sequential access heuristic used to perform readahead in the NFS server and reuse it for writes as well to allow writes to the backing store to be

svn commit: r229618 - in stable/8/sys: fs/nfsserver nfsserver

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:50:37 2012 New Revision: 229618 URL: http://svn.freebsd.org/changeset/base/229618 Log: MFC 228185: Enhance the sequential access heuristic used to perform readahead in the NFS server and reuse it for writes as well to allow writes to the backing store to be

svn commit: r229619 - stable/9/sys/kern

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:55:59 2012 New Revision: 229619 URL: http://svn.freebsd.org/changeset/base/229619 Log: MFC 228207: When changing the user priority of a thread, change the real priority in addition to the user priority for threads whose current real priority is equal to the

svn commit: r229620 - stable/8/sys/kern

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:56:23 2012 New Revision: 229620 URL: http://svn.freebsd.org/changeset/base/229620 Log: MFC 228207: When changing the user priority of a thread, change the real priority in addition to the user priority for threads whose current real priority is equal to the

svn commit: r229621 - in head/sys: kern net netatalk netinet netinet6 netipx

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:00:36 2012 New Revision: 229621 URL: http://svn.freebsd.org/changeset/base/229621 Log: Convert all users of IF_ADDR_LOCK to use new locking macros that specify either a read lock or write lock. Reviewed by: bz MFC after:2 weeks Modified: head/sys/

svn commit: r229622 - head/sys/kern

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:02:52 2012 New Revision: 229622 URL: http://svn.freebsd.org/changeset/base/229622 Log: Fix a logic bug in change 228207 in the check for a thread's new user priority being a realtime priority. MFC after:3 days Modified: head/sys/kern/kern_resource.c

svn commit: r229623 - stable/9/usr.sbin/mfiutil

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:14:02 2012 New Revision: 229623 URL: http://svn.freebsd.org/changeset/base/229623 Log: MFC 228278: Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIP arguments. Modified: stable/9/usr.sbin/mfiutil/mfi_evt.c Directory Properties: stab

svn commit: r229624 - stable/8/usr.sbin/mfiutil

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:14:11 2012 New Revision: 229624 URL: http://svn.freebsd.org/changeset/base/229624 Log: MFC 228278: Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIP arguments. Modified: stable/8/usr.sbin/mfiutil/mfi_evt.c Directory Properties: stab

svn commit: r229625 - stable/9/sys/dev/pci

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:18:20 2012 New Revision: 229625 URL: http://svn.freebsd.org/changeset/base/229625 Log: MFC 228496: Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls bus_generic_probe() and bus_generic_attach() to handle drivers that add new children via id

svn commit: r229626 - stable/8/sys/dev/pci

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:18:41 2012 New Revision: 229626 URL: http://svn.freebsd.org/changeset/base/229626 Log: MFC 228496: Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls bus_generic_probe() and bus_generic_attach() to handle drivers that add new children via id

svn commit: r229627 - stable/9/sys/fs/devfs

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:36:23 2012 New Revision: 229627 URL: http://svn.freebsd.org/changeset/base/229627 Log: MFC 228361: Explicitly use curthread while manipulating td_fpop during last close of a devfs file descriptor in devfs_close_f(). The passed in td argument may be NULL if

svn commit: r229628 - stable/8/sys/fs/devfs

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:36:38 2012 New Revision: 229628 URL: http://svn.freebsd.org/changeset/base/229628 Log: MFC 228361: Explicitly use curthread while manipulating td_fpop during last close of a devfs file descriptor in devfs_close_f(). The passed in td argument may be NULL if

svn commit: r229633 - stable/9/sys/net

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:50:12 2012 New Revision: 229633 URL: http://svn.freebsd.org/changeset/base/229633 Log: MFC 228089: Change the if_vlan driver to use if_transmit for forwarding packets to the parent interface. This avoids the overhead of queueing a packet to an IFQ only to i

svn commit: r229634 - stable/8/sys/net

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:50:47 2012 New Revision: 229634 URL: http://svn.freebsd.org/changeset/base/229634 Log: MFC 228089: Change the if_vlan driver to use if_transmit for forwarding packets to the parent interface. This avoids the overhead of queueing a packet to an IFQ only to i

svn commit: r229635 - stable/9/sys/kern

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:53:01 2012 New Revision: 229635 URL: http://svn.freebsd.org/changeset/base/229635 Log: MFC 228593: Fire a kevent if necessary after seeking on a regular file. This fixes a case where a kevent would not fire on a regular file if an application read to EOF an

svn commit: r229636 - stable/8/sys/kern

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:53:17 2012 New Revision: 229636 URL: http://svn.freebsd.org/changeset/base/229636 Log: MFC 228593: Fire a kevent if necessary after seeking on a regular file. This fixes a case where a kevent would not fire on a regular file if an application read to EOF an

svn commit: r229637 - stable/9/sys/netinet6

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:56:30 2012 New Revision: 229637 URL: http://svn.freebsd.org/changeset/base/229637 Log: MFC 228866: Fix a bug where TAILQ_FIRST(&V_ifnet) was accessed without holding the proper lock. Modified: stable/9/sys/netinet6/icmp6.c Directory Properties: stable/9/s

svn commit: r229638 - stable/8/sys/netinet6

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:56:54 2012 New Revision: 229638 URL: http://svn.freebsd.org/changeset/base/229638 Log: MFC 228866: Fix a bug where TAILQ_FIRST(&V_ifnet) was accessed without holding the proper lock. Modified: stable/8/sys/netinet6/icmp6.c Directory Properties: stable/8/s

svn commit: r229639 - head/sys/arm/conf

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Thu Jan 5 20:18:01 2012 New Revision: 229639 URL: http://svn.freebsd.org/changeset/base/229639 Log: Add missing options so modules build/load correctly. Modified: head/sys/arm/conf/KB920X Modified: head/sys/arm/conf/KB920X ===

svn commit: r229640 - head/sys/powerpc/conf

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Thu Jan 5 20:19:33 2012 New Revision: 229640 URL: http://svn.freebsd.org/changeset/base/229640 Log: Fix build. Modified: head/sys/powerpc/conf/GENERIC Modified: head/sys/powerpc/conf/GENERIC ==

svn commit: r229641 - stable/9/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:30:16 2012 New Revision: 229641 URL: http://svn.freebsd.org/changeset/base/229641 Log: MFC r228086: Announce flow control capability to PHY drivers and enable flow control for all vr(4) controllers that support it. It's known that old vr(4) contro

svn commit: r229642 - stable/8/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:31:58 2012 New Revision: 229642 URL: http://svn.freebsd.org/changeset/base/229642 Log: MFC r228086: Announce flow control capability to PHY drivers and enable flow control for all vr(4) controllers that support it. It's known that old vr(4) contro

svn commit: r229643 - stable/7/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:33:20 2012 New Revision: 229643 URL: http://svn.freebsd.org/changeset/base/229643 Log: MFC r228086: Announce flow control capability to PHY drivers and enable flow control for all vr(4) controllers that support it. It's known that old vr(4) contro

svn commit: r229644 - stable/9/share/man/man4

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:37:13 2012 New Revision: 229644 URL: http://svn.freebsd.org/changeset/base/229644 Log: MFC r228205: Add more controllers that support jumbo frame. Modified: stable/9/share/man/man4/bge.4 Directory Properties: stable/9/share/man/man4/ (props changed)

svn commit: r229645 - stable/8/share/man/man4

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:37:28 2012 New Revision: 229645 URL: http://svn.freebsd.org/changeset/base/229645 Log: MFC r228205: Add more controllers that support jumbo frame. Modified: stable/8/share/man/man4/bge.4 Directory Properties: stable/8/share/man/man4/ (props changed)

svn commit: r229646 - stable/7/share/man/man4

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:37:42 2012 New Revision: 229646 URL: http://svn.freebsd.org/changeset/base/229646 Log: MFC r228205: Add more controllers that support jumbo frame. Modified: stable/7/share/man/man4/bge.4 Directory Properties: stable/7/share/man/man4/ (props changed)

svn commit: r229647 - in stable/8/cddl/contrib/opensolaris: cmd/zpool lib/libzfs/common

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 20:41:40 2012 New Revision: 229647 URL: http://svn.freebsd.org/changeset/base/229647 Log: MFC 224169 (gibbs): cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c: o Add zpool_pool_state_to_name() A

svn commit: r229648 - stable/9/sys/dev/ed

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:49:48 2012 New Revision: 229648 URL: http://svn.freebsd.org/changeset/base/229648 Log: MFC r228286: Fix off by one error in mbuf access. Previously it caused panic. While I'm here use NULL to compare mbuf pointer and add additional check for zero

svn commit: r229649 - stable/8/sys/dev/ed

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 21:17:06 2012 New Revision: 229649 URL: http://svn.freebsd.org/changeset/base/229649 Log: MFC r228286: Fix off by one error in mbuf access. Previously it caused panic. While I'm here use NULL to compare mbuf pointer and add additional check for zero

svn commit: r229650 - stable/7/sys/dev/ed

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 21:18:34 2012 New Revision: 229650 URL: http://svn.freebsd.org/changeset/base/229650 Log: MFC r228286: Fix off by one error in mbuf access. Previously it caused panic. While I'm here use NULL to compare mbuf pointer and add additional check for zero

svn commit: r229651 - in head: contrib/groff/tmac lib/libstdthreads share/man/man3

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:12 2012 New Revision: 229651 URL: http://svn.freebsd.org/changeset/base/229651 Log: Pull up vendor changes to mdoc(7) This switches us to using -isoC-2011 as the symbol name which is used by groff and mdocml. It follows the change to 4 digit years as don

svn commit: r229652 - head/sbin/recoverdisk

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:20 2012 New Revision: 229652 URL: http://svn.freebsd.org/changeset/base/229652 Log: Document the detrimental effect of kern.cam.XX.retry_count for recoverdisk(1) recoverdisk(1) wants to know about read errors when doing the 1MB/64k reads as fast as possi

svn commit: r229653 - head/usr.sbin/bsnmpd/modules/snmp_wlan

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:28 2012 New Revision: 229653 URL: http://svn.freebsd.org/changeset/base/229653 Log: Partial backout of r228990, restore original MIB object name. It's too late to change this in 9.0 -- so we have a release with the misspelling in the wild and should not

svn commit: r229654 - head/usr.sbin/newsyslog

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:36 2012 New Revision: 229654 URL: http://svn.freebsd.org/changeset/base/229654 Log: Further fix a typo and spelling classic correctly in function names, too. Submitted by: Ben Kaduk Modified: head/usr.sbin/newsyslog/newsyslog.c Modified: head/usr.sb

svn commit: r229655 - in head: usr.bin/locate/locate usr.bin/mail usr.sbin/bluetooth/sdpd usr.sbin/pkg_install/lib

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:45 2012 New Revision: 229655 URL: http://svn.freebsd.org/changeset/base/229655 Log: Touch up some more small typos missed in the previous round. Reported by: Ben Kaduk et al. Modified: head/usr.bin/locate/locate/util.c head/usr.bin/mail/main.c hea

svn commit: r229656 - head/tools/regression/msdosfs

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:53 2012 New Revision: 229656 URL: http://svn.freebsd.org/changeset/base/229656 Log: Convert files over to UTF-8. These files contained various combinations of Big5, eucJP and KOI8-U encoded strings. The byte representations of their respective encodings

svn commit: r229657 - in head/share/man: man4 man5

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:43:33 2012 New Revision: 229657 URL: http://svn.freebsd.org/changeset/base/229657 Log: Apply Typo-B-Gone 2000 [TM] Modified: head/share/man/man4/apic.4 head/share/man/man4/carp.4 head/share/man/man5/ar.5 Modified: head/share/man/man4/apic.4 ===

svn commit: r229658 - head/share/mk

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Thu Jan 5 21:49:43 2012 New Revision: 229658 URL: http://svn.freebsd.org/changeset/base/229658 Log: Allow crunchgen binary link generation to be disabled. If CRUNCH_GENERATE_LINKS is set to "no", then no links will be generated. This defaults to "yes" so things

svn commit: r229659 - head

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Thu Jan 5 21:50:50 2012 New Revision: 229659 URL: http://svn.freebsd.org/changeset/base/229659 Log: Allow extra directories to be added to the build-tools target. Things such as "sh" require local tools to be built before cross-compiling. This allows for extra softwa

svn commit: r229660 - head/sys/powerpc/conf

2012-01-05 Thread Andreas Tobler
Author: andreast Date: Thu Jan 5 22:06:01 2012 New Revision: 229660 URL: http://svn.freebsd.org/changeset/base/229660 Log: Fix build on powerpc64 too. The same as r229640. Modified: head/sys/powerpc/conf/GENERIC64 Modified: head/sys/powerpc/conf/GENERIC64 ===

svn commit: r229661 - stable/9/sys/dev/mfi

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 22:14:18 2012 New Revision: 229661 URL: http://svn.freebsd.org/changeset/base/229661 Log: MFC 227577: The sys/sysctl.h header is needed when MFI_DEBUG is defined. Modified: stable/9/sys/dev/mfi/mfi_debug.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r229662 - stable/8/sys/dev/mfi

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 22:14:49 2012 New Revision: 229662 URL: http://svn.freebsd.org/changeset/base/229662 Log: MFC 227577: The sys/sysctl.h header is needed when MFI_DEBUG is defined. Modified: stable/8/sys/dev/mfi/mfi_debug.c Directory Properties: stable/8/sys/ (props changed)

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

2012-01-05 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jan 5 22:16:41 2012 New Revision: 229663 URL: http://svn.freebsd.org/changeset/base/229663 Log: - Allow to change vfs.zfs.arc_meta_limit at runtime. - Change vfs.zfs.arc_meta_used from CTLFLAG_RDTUN to CTLFLAG_RD, as it is not a tunable. MFC after:3 days Mo

svn commit: r229664 - in stable/8/cddl/contrib/opensolaris: cmd/zdb cmd/zpool cmd/ztest head lib/libzfs/common lib/libzpool/common

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 22:28:40 2012 New Revision: 229664 URL: http://svn.freebsd.org/changeset/base/229664 Log: MFC ZFS userland to reduce diff with stable/9: r224170, r224526, r226583, r226613, r226615, r226616 MFC r224170 (gibbs): Correct reporting of missing leaf vdevs so that

svn commit: r229665 - head/sys/netinet

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 22:29:11 2012 New Revision: 229665 URL: http://svn.freebsd.org/changeset/base/229665 Log: Remove the assertion from tcp_input() that rcv_nxt is always greater than or equal to rcv_adv and fix tcp_twstart() to handle this case by assuming the last window was zero

svn commit: r229666 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 22:31:25 2012 New Revision: 229666 URL: http://svn.freebsd.org/changeset/base/229666 Log: MFC r226617 (pjd): zfs vdev_file_io_start: validate vdev before using vdev_tsd vdev_tsd can be NULL for certain vdev states. At least in userland testing with ztest.

svn commit: r229667 - head/usr.sbin/daemon

2012-01-05 Thread Guy Helmer
Author: ghelmer Date: Thu Jan 5 22:48:36 2012 New Revision: 229667 URL: http://svn.freebsd.org/changeset/base/229667 Log: Allow daemon(8) to run pidfile_open() before relenquishing privileges so pid files can be written in /var/run when started as root. I do not expect this to cause any

  1   2   >