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:

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:

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

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

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

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 a

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

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

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

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 Luigi Rizzo
On Thu, Apr 15, 2010 at 04:38:23PM +0200, Attila Nagy wrote: 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

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

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

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: 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

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 Ulrich Spörlein
On Thu, 15.04.2010 at 17:15:57 +0200, Luigi Rizzo wrote: On Thu, Apr 15, 2010 at 04:38:23PM +0200, Attila Nagy wrote: 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

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:

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

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

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.

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:

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 kamik...@bsdforen.de Reviewed

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-in

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

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: 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:

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_FILES+=usr