svn commit: r211920 - in head/sys/dev/ata: . chipsets

2010-08-28 Thread Alexander Motin
Author: mav Date: Sat Aug 28 07:10:51 2010 New Revision: 211920 URL: http://svn.freebsd.org/changeset/base/211920 Log: Add Intel Cougar Point PCH SATA Controller DeviceIDs. Correct some existing entries for Intel Ibex Peak (5 Series/3400 Series) PCH SATA controllers. Submitted by: jfv@

svn commit: r211922 - head/sys/dev/ahci

2010-08-28 Thread Alexander Motin
Author: mav Date: Sat Aug 28 07:24:45 2010 New Revision: 211922 URL: http://svn.freebsd.org/changeset/base/211922 Log: MFata(4): Add Intel Cougar Point PCH SATA Controller DeviceIDs. Correct some existing entries for Intel Ibex Peak (5 Series/3400 Series) PCH SATA controllers. Modified: h

svn commit: r211923 - head/sys/mips/rmi

2010-08-28 Thread Jayachandran C.
Author: jchandra Date: Sat Aug 28 07:58:10 2010 New Revision: 211923 URL: http://svn.freebsd.org/changeset/base/211923 Log: Initial code for XLR CompactFlash driver. Submitted by: Sreekanth M. S. Added: head/sys/mips/rmi/xlr_pcmcia.c (contents, props changed) Modified: head/sys/mips

svn commit: r211924 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2010-08-28 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 28 08:03:29 2010 New Revision: 211924 URL: http://svn.freebsd.org/changeset/base/211924 Log: Register an interrupt vector for DTrace return probes. There is some code missing in lapic to make sure that we don't overwrite this entry, but this will be done on a seq

svn commit: r211925 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2010-08-28 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 28 08:13:38 2010 New Revision: 211925 URL: http://svn.freebsd.org/changeset/base/211925 Log: Replace a memory barrier with a mutex barrier. Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c Modified

svn commit: r211926 - head/sys/modules/dtrace/dtrace

2010-08-28 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 28 08:18:20 2010 New Revision: 211926 URL: http://svn.freebsd.org/changeset/base/211926 Log: Add the path necessary to find fasttrap_isa.h to CFLAGS. Sponsored by: The FreeBSD Foundation Modified: head/sys/modules/dtrace/dtrace/Makefile Modified: head/sys/mo

svn commit: r211927 - head/sys/geom/eli

2010-08-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Aug 28 08:30:20 2010 New Revision: 211927 URL: http://svn.freebsd.org/changeset/base/211927 Log: Correct offset conversion to little endian. It was implemented in version 2, but because of a bug it was a no-op, so we were still using offsets in native byte order for the

Re: svn commit: r211927 - head/sys/geom/eli

2010-08-28 Thread Pawel Jakub Dawidek
On Sat, Aug 28, 2010 at 08:30:20AM +, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Sat Aug 28 08:30:20 2010 > New Revision: 211927 > URL: http://svn.freebsd.org/changeset/base/211927 > > Log: > Correct offset conversion to little endian. It was implemented in version 2, > but because o

svn commit: r211928 - head/sys/kern

2010-08-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Aug 28 08:38:03 2010 New Revision: 211928 URL: http://svn.freebsd.org/changeset/base/211928 Log: Run all tasks from a proper context, with proper priority, etc. Reviewed by: jhb MFC after:1 month Modified: head/sys/kern/subr_taskqueue.c Modified: head/sys/ke

svn commit: r211929 - head/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2010-08-28 Thread Rui Paulo
Author: rpaulo Date: Sat Aug 28 08:39:37 2010 New Revision: 211929 URL: http://svn.freebsd.org/changeset/base/211929 Log: Remove debugging. Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c Modified: head/sys/cddl/contrib/op

Re: svn commit: r211896 - head/sbin/hastd

2010-08-28 Thread Kostik Belousov
On Fri, Aug 27, 2010 at 11:54:02PM +0200, Pawel Jakub Dawidek wrote: > On Sat, Aug 28, 2010 at 12:38:27AM +0300, Kostik Belousov wrote: > > > --- head/sbin/hastd/primary.c Fri Aug 27 20:48:12 2010 > > > (r211895) > > > +++ head/sbin/hastd/primary.c Fri Aug 27 20:49:06 2010 >

Re: svn commit: r211896 - head/sbin/hastd

2010-08-28 Thread Pawel Jakub Dawidek
On Sat, Aug 28, 2010 at 11:43:55AM +0300, Kostik Belousov wrote: > On Fri, Aug 27, 2010 at 11:54:02PM +0200, Pawel Jakub Dawidek wrote: > > On Sat, Aug 28, 2010 at 12:38:27AM +0300, Kostik Belousov wrote: > > > > --- head/sbin/hastd/primary.c Fri Aug 27 20:48:12 2010 > > > > (r211895) > >

svn commit: r211930 - in head/sys: kern sys

2010-08-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Aug 28 08:57:15 2010 New Revision: 211930 URL: http://svn.freebsd.org/changeset/base/211930 Log: There is a bug in vfs_allocate_syncvnode() failure handling in mount code. Actually it is hard to properly handle such a failure, especially in MNT_UPDATE case. The only re

svn commit: r211931 - in head: cddl/contrib/opensolaris/cmd/zdb sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2010-08-28 Thread Martin Matuska
Author: mm Date: Sat Aug 28 08:59:55 2010 New Revision: 211931 URL: http://svn.freebsd.org/changeset/base/211931 Log: Update ZFS metaslab code from OpenSolaris. This provides a noticeable write speedup, especially on pools with less than 30% of free space. Detailed information (OpenSola

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

2010-08-28 Thread Martin Matuska
Author: mm Date: Sat Aug 28 09:24:11 2010 New Revision: 211932 URL: http://svn.freebsd.org/changeset/base/211932 Log: Import changes from OpenSolaris that provide - better ACL caching and speedup of ACL permission checks - faster handling of stat() - lowered mutex contention in the read/wr

Re: svn commit: r211896 - head/sbin/hastd

2010-08-28 Thread Pawel Jakub Dawidek
On Sat, Aug 28, 2010 at 10:50:42AM +0200, Pawel Jakub Dawidek wrote: > Ehh, I'm lame. All I need to do is to use cv_timedwait_sig() instead of > cv_timedwait() and I can remove all pthread stuff from the sighandler. ...not! This is userland, not the kernel so there is no equivalent of cv_timedwait

svn commit: r211934 - in head: . gnu/lib/libgomp lib lib/libkvm lib/libthread_db/arch/powerpc64 lib/msun secure/lib/libcrypto usr.sbin/kldxref

2010-08-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Aug 28 15:03:11 2010 New Revision: 211934 URL: http://svn.freebsd.org/changeset/base/211934 Log: Repair some build breakage introduced in r211725 and garbage collect some code made obsolete in the same commit. Deleted: head/lib/libthread_db/arch/powerpc64/ hea

svn commit: r211935 - head/usr.bin/truss

2010-08-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Aug 28 15:04:53 2010 New Revision: 211935 URL: http://svn.freebsd.org/changeset/base/211935 Log: Fix breakage introduced in r211725 and improve functionality of truss on 64-bit powerpc by adding 32-bit compatibility features. Modified: head/usr.bin/truss/Makefil

svn commit: r211936 - in head: bin/test lib/libc/net lib/libc/stdio lib/libc/stdlib lib/libc/sys lib/libipx libexec/ypxfr sbin/ipfw secure/lib/libcrypto/man share/man/man4 share/man/man9 usr.sbin/I...

2010-08-28 Thread Bruce Cran
Author: brucec Date: Sat Aug 28 16:32:01 2010 New Revision: 211936 URL: http://svn.freebsd.org/changeset/base/211936 Log: Fix incorrect usage of 'assure' and 'insure'. Approved by: rrs (mentor) Modified: head/bin/test/test.1 head/lib/libc/net/ethers.3 head/lib/libc/net/eui64.3 head

svn commit: r211937 - in head: lib/libc/sys sys/sys sys/vm

2010-08-28 Thread Alan Cox
Author: alc Date: Sat Aug 28 16:57:07 2010 New Revision: 211937 URL: http://svn.freebsd.org/changeset/base/211937 Log: Add the MAP_PREFAULT_READ option to mmap(2). Reviewed by: jhb, kib Modified: head/lib/libc/sys/mmap.2 head/sys/sys/mman.h head/sys/sys/param.h head/sys/vm/vm_mmap

Re: svn commit: r211553 - head/sys/cddl/compat/opensolaris/kern

2010-08-28 Thread Pawel Jakub Dawidek
On Sat, Aug 21, 2010 at 11:41:32AM +, Rui Paulo wrote: > Author: rpaulo > Date: Sat Aug 21 11:41:32 2010 > New Revision: 211553 > URL: http://svn.freebsd.org/changeset/base/211553 > > Log: > Add sysname to struct opensolaris_utsname. This is needed by one DTrace > test. > > Sponsored

svn commit: r211940 - head/tools/regression/poll

2010-08-28 Thread Konstantin Belousov
Author: kib Date: Sat Aug 28 17:38:40 2010 New Revision: 211940 URL: http://svn.freebsd.org/changeset/base/211940 Log: Test the poll(2) return value. MFC after:2 weeks Modified: head/tools/regression/poll/pipepoll.c Modified: head/tools/regression/poll/pipepoll.c ===

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

2010-08-28 Thread Pawel Jakub Dawidek
On Sat, Aug 28, 2010 at 09:24:11AM +, Martin Matuska wrote: > Author: mm > Date: Sat Aug 28 09:24:11 2010 > New Revision: 211932 > URL: http://svn.freebsd.org/changeset/base/211932 > > Log: > Import changes from OpenSolaris that provide > - better ACL caching and speedup of ACL permission

svn commit: r211941 - head/sys/kern

2010-08-28 Thread Konstantin Belousov
Author: kib Date: Sat Aug 28 17:42:08 2010 New Revision: 211941 URL: http://svn.freebsd.org/changeset/base/211941 Log: For some file types, select code registers two selfd structures. E.g., for socket, when specified POLLIN|POLLOUT in events, you would have one selfd registered for receiving

svn commit: r211944 - in head/sys: netinet netinet6

2010-08-28 Thread Michael Tuexen
Author: tuexen Date: Sat Aug 28 17:59:51 2010 New Revision: 211944 URL: http://svn.freebsd.org/changeset/base/211944 Log: Fix the switching on/off of CMT using sysctl and socket option. Fix the switching on/off of PF and NR-SACKs using sysctl. Add minor improvement in handling malloc failure

Re: svn commit: r211853 - head/sys/rpc

2010-08-28 Thread Pawel Jakub Dawidek
On Fri, Aug 27, 2010 at 07:48:09PM +0400, pluknet wrote: > On 27 August 2010 03:33, Pawel Jakub Dawidek wrote: > > Author: pjd > > Date: Thu Aug 26 23:33:04 2010 > > New Revision: 211853 > > URL: http://svn.freebsd.org/changeset/base/211853 > > > > Log: > >  - Check the result of malloc(M_NOWAIT)

svn commit: r211946 - in head/sys/mips/rmi: . dev/nlge

2010-08-28 Thread Jayachandran C.
Author: jchandra Date: Sat Aug 28 19:02:51 2010 New Revision: 211946 URL: http://svn.freebsd.org/changeset/base/211946 Log: New driver nlge for XLR/XLS Network Accelerator. This will support the XGMAC and XAUI 10G interfaces in addition RGMII/SGMII 1G interfaces. This driver is work in prog

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

2010-08-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Aug 28 19:28:12 2010 New Revision: 211947 URL: http://svn.freebsd.org/changeset/base/211947 Log: Move ZUT_OBJS in the same place that is used in vendor code. Obtained from://depot/user/pjd/zfs/... Modified: head/sys/cddl/contrib/opensolaris/uts/common/Makefi

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

2010-08-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Aug 28 19:29:06 2010 New Revision: 211948 URL: http://svn.freebsd.org/changeset/base/211948 Log: Return NULL pointer instead of B_FALSE as it is done in the vendor code. Obtained from://depot/user/pjd/zfs/... Modified: head/sys/cddl/contrib/opensolaris/uts/c

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

2010-08-28 Thread Pawel Jakub Dawidek
On Sat, Aug 28, 2010 at 07:40:39PM +0200, Pawel Jakub Dawidek wrote: > Those two chunks are incorrect, please consult my p4 branch. I just went ahead and fixed those. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.Fr

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

2010-08-28 Thread Martin Matuska
Thank you, committed just minutes ahead of me :-) Both mistakes are due to a mis-patch. I will include the fixed version it in the post-v15 merge. Dňa 28. 8. 2010 21:29, Pawel Jakub Dawidek wrote / napísal(a): > On Sat, Aug 28, 2010 at 07:40:39PM +0200, Pawel Jakub Dawidek wrote: >> Those two ch

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

2010-08-28 Thread Pawel Jakub Dawidek
On Sat, Aug 28, 2010 at 09:41:39PM +0200, Martin Matuska wrote: > Thank you, committed just minutes ahead of me :-) > Both mistakes are due to a mis-patch. I will include the fixed version > it in the post-v15 merge. BTW. 'zfs allow' doesn't work for me anymore. It might be due to py-zfs being co

svn commit: r211949 - head/share/mk

2010-08-28 Thread Warner Losh
Author: imp Date: Sat Aug 28 21:06:13 2010 New Revision: 211949 URL: http://svn.freebsd.org/changeset/base/211949 Log: Now that we default to the proper endian, we don't need these for mips Modified: head/share/mk/bsd.cpu.mk Modified: head/share/mk/bsd.cpu.mk

svn commit: r211950 - head/sys/netinet

2010-08-28 Thread Michael Tuexen
Author: tuexen Date: Sat Aug 28 21:15:00 2010 New Revision: 211950 URL: http://svn.freebsd.org/changeset/base/211950 Log: Bugfix: Do not send a packet drop report in response to a received INIT-ACK with incorrect CRC. Modified: head/sys/netinet/sctp_output.c Modified: head/sys/neti

svn commit: r211951 - in head/sys/fs: nfs nfsserver

2010-08-28 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 28 21:41:18 2010 New Revision: 211951 URL: http://svn.freebsd.org/changeset/base/211951 Log: The timer routine in the experimental NFS server did not acquire the correct mutex when checking nfsv4root_lock. Although this could be fixed by adding mutex lock/unloc

svn commit: r211953 - head/sys/fs/nfsserver

2010-08-28 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 28 23:50:09 2010 New Revision: 211953 URL: http://svn.freebsd.org/changeset/base/211953 Log: Add acquisition of a reference count on nfsv4root_lock to the nfsd_recalldelegation() function, since this function is called by nfsd threads when they are handling NFS

Re: svn commit: r211936 - in head: bin/test lib/libc/net lib/libc/stdio lib/libc/stdlib lib/libc/sys lib/libipx libexec/ypxfr sbin/ipfw secure/lib/libcrypto/man share/man/man4 share/man/man9 usr.sbin/

2010-08-28 Thread Bruce Evans
On Sat, 28 Aug 2010, Bruce Cran wrote: Log: Fix incorrect usage of 'assure' and 'insure'. I think some of the `assure's are more correct than their replacement of `ensure'. The difference is subtle -- my small 1960's English dictionary starts by saying that both mean "make safe"; it gives th

svn commit: r211958 - in head/sys/mips: include mips

2010-08-28 Thread Jayachandran C.
Author: jchandra Date: Sun Aug 29 05:39:21 2010 New Revision: 211958 URL: http://svn.freebsd.org/changeset/base/211958 Log: Apply MIPS pmap clean up patch from alc@ (with minor change to KASSERT): PMAP_DIAGNOSTIC was eliminated from amd64/i386, and, in fact, the non-MIPS parts of the