svn commit: r206697 - head/sbin/hastd

2010-04-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Apr 16 06:49:12 2010 New Revision: 206697 URL: http://svn.freebsd.org/changeset/base/206697 Log: Fix log size calculation which caused message truncation. Submitted by: Mikolaj Golub MFC after:3 days Modified: head/sbin/hastd/pjdlog.c Modified: head/sbin/has

svn commit: r206696 - head/sbin/hastd

2010-04-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Apr 16 06:47:29 2010 New Revision: 206696 URL: http://svn.freebsd.org/changeset/base/206696 Log: Fix control socket leak when worker process exits. Submitted by: Mikolaj Golub MFC after:3 days Modified: head/sbin/hastd/hastd.c Modified: head/sbin/hastd/hastd

svn commit: r206695 - in head: . sys/mips/include sys/mips/mips

2010-04-15 Thread Juli Mallett
/ObsoleteFiles.inc Fri Apr 16 02:56:24 2010(r206695) @@ -14,6 +14,14 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20100415: [mips] removed unused headers +.if ${TARGET_ARCH} == "mips" +OLD_FILES+=usr/include/machine/archtype.h +OLD_

svn commit: r206694 - stable/8/sys/fs/nfsserver

2010-04-15 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 16 02:16:58 2010 New Revision: 206694 URL: http://svn.freebsd.org/changeset/base/206694 Log: MFC: r206063 For the experimental NFS server, add a call to free the lookup path buffer for one case where it was missing when doing mkdir. This could have conceivabl

svn commit: r206693 - stable/8/sys/dev/usb

2010-04-15 Thread Kevin Lo
Author: kevlo Date: Fri Apr 16 01:54:47 2010 New Revision: 206693 URL: http://svn.freebsd.org/changeset/base/206693 Log: MFC r206595 Eliminate duplicate comment Modified: stable/8/sys/dev/usb/usbdevs Modified: stable/8/sys/dev/usb/usbdevs

svn commit: r206692 - in stable/8/sys/dev/usb: . serial

2010-04-15 Thread Kevin Lo
Author: kevlo Date: Fri Apr 16 01:53:19 2010 New Revision: 206692 URL: http://svn.freebsd.org/changeset/base/206692 Log: MFC r206544 The Quanta Q101 modem has a different type of cdrom driver disk, add the product id and use a standard scsi eject. Reviewed by: thompsa Modified: s

svn commit: r206691 - stable/8/sys/fs/nfsserver

2010-04-15 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 16 01:39:30 2010 New Revision: 206691 URL: http://svn.freebsd.org/changeset/base/206691 Log: MFC: r206061 Add SAVENAME to the cn_flags for all cases in the experimental NFS server for the CREATE cn_nameiop where SAVESTART isn't set. I was not aware that this

svn commit: r206690 - head/sys/fs/nfsclient

2010-04-15 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 15 23:56:05 2010 New Revision: 206690 URL: http://svn.freebsd.org/changeset/base/206690 Log: Add mutex lock calls to 2 cases in the experimental NFS client's renew thread where they were missing. MFC after:1 week Modified: head/sys/fs/nfsclient/nfs_cl

svn commit: r206689 - head/contrib/netcat

2010-04-15 Thread Xin LI
Author: delphij Date: Thu Apr 15 23:21:24 2010 New Revision: 206689 URL: http://svn.freebsd.org/changeset/base/206689 Log: Utilize IP_BINDANY which provided the same semantics of OpenBSD's SO_BINDANY. Modified: head/contrib/netcat/netcat.c Modified: head/contrib/netcat/netcat.c ===

svn commit: r206688 - in head/sys/fs: nfs nfsclient

2010-04-15 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 15 22:57:30 2010 New Revision: 206688 URL: http://svn.freebsd.org/changeset/base/206688 Log: The experimental NFS client was not filling in recovery credentials for opens done locally in the client when a delegation for the file was held. This could cause the c

svn commit: r206687 - head/usr.bin/indent

2010-04-15 Thread Andriy Gapon
Author: avg Date: Thu Apr 15 21:41:07 2010 New Revision: 206687 URL: http://svn.freebsd.org/changeset/base/206687 Log: indent(1): don't treat bare '_t' as a type name when -ta is used It seems that identifier "_t" is sometimes used as a variable name, even in our tree. Not that I endorse

Re: svn commit: r205954 - head/include

2010-04-15 Thread David Schultz
On Wed, Mar 31, 2010, Juli Mallett wrote: > Be like stdlib.h and bring in a wchar_t definition and use it to prototype > wcstoimax and wcstoumax, rather than spelling it __wchar_t. This is > necessary > to use these functions in C++ where wchar_t is different to __wchar_t and is > a built

svn commit: r206686 - head/etc

2010-04-15 Thread Doug Barton
Author: dougb Date: Thu Apr 15 21:18:24 2010 New Revision: 206686 URL: http://svn.freebsd.org/changeset/base/206686 Log: If a service is running, make 'stop' work even if ${name}_enable is not set. PR: conf/130414 Submitted by: Dominic Fandrey Reviewed by: freebsd-rc@ Mod

svn commit: r206684 - head/sys/dev/hwpmc

2010-04-15 Thread Fabien Thomas
Author: fabient Date: Thu Apr 15 19:45:03 2010 New Revision: 206684 URL: http://svn.freebsd.org/changeset/base/206684 Log: - Fix a typo OFFCORE_REQUESTS.ANY.RFO is B0H10H and not 80H10H. - Enable missing PARTIAL_ADDRESS_ALIAS for Core i7. MFC after: 3 days Modified: head/sys/dev/hwpmc/

svn commit: r206683 - stable/7/sys/dev/bce

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:31:21 2010 New Revision: 206683 URL: http://svn.freebsd.org/changeset/base/206683 Log: MFC r206268 - Fixed 5708S 2.5G support broken in last commit. - Added some new debug helper routines to systcl. - Fixed many of the style(9) violations that have

svn commit: r206682 - stable/8/sys/dev/bce

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:29:56 2010 New Revision: 206682 URL: http://svn.freebsd.org/changeset/base/206682 Log: MFC r206268 - Fixed 5708S 2.5G support broken in last commit. - Added some new debug helper routines to systcl. - Fixed many of the style(9) violations that have

svn commit: r206681 - stable/7/sys/dev/bce

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:28:15 2010 New Revision: 206681 URL: http://svn.freebsd.org/changeset/base/206681 Log: MFC r205300: - Added support for 5709S/5716S PHYs. - Update copyright to 2010. - Add new debug code for RV2P block. - Improve output formatting for various d

svn commit: r206680 - stable/8/sys/dev/bce

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:26:28 2010 New Revision: 206680 URL: http://svn.freebsd.org/changeset/base/206680 Log: MFC r205300: - Added support for 5709S/5716S PHYs. - Update copyright to 2010. - Add new debug code for RV2P block. - Improve output formatting for various d

svn commit: r206679 - stable/7/sys/dev/mii

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:22:55 2010 New Revision: 206679 URL: http://svn.freebsd.org/changeset/base/206679 Log: MFC r205299: - Added support for 5709S/5716S PHYs. Submitted by: pyunyh PR: kern/134658, kern/136417, kern/139761, kern/140970 Modified: stable/7/sys/dev/m

svn commit: r206678 - stable/8/sys/dev/mii

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:19:59 2010 New Revision: 206678 URL: http://svn.freebsd.org/changeset/base/206678 Log: MFC r205299: - Added support for 5709S/5716S PHYs. Submitted by: pyunyh PR: kern/134658, kern/136417, kern/139761, kern/140970 Modified: stable/8/sys/dev/m

svn commit: r206675 - head/contrib/netcat

2010-04-15 Thread Xin LI
Author: delphij Date: Thu Apr 15 19:15:05 2010 New Revision: 206675 URL: http://svn.freebsd.org/changeset/base/206675 Log: Diff reduction with OpenBSD: - Remove unused locally added variable; - Deprecate -o: it's the default behavior on OpenBSD. X-MFC:along with nc 4.7. Mo

svn commit: r206673 - svnadmin/conf

2010-04-15 Thread George V. Neville-Neil
Author: gnn Date: Thu Apr 15 17:46:51 2010 New Revision: 206673 URL: http://svn.freebsd.org/changeset/base/206673 Log: Free lstewart@ from mentorship. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors =

svn commit: r206672 - head/sys/dev/sge

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 17:24:21 2010 New Revision: 206672 URL: http://svn.freebsd.org/changeset/base/206672 Log: Fix include path. Modified: head/sys/dev/sge/if_sge.c Modified: head/sys/dev/sge/if_sge.c ==

svn commit: r206671 - head/sys/kern

2010-04-15 Thread Konstantin Belousov
Author: kib Date: Thu Apr 15 17:17:02 2010 New Revision: 206671 URL: http://svn.freebsd.org/changeset/base/206671 Log: Fix typo. MFC after:3 days Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c =

Re: svn commit: r206452 - head/sys/netinet

2010-04-15 Thread Bruce Simpson
On 04/10/10 13:05, Bruce M Simpson wrote: Log: Fix a few issues related to the legacy 4.4 BSD multicast APIs. IPv4 addresses can and do change during normal operation. Testing by pfSense developers exposed an issue where OpenOSPFD was using the IPv4 address to leave the OSPF link-sco

svn commit: r206669 - head/sbin/hastd

2010-04-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Apr 15 17:04:08 2010 New Revision: 206669 URL: http://svn.freebsd.org/changeset/base/206669 Log: Increase ggate queue size to maximum value. HAST was not able to stand heavy random load. Reported by: Hiroyuki Yamagami MFC after:3 days Modified: head/sbin/ha

svn commit: r206668 - head/etc/mtree

2010-04-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Apr 15 16:43:43 2010 New Revision: 206668 URL: http://svn.freebsd.org/changeset/base/206668 Log: Use spaces instead of tab for indent here. Modified: head/etc/mtree/BSD.include.dist Modified: head/etc/mtree/BSD.include.dist ==

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

2010-04-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Apr 15 16:40:54 2010 New Revision: 206667 URL: http://svn.freebsd.org/changeset/base/206667 Log: Fix 3-way deadlock that can happen because of ZFS and vnode lock order reversal. thread0 (vfs_fhtovp) thread1 (vop_getattr) thread2 (zfs_recv)

svn commit: r206666 - head/sbin/geom/misc

2010-04-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Apr 15 16:35:34 2010 New Revision: 20 URL: http://svn.freebsd.org/changeset/base/20 Log: Flush disk write cache after storing and clearing metadata. Modified: head/sbin/geom/misc/subr.c Modified: head/sbin/geom/misc/subr.c ===

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

2010-04-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Apr 15 16:34:06 2010 New Revision: 206665 URL: http://svn.freebsd.org/changeset/base/206665 Log: Use lower priority for GELI worker threads. This improves system responsiveness under heavy GELI load. MFC after:3 days Modified: head/sys/geom/eli/g_eli.c Modifi

svn commit: r206664 - head/usr.sbin/config

2010-04-15 Thread Warner Losh
Author: imp Date: Thu Apr 15 15:10:46 2010 New Revision: 206664 URL: http://svn.freebsd.org/changeset/base/206664 Log: Allow option aliasing. Lines of the form: OLD_OPT = NEW_OPT in options* files will now map OLD_OPT to NEW_OPT with a friendly message. This is indented for situati

Re: svn commit: r206497 - in head: sbin/geom/class sbin/geom/class/sched sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/modules/geom/geom_sched/gs_sched sys/modules/geom/geom_sched/gs

2010-04-15 Thread Attila Nagy
On 04/12/2010 06:37 PM, Luigi Rizzo wrote: Bring in geom_sched, support for scheduling disk I/O requests in a device independent manner. Also include an example anticipatory scheduler, gsched_rr, which gives very nice performance improvements in presence of competing random access pat

svn commit: r206663 - head/sys/dev/mxge

2010-04-15 Thread Andrew Gallatin
Author: gallatin Date: Thu Apr 15 14:26:52 2010 New Revision: 206663 URL: http://svn.freebsd.org/changeset/base/206663 Log: Add missing IFCAP_LINKSTATE to mxge Submitted by: yongari Modified: head/sys/dev/mxge/if_mxge.c Modified: head/sys/dev/mxge/if_mxge.c =

svn commit: r206662 - head/sys/dev/mxge

2010-04-15 Thread Andrew Gallatin
Author: gallatin Date: Thu Apr 15 13:50:55 2010 New Revision: 206662 URL: http://svn.freebsd.org/changeset/base/206662 Log: Cleanup if_media handling in mxge(4) - Re-probe xfp / sfp+ socket on link events, in case user has changed transceiver - correctly report current media to avoi

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-15 Thread Kostik Belousov
On Thu, Apr 15, 2010 at 04:01:56PM +0300, Jaakko Heinonen wrote: > On 2010-04-14, Kostik Belousov wrote: > > First, I think we shall sort dirent->dd_dlist so that symlinks are > > located before any other entries, and allow for duplication of > > any name with the name of symlink. > > What will ha

Re: svn commit: r206560 - head/sys/fs/devfs

2010-04-15 Thread Jaakko Heinonen
On 2010-04-14, Kostik Belousov wrote: > First, I think we shall sort dirent->dd_dlist so that symlinks are > located before any other entries, and allow for duplication of > any name with the name of symlink. What will happen when user deletes a symlink covering a device? Uncovering the device may

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

2010-04-15 Thread Alexander Motin
Author: mav Date: Thu Apr 15 12:46:16 2010 New Revision: 206661 URL: http://svn.freebsd.org/changeset/base/206661 Log: MFC r206021, r206032, r206049, r206050: Remove some more alignment constraints. Modified: stable/8/sys/netgraph/ng_deflate.c stable/8/sys/netgraph/ng_mppc.c stable/8/sy

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

2010-04-15 Thread Alexander Motin
Author: mav Date: Thu Apr 15 12:41:36 2010 New Revision: 206660 URL: http://svn.freebsd.org/changeset/base/206660 Log: MFC r206017: Make ng_ksocket fulfill lower protocol stack layers alignment requirements on platforms with strict alignment constraints. This fixes kernel panics on arm and

svn commit: r206659 - head/sys/netipsec

2010-04-15 Thread VANHULLEBUS Yvan
Author: vanhu Date: Thu Apr 15 12:40:33 2010 New Revision: 206659 URL: http://svn.freebsd.org/changeset/base/206659 Log: Locks SPTREE when setting some SP entries to state DEAD. This can prevent kernel panics when updating SPs while there is some traffic for them. Obtained from: NETASQ

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

2010-04-15 Thread Alexander Motin
Author: mav Date: Thu Apr 15 12:40:02 2010 New Revision: 206658 URL: http://svn.freebsd.org/changeset/base/206658 Log: MFC r206015: Make ng_l2tp irrelevant to data alignment. Modified: stable/8/sys/netgraph/ng_l2tp.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd

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

2010-04-15 Thread Alexander Motin
Author: mav Date: Thu Apr 15 12:38:55 2010 New Revision: 206657 URL: http://svn.freebsd.org/changeset/base/206657 Log: NFC r206000: Make ng_ppp fulfill upper protocol stack layers alignment requirements on platforms with strict alignment constraints. This fixes kernel panics on arm and pro

svn commit: r206656 - stable/8/sys/arm/mv

2010-04-15 Thread Alexander Motin
Author: mav Date: Thu Apr 15 12:30:46 2010 New Revision: 206656 URL: http://svn.freebsd.org/changeset/base/206656 Log: MFC r206053, r206054: Fill extended ATA command registers in cPRD to support 48bit commands. Modified: stable/8/sys/arm/mv/mv_sata.c Directory Properties: stable/8/sys/

svn commit: r206655 - stable/8/sys/dev/ata

2010-04-15 Thread Alexander Motin
Author: mav Date: Thu Apr 15 12:26:24 2010 New Revision: 206655 URL: http://svn.freebsd.org/changeset/base/206655 Log: MFC r205967: Include opt_ata.h, as some structures here depending on ATA_CAM option. This fixes ATA_CAM with atamvsata and probably some other drivers. Modified: stable/8

svn commit: r206654 - stable/7/sys/dev/ata

2010-04-15 Thread Alexander Motin
Author: mav Date: Thu Apr 15 12:22:47 2010 New Revision: 206654 URL: http://svn.freebsd.org/changeset/base/206654 Log: MFC r205680: Use last 16 bytes of serial number in metadata instead of first ones, same as Intel MatrixRAID does. PR: kern/124064 Modified: stable/7/sys/

svn commit: r206653 - stable/8/sys/dev/ata

2010-04-15 Thread Alexander Motin
Author: mav Date: Thu Apr 15 12:20:13 2010 New Revision: 206653 URL: http://svn.freebsd.org/changeset/base/206653 Log: MFC r205680: Use last 16 bytes of serial number in metadata instead of first ones, same as Intel MatrixRAID does. PR: kern/124064 Modified: stable/8/sys/

svn commit: r206652 - head/sys/dev/siis

2010-04-15 Thread Alexander Motin
Author: mav Date: Thu Apr 15 11:17:33 2010 New Revision: 206652 URL: http://svn.freebsd.org/changeset/base/206652 Log: Explicitly enable PCI busmastering on attach. Now SiI3124 with siis(4) successfully works on sparc64 (SunBlade 100). H/W donated by: Gheorghe Ardelean Modified:

svn commit: r206651 - head/sys/cam/scsi

2010-04-15 Thread Andriy Gapon
Author: avg Date: Thu Apr 15 09:22:14 2010 New Revision: 206651 URL: http://svn.freebsd.org/changeset/base/206651 Log: scsi_cd: CD_FLAG_VALID_MEDIA is sufficient to set d_sectorsize and d_mediasize [Forced commit to correct PR number.] CD_FLAG_VALID_TOC is not required for setting those

svn commit: r206650 - head/sys/geom

2010-04-15 Thread Andriy Gapon
Author: avg Date: Thu Apr 15 08:39:56 2010 New Revision: 206650 URL: http://svn.freebsd.org/changeset/base/206650 Log: g_io_check: respond to zero pp->mediasize with ENXIO Previsouly this condition was reported with EIO by bio_offset > mediasize check. Perhaps that check should be exten

svn commit: r206649 - head/lib/libc/sys

2010-04-15 Thread Konstantin Belousov
Author: kib Date: Thu Apr 15 08:32:50 2010 New Revision: 206649 URL: http://svn.freebsd.org/changeset/base/206649 Log: Still reference struct __sigaction with clarification when this form of argument declaration is needed. Discussed with: bde MFC after:3 days Modified: head

svn commit: r206648 - head/sys/cam/scsi

2010-04-15 Thread Andriy Gapon
Author: avg Date: Thu Apr 15 08:29:14 2010 New Revision: 206648 URL: http://svn.freebsd.org/changeset/base/206648 Log: scsi_cd: CD_FLAG_VALID_MEDIA is sufficient to set d_sectorsize and d_mediasize CD_FLAG_VALID_TOC is not required for setting those media properties. PR: ke

svn commit: r206647 - stable/8/crypto/openssh

2010-04-15 Thread Konstantin Belousov
Author: kib Date: Thu Apr 15 08:20:57 2010 New Revision: 206647 URL: http://svn.freebsd.org/changeset/base/206647 Log: MFC r206397: Enhance r199804 by marking the daemonised child as immune to OOM instead of short-living parent. Only mark the master process that accepts connections, do not

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

2010-04-15 Thread Konstantin Belousov
Author: kib Date: Thu Apr 15 08:17:28 2010 New Revision: 206646 URL: http://svn.freebsd.org/changeset/base/206646 Log: MFC r206395: Do not leak master pty or ptmx vnode. Modified: stable/8/sys/kern/tty_pts.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/includ