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

2010-05-16 Thread Martin Matuska
Author: mm Date: Sun May 16 07:16:28 2010 New Revision: 208130 URL: http://svn.freebsd.org/changeset/base/208130 Log: Fix perfomance problem with ZFS prefetch caching [1] Add statistics for ZFS prefetch (sysctl kstat.zfs.misc.zfetchstats) Partial import of OpenSolaris onnv revision 10474:

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

2010-05-16 Thread Martin Matuska
Author: mm Date: Sun May 16 07:46:03 2010 New Revision: 208131 URL: http://svn.freebsd.org/changeset/base/208131 Log: Fix deadlock between zfs_dirent_lock and zfs_rmdir OpenSolaris onnv revision:11321:506b7043a14c Approved by: pjd, delphij (mentor) Obtained from:OpenSola

svn commit: r208132 - head/sbin/bsdlabel

2010-05-16 Thread Kevin Lo
Author: kevlo Date: Sun May 16 08:03:24 2010 New Revision: 208132 URL: http://svn.freebsd.org/changeset/base/208132 Log: Use setresuid/setresgid to drop privileges Modified: head/sbin/bsdlabel/bsdlabel.c Modified: head/sbin/bsdlabel/bsdlabel.c

svn commit: r208133 - stable/7/bin/sh

2010-05-16 Thread Stefan Farfeleder
Author: stefanf Date: Sun May 16 09:59:28 2010 New Revision: 208133 URL: http://svn.freebsd.org/changeset/base/208133 Log: Merge r199631: Handle current work directories of arbitrary length. Modified: stable/7/bin/sh/cd.c Directory Properties: stable/7/bin/sh/ (props changed) Modified: s

svn commit: r208134 - stable/8/bin/sh

2010-05-16 Thread Stefan Farfeleder
Author: stefanf Date: Sun May 16 10:01:06 2010 New Revision: 208134 URL: http://svn.freebsd.org/changeset/base/208134 Log: Merge r199631: Handle current work directories of arbitrary length. Modified: stable/8/bin/sh/cd.c Directory Properties: stable/8/bin/sh/ (props changed) Modified: s

svn commit: r208135 - stable/7/bin/sh

2010-05-16 Thread Stefan Farfeleder
Author: stefanf Date: Sun May 16 10:20:54 2010 New Revision: 208135 URL: http://svn.freebsd.org/changeset/base/208135 Log: Merge r190698: Don't let trailing empty lines overwrite the result of the last command with 0. Modified: stable/7/bin/sh/eval.c Directory Properties: stable/7/bin/sh/

svn commit: r208136 - stable/7/bin/sh

2010-05-16 Thread Stefan Farfeleder
Author: stefanf Date: Sun May 16 10:23:33 2010 New Revision: 208136 URL: http://svn.freebsd.org/changeset/base/208136 Log: Merge r193169: Fix the eval command in combination with set -e. Modified: stable/7/bin/sh/eval.c stable/7/bin/sh/eval.h stable/7/bin/sh/histedit.c stable/7/bin/sh/m

svn commit: r208137 - svnadmin/tools

2010-05-16 Thread Simon L. Nielsen
Author: simon Date: Sun May 16 10:51:45 2010 New Revision: 208137 URL: http://svn.freebsd.org/changeset/base/208137 Log: Checkpoint svn2cvs script: - Add latest hacks needed for things CVS doesn't understand but SVN does. They are disabled but kepts here in case we want to know lat

svn commit: r208138 - stable/8/share/man/man3

2010-05-16 Thread Jilles Tjoelker
Author: jilles Date: Sun May 16 11:03:46 2010 New Revision: 208138 URL: http://svn.freebsd.org/changeset/base/208138 Log: MFC r207816: Document clock and pshared condvar attributes. Note: clock accepts CLOCK_VIRTUAL and CLOCK_PROF too, but this seems broken as it simply waits for the diff

svn commit: r208139 - stable/8/share/man/man1

2010-05-16 Thread Jilles Tjoelker
Author: jilles Date: Sun May 16 11:06:32 2010 New Revision: 208139 URL: http://svn.freebsd.org/changeset/base/208139 Log: MFC r207817: builtin(1): sh has no @ builtin command. Modified: stable/8/share/man/man1/builtin.1 Directory Properties: stable/8/share/man/man1/ (props changed) Modif

svn commit: r208140 - stable/7/share/man/man3

2010-05-16 Thread Jilles Tjoelker
Author: jilles Date: Sun May 16 11:14:11 2010 New Revision: 208140 URL: http://svn.freebsd.org/changeset/base/208140 Log: MFC r207816: Document clock and pshared condvar attributes. Note: clock accepts CLOCK_VIRTUAL and CLOCK_PROF too, but this seems broken as it simply waits for the diff

svn commit: r208141 - stable/7/share/man/man1

2010-05-16 Thread Jilles Tjoelker
Author: jilles Date: Sun May 16 11:17:21 2010 New Revision: 208141 URL: http://svn.freebsd.org/changeset/base/208141 Log: MFC r207817: builtin(1): sh has no @ builtin command. Modified: stable/7/share/man/man1/builtin.1 Directory Properties: stable/7/share/man/man1/ (props changed) Modif

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

2010-05-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 16 11:56:42 2010 New Revision: 208142 URL: http://svn.freebsd.org/changeset/base/208142 Log: The whole point of having dedicated worker thread for each leaf VDEV was to avoid calling zio_interrupt() from geom_up thread context. It turns out that when provider is for

svn commit: r208143 - head/sys/modules/cas

2010-05-16 Thread Marius Strobl
Author: marius Date: Sun May 16 12:39:17 2010 New Revision: 208143 URL: http://svn.freebsd.org/changeset/base/208143 Log: Add the ofw_bus_if.h dependency introduced with r207585. Modified: head/sys/modules/cas/Makefile Modified: head/sys/modules/cas/Makefile =

Re: svn commit: r208075 - in head/usr.sbin/apmd: . contrib

2010-05-16 Thread Bruce Evans
On Fri, 14 May 2010, Ulrich Spoerlein wrote: Log: Sync apmd(8) with DragonflyBSD, bringing WARNS to 3 Reviewed by: ed (partial, long time ago) ... Modified: head/usr.sbin/apmd/apmd.c == --- head/usr.sbin/apmd/apmd.c

svn commit: r208145 - in stable/8: share/man/man4 sys/netgraph

2010-05-16 Thread Marko Zec
Author: zec Date: Sun May 16 14:51:36 2010 New Revision: 208145 URL: http://svn.freebsd.org/changeset/base/208145 Log: MFC r207680: Add an optional "persistent" flag to ng_hub and ng_bridge, which if set, disables automatic node shutdown when the last hook gets disconnected. Re

svn commit: r208146 - stable/8/sys/netgraph

2010-05-16 Thread Marko Zec
Author: zec Date: Sun May 16 14:53:43 2010 New Revision: 208146 URL: http://svn.freebsd.org/changeset/base/208146 Log: MFC r208036: Increase the target buffer for performing NGM_ASCII2BINARY conversion from 2000 bytes to 20 Kbytes, which now matches the buffer size used for NGM_BI

svn commit: r208147 - in head/sys/cddl: compat/opensolaris/kern compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2010-05-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 16 15:12:34 2010 New Revision: 208147 URL: http://svn.freebsd.org/changeset/base/208147 Log: Add task structure to zio and use it instead of allocating one. This eliminates the only place where we can sleep when calling zio_interrupt(). As a side-effect this can ac

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

2010-05-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 16 15:14:59 2010 New Revision: 208148 URL: http://svn.freebsd.org/changeset/base/208148 Log: Allow to configure UMA usage for ZIO data via loader and turn it on by default for amd64. On i386 I saw performance degradation when UMA was used, but for amd64 it should he

svn commit: r208149 - in head/sys: conf dev/pci powerpc/include powerpc/powermac powerpc/powerpc

2010-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 16 15:18:25 2010 New Revision: 208149 URL: http://svn.freebsd.org/changeset/base/208149 Log: Add support for the U4 PCI-Express bridge chipset used in late-generation Powermac G5 systems. MSI and several other things are not presently supported. The U3/U

svn commit: r208150 - head/sys/powerpc/cpufreq

2010-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 16 15:21:13 2010 New Revision: 208150 URL: http://svn.freebsd.org/changeset/base/208150 Log: On SMP G5 systems, sometimes the power-mode-data property is only found on CPU 0, so look there if it is not otherwise available. Modified: head/sys/powerpc/cpufreq/

svn commit: r208152 - in head/sys: dev/ofw powerpc/aim powerpc/ofw

2010-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 16 15:56:59 2010 New Revision: 208152 URL: http://svn.freebsd.org/changeset/base/208152 Log: On PowerMac11,2 and (presumably) PowerMac12,1, we need to quiesce the firmware in order to take over control of the SMU. Without doing this, the firmware background p

svn commit: r208153 - stable/7/sbin/restore

2010-05-16 Thread Jaakko Heinonen
Author: jh Date: Sun May 16 16:33:38 2010 New Revision: 208153 URL: http://svn.freebsd.org/changeset/base/208153 Log: MFC r203157, r203816: Handle short reads when the -P option is used and remove some dead code. PR: bin/121502 Modified: stable/7/sbin/restore/tape.c Direct

svn commit: r208154 - stable/8/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 16:42:52 2010 New Revision: 208154 URL: http://svn.freebsd.org/changeset/base/208154 Log: MFC of 207924: This fixes a bug with the one-2-one model socket when a user sets up a socket to a server sends data and closes the socket before the server has called a

svn commit: r208155 - stable/8/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 16:45:49 2010 New Revision: 208155 URL: http://svn.freebsd.org/changeset/base/208155 Log: MFC of 207963 This fixes PR-SCTP issues: - Slide the map at the proper place. - Mark the bits in the nr_array ONLY if there is no marking. - When generat

svn commit: r208156 - stable/8/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 16:50:33 2010 New Revision: 208156 URL: http://svn.freebsd.org/changeset/base/208156 Log: MFC 207966 (for Michael) Get rid of unused constants. Modified: stable/8/sys/netinet/sctp_constants.h stable/8/sys/netinet/sctp_indata.c Directory Properties: stable

svn commit: r208157 - stable/8/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 16:51:44 2010 New Revision: 208157 URL: http://svn.freebsd.org/changeset/base/208157 Log: MFC 207983 More PR-SCTP bugs: - Make sure that when you kick the streams you add correctly using a 16 bit unsigned. - Make sure when sending out you allow

svn commit: r208158 - stable/8/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 16:52:56 2010 New Revision: 208158 URL: http://svn.freebsd.org/changeset/base/208158 Log: MFC 207985 Fix an old long time bug in generating a fwd-tsn. This would appear when greater than the size of mbuf TSN's would need to be skipped. Modified: stable

svn commit: r208159 - head/sys/vm

2010-05-16 Thread Alan Cox
Author: alc Date: Sun May 16 16:54:05 2010 New Revision: 208159 URL: http://svn.freebsd.org/changeset/base/208159 Log: Add a comment about the proper use of vm_object_page_remove(). MFC after:1 week Modified: head/sys/vm/vm_object.c Modified: head/sys/vm/vm_object.c

svn commit: r208160 - head/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 17:03:56 2010 New Revision: 208160 URL: http://svn.freebsd.org/changeset/base/208160 Log: This adds back the Iterator to the sctp code base. We now properly have ONE thread that services all VNET's. Also we purge out the old timer based iterator code which had

svn commit: r208162 - in head/sys: dev/ata/chipsets powerpc/ofw

2010-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 16 17:55:09 2010 New Revision: 208162 URL: http://svn.freebsd.org/changeset/base/208162 Log: Relocate interrupt sense setting for K2 SATA from the ATA driver to the OFW PCI layer and read the sense directly from the device tree instead of guessing. MFC a

svn commit: r208164 - head/sys/vm

2010-05-16 Thread Alan Cox
Author: alc Date: Sun May 16 19:25:56 2010 New Revision: 208164 URL: http://svn.freebsd.org/changeset/base/208164 Log: Correct an error of omission in r202897: Now that amd64 uses the direct map to access the message buffer, we must explicitly request that the underlying physical pages are i

svn commit: r208165 - in head/sys: kern mips/conf mips/include mips/mips mips/rmi mips/rmi/dev/xlr

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 19:43:48 2010 New Revision: 208165 URL: http://svn.freebsd.org/changeset/base/208165 Log: This pushes all of JC's patches that I have in place. I am now able to run 32 cores ok.. but I still will hang on buildworld with a NFS problem. I suspect I am missing a p

svn commit: r208166 - in head: cddl/contrib/opensolaris/lib/libzpool/common/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2010-05-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 16 19:44:08 2010 New Revision: 208166 URL: http://svn.freebsd.org/changeset/base/208166 Log: Fix userland build by making io_task available only for the kernel and by providing taskq_dispatch_safe() macro. MFC after:1 week Modified: head/cddl/contrib/opens

Re: svn commit: r208165 - in head/sys: kern mips/conf mips/include mips/mips mips/rmi mips/rmi/dev/xlr

2010-05-16 Thread Juli Mallett
On Sun, May 16, 2010 at 12:43, Randall Stewart wrote: > Author: rrs > Date: Sun May 16 19:43:48 2010 > New Revision: 208165 > URL: http://svn.freebsd.org/changeset/base/208165 > > Log: >  This pushes all of JC's patches that I have in place. I >  am now able to run 32 cores ok.. but I still will h

svn commit: r208167 - head/sys/powerpc/powermac

2010-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 16 19:57:38 2010 New Revision: 208167 URL: http://svn.freebsd.org/changeset/base/208167 Log: Enable smu(4) to report fan speeds on late-model Powermac G5s. Modified: head/sys/powerpc/powermac/smu.c Modified: head/sys/powerpc/powermac/smu.c ===

Re: svn commit: r207141 - in head: lib/libufs sbin/dumpfs sbin/fsck_ffs sbin/fsdb sbin/tunefs sys/kern sys/sys sys/ufs/ffs sys/ufs/ufs usr.sbin/makefs/ffs

2010-05-16 Thread Dimitry Andric
On 2010-04-24 09:05, Jeff Roberson wrote: > Author: jeff > Date: Sat Apr 24 07:05:35 2010 > New Revision: 207141 > URL: http://svn.freebsd.org/changeset/base/207141 > > Log: >- Merge soft-updates journaling from projects/suj/head into head. This > brings in support for an optional intent

svn commit: r208168 - head/sys/powerpc/powermac

2010-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 16 20:31:31 2010 New Revision: 208168 URL: http://svn.freebsd.org/changeset/base/208168 Log: It is not necessary (and in some cases harmful) to hardcode ata_kauai's IRQ to 39 on K2 devices, as well as Shasta ones. Reported by: Andreas Tobler Modified:

svn commit: r208169 - head/lib/libarchive

2010-05-16 Thread Tim Kientzle
Author: kientzle Date: Sun May 16 20:43:17 2010 New Revision: 208169 URL: http://svn.freebsd.org/changeset/base/208169 Log: Reorganize slightly in preparation for making lzma and bz2 support conditional. Modified: head/lib/libarchive/Makefile head/lib/libarchive/config_freebsd.h Modified:

Re: svn commit: r207790 - head/usr.bin/tar

2010-05-16 Thread Tim Kientzle
Please try the attached patch and let me know if it fixes it for you... Cheers, Tim Anonymous wrote: Tim Kientzle writes: Author: kientzle Date: Sat May 8 16:28:22 2010 New Revision: 207790 URL: http://svn.freebsd.org/changeset/base/207790 Log: Config updates. Modified: head/usr.bin/

svn commit: r208170 - head/usr.bin/wc

2010-05-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun May 16 21:06:26 2010 New Revision: 208170 URL: http://svn.freebsd.org/changeset/base/208170 Log: On SIGINFO print current values on stderr. Modified: head/usr.bin/wc/wc.c Modified: head/usr.bin/wc/wc.c

Re: svn commit: r208152 - in head/sys: dev/ofw powerpc/aim powerpc/ofw

2010-05-16 Thread Marius Strobl
On Sun, May 16, 2010 at 03:57:00PM +, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Sun May 16 15:56:59 2010 > New Revision: 208152 > URL: http://svn.freebsd.org/changeset/base/208152 > > Log: > On PowerMac11,2 and (presumably) PowerMac12,1, we need to quiesce the > firmware in orde

Re: svn commit: r208152 - in head/sys: dev/ofw powerpc/aim powerpc/ofw

2010-05-16 Thread Nathan Whitehorn
On 05/16/10 16:38, Marius Strobl wrote: On Sun, May 16, 2010 at 03:57:00PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sun May 16 15:56:59 2010 New Revision: 208152 URL: http://svn.freebsd.org/changeset/base/208152 Log: On PowerMac11,2 and (presumably) PowerMac12,1, we need t

svn commit: r208171 - in head/sys: net netinet6

2010-05-16 Thread Kip Macy
Author: kmacy Date: Sun May 16 21:48:39 2010 New Revision: 208171 URL: http://svn.freebsd.org/changeset/base/208171 Log: allocate ipv6 flows from the ipv6 flow zone reported by: rrs@ MFC after:3 days Modified: head/sys/net/flowtable.c head/sys/net/flowtable.h head/sys/netine

svn commit: r208172 - in head/sys: dev/ofw powerpc/aim powerpc/ofw

2010-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 16 22:01:43 2010 New Revision: 208172 URL: http://svn.freebsd.org/changeset/base/208172 Log: Pull OF_quiesce() out of the MI Open Firmware layer and entirely into PPC ofw_machdep.c, in recognition of its state as a machine specific hack. Requested by: mari

Re: svn commit: r208152 - in head/sys: dev/ofw powerpc/aim powerpc/ofw

2010-05-16 Thread Nathan Whitehorn
On 05/16/10 16:47, Nathan Whitehorn wrote: On 05/16/10 16:38, Marius Strobl wrote: On Sun, May 16, 2010 at 03:57:00PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sun May 16 15:56:59 2010 New Revision: 208152 URL: http://svn.freebsd.org/changeset/base/208152 Log: On PowerMac11,2

svn commit: r208173 - in head: sbin/geom/class/part sys/geom/part

2010-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 16 22:21:33 2010 New Revision: 208173 URL: http://svn.freebsd.org/changeset/base/208173 Log: Teach gpart about bootcode on APM. Modified: head/sbin/geom/class/part/geom_part.c head/sys/geom/part/g_part_apm.c Modified: head/sbin/geom/class/part/geom_part.c =

svn commit: r208174 - in stable/8: bin/sh tools/regression/bin/sh/expansion

2010-05-16 Thread Jilles Tjoelker
Author: jilles Date: Sun May 16 22:52:51 2010 New Revision: 208174 URL: http://svn.freebsd.org/changeset/base/208174 Log: MFC r207944: sh: Fix pathname expansion with quoted slashes like *\/. These are git commits 36f0fa8fcbc8c7b2b194addd29100fb40e73e4e9 and d6d06ff5c2ea0fa44becc5ef4340e5

svn commit: r208175 - in head/sys: amd64/amd64 arm/arm i386/i386 i386/xen ia64/ia64 mips/mips powerpc/aim powerpc/booke sparc64/sparc64 sun4v/sun4v vm

2010-05-16 Thread Alan Cox
Author: alc Date: Sun May 16 23:45:10 2010 New Revision: 208175 URL: http://svn.freebsd.org/changeset/base/208175 Log: On entry to pmap_enter(), assert that the page is busy. While I'm here, make the style of assertion used by pmap_enter() consistent across all architectures. On entry

svn commit: r208176 - stable/8/usr.sbin/mountd

2010-05-16 Thread Rick Macklem
Author: rmacklem Date: Mon May 17 01:18:12 2010 New Revision: 208176 URL: http://svn.freebsd.org/changeset/base/208176 Log: MFC: r207689 If the "-alldirs" export option was used for the V4: line, mountd would crash in check_options() since dp == NULL for the V4: line. This patch moves the

Re: svn commit: r208169 - head/lib/libarchive

2010-05-16 Thread Giorgos Keramidas
On Sun, 16 May 2010 20:43:17 + (UTC), Tim Kientzle wrote: > Author: kientzle > Date: Sun May 16 20:43:17 2010 > New Revision: 208169 > URL: http://svn.freebsd.org/changeset/base/208169 > > Log: > Reorganize slightly in preparation for making lzma and bz2 support > conditional. > > Modified

svn commit: r208177 - stable/8/sys/fs/nfs

2010-05-16 Thread Rick Macklem
Author: rmacklem Date: Mon May 17 01:41:11 2010 New Revision: 208177 URL: http://svn.freebsd.org/changeset/base/208177 Log: MFC: r207764 Patch the experimental NFS client so that it works for NFSv2 by adding the necessary mapping from NFSv3 procedure numbers to NFSv2 procedure numbers when

svn commit: r208179 - stable/8/sys/fs/nfs

2010-05-16 Thread Rick Macklem
Author: rmacklem Date: Mon May 17 02:01:22 2010 New Revision: 208179 URL: http://svn.freebsd.org/changeset/base/208179 Log: MFC: r207785 Fix typos in macros. Modified: stable/8/sys/fs/nfs/nfskpiport.h stable/8/sys/fs/nfs/nfsport.h Directory Properties: stable/8/sys/ (props changed)

svn commit: r208181 - stable/7/sys/dev/e1000

2010-05-16 Thread Jack F Vogel
Author: jfv Date: Mon May 17 02:20:24 2010 New Revision: 208181 URL: http://svn.freebsd.org/changeset/base/208181 Log: Change lem_poll to match em Modified: stable/7/sys/dev/e1000/if_lem.c Modified: stable/7/sys/dev/e1000/if_lem.c =

svn commit: r208183 - in head/sys: conf modules/mvs

2010-05-16 Thread Alexander Motin
Author: mav Date: Mon May 17 03:51:57 2010 New Revision: 208183 URL: http://svn.freebsd.org/changeset/base/208183 Log: Make mvs_if.c to not be always linked statically into the kernel. Link it same way as mvs.c. Modified: head/sys/conf/files head/sys/modules/mvs/Makefile Modified: head/s