svn commit: r211862 - head/sys/mips/include

2010-08-27 Thread Jayachandran C.
Author: jchandra Date: Fri Aug 27 07:45:50 2010 New Revision: 211862 URL: http://svn.freebsd.org/changeset/base/211862 Log: Whitespace fixes in mips/include, remove unused 'struct tlb' from locore.h PR: misc/147471 Modified: head/sys/mips/include/atomic.h head/sys/mips/includ

svn commit: r211864 - head/bin/pax

2010-08-27 Thread Brian Somers
Author: brian Date: Fri Aug 27 08:54:40 2010 New Revision: 211864 URL: http://svn.freebsd.org/changeset/base/211864 Log: Fix an off-by-one error where we try to split a path name that's more than 100 characters long and the 101th last character is a '/'. MFC after:3 weeks Modified:

svn commit: r211868 - head/sys/sys

2010-08-27 Thread Konstantin Belousov
Author: kib Date: Fri Aug 27 09:55:51 2010 New Revision: 211868 URL: http://svn.freebsd.org/changeset/base/211868 Log: Use private namespace for visibility keyword. Noted by: bde MFC after:3 days Modified: head/sys/sys/cdefs.h Modified: head/sys/sys/cdefs.h ===

svn commit: r211873 - head/sbin/bsdlabel

2010-08-27 Thread Jaakko Heinonen
Author: jh Date: Fri Aug 27 11:08:11 2010 New Revision: 211873 URL: http://svn.freebsd.org/changeset/base/211873 Log: Don't attempt to write label with GEOM_BSD based method if the class is not available. This improves error reporting when bsdlabel(8) is unable to open a device for writing.

svn commit: r211874 - head/sys/netinet

2010-08-27 Thread Andre Oppermann
Author: andre Date: Fri Aug 27 12:34:53 2010 New Revision: 211874 URL: http://svn.freebsd.org/changeset/base/211874 Log: Use timestamp modulo comparison macro for automatic receive buffer scaling to correctly handle wrapping of ticks value. MFC after:1 week Modified: head/sys/netin

Re: svn commit: r211859 - head/lib/libthr/thread

2010-08-27 Thread Pawel Jakub Dawidek
On Fri, Aug 27, 2010 at 03:23:07AM +, David Xu wrote: [...] Hi David. While you at libthr... I found implementation of _pthread_mutex_isowned_np(), which makes me wonder: int _pthread_mutex_isowned_np(pthread_mutex_t *mutex) { struct pthread *curthread = _get_curthread(); int

svn commit: r211875 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 13:54:17 2010 New Revision: 211875 URL: http://svn.freebsd.org/changeset/base/211875 Log: Make comment more readable. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/proto_tcp4.c Mo

svn commit: r211876 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 13:58:38 2010 New Revision: 211876 URL: http://svn.freebsd.org/changeset/base/211876 Log: Add mtx_owned() implementation. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/synch.h Mod

svn commit: r211877 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 14:01:28 2010 New Revision: 211877 URL: http://svn.freebsd.org/changeset/base/211877 Log: Add QUEUE_INSERT() and QUEUE_TAKE() macros that simplify the code a bit. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com

svn commit: r211878 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 14:06:00 2010 New Revision: 211878 URL: http://svn.freebsd.org/changeset/base/211878 Log: We have sync_start() function to start synchronization, introduce sync_stop() function to stop it. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o.

svn commit: r211879 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 14:08:10 2010 New Revision: 211879 URL: http://svn.freebsd.org/changeset/base/211879 Log: Log that synchronization was interrupted in a proper place. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified:

svn commit: r211880 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 14:10:25 2010 New Revision: 211880 URL: http://svn.freebsd.org/changeset/base/211880 Log: Don't increase number synchronized bytes in case of an error. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified:

svn commit: r211881 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 14:12:53 2010 New Revision: 211881 URL: http://svn.freebsd.org/changeset/base/211881 Log: - Remove redundant and incorrect 'old' word from debug message. - Log disconnects as warnings. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http

svn commit: r211882 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 14:26:37 2010 New Revision: 211882 URL: http://svn.freebsd.org/changeset/base/211882 Log: Implement keepalive mechanism inside HAST protocol so we can detect secondary node failures quickly for HAST resources that are rarely modified. Remove XXX from a comment

svn commit: r211883 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 14:28:39 2010 New Revision: 211883 URL: http://svn.freebsd.org/changeset/base/211883 Log: Reduce indent where possible. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/parse.y Modif

svn commit: r211884 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 14:35:39 2010 New Revision: 211884 URL: http://svn.freebsd.org/changeset/base/211884 Log: When logging to stdout/stderr don't close those descriptors after fork(). MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com

svn commit: r211885 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 14:38:12 2010 New Revision: 211885 URL: http://svn.freebsd.org/changeset/base/211885 Log: - Run hooks in background - don't block waiting for them to finish. - Keep all hooks we're running in a global list, so we can report when they finish and also report when

svn commit: r211886 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 15:16:52 2010 New Revision: 211886 URL: http://svn.freebsd.org/changeset/base/211886 Log: Allow to execute specified program on various HAST events. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: h

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

2010-08-27 Thread Pawel Jakub Dawidek
On Fri, Aug 27, 2010 at 03:16:52PM +, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Fri Aug 27 15:16:52 2010 > New Revision: 211886 > URL: http://svn.freebsd.org/changeset/base/211886 > > Log: > Allow to execute specified program on various HAST events. Manual page update will follow soo

svn commit: r211887 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 15:20:31 2010 New Revision: 211887 URL: http://svn.freebsd.org/changeset/base/211887 Log: Document new 'exec' parameter. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/hast.conf.5

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

2010-08-27 Thread pluknet
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) in replay_alloc(). The caller >    (replay_alloc()) knows how to handle r

svn commit: r211888 - head/sys/netinet

2010-08-27 Thread John Baldwin
Author: jhb Date: Fri Aug 27 18:17:46 2010 New Revision: 211888 URL: http://svn.freebsd.org/changeset/base/211888 Log: Simplify the tcp pcblist estimate logic slightly. MFC after:3 days Modified: head/sys/netinet/tcp_subr.c Modified: head/sys/netinet/tcp_subr.c =

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

2010-08-27 Thread Jayachandran C.
Author: jchandra Date: Fri Aug 27 19:53:57 2010 New Revision: 211893 URL: http://svn.freebsd.org/changeset/base/211893 Log: Revamp XLR interrupt handling, the previous scheme does not work well on SMP. We used to route all PIC based interrupts to cpu 0, and used the per-CPU interrupt ma

svn commit: r211894 - head/lib/libc/stdlib

2010-08-27 Thread Konstantin Belousov
Author: kib Date: Fri Aug 27 19:57:17 2010 New Revision: 211894 URL: http://svn.freebsd.org/changeset/base/211894 Log: Do not call __pthread_cxa_finalize with invalid struct dl_phdr_info. Reported and tested by: Fabian Keil MFC after:17 days Modified: head/lib/libc/stdlib/at

svn commit: r211895 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 20:48:12 2010 New Revision: 211895 URL: http://svn.freebsd.org/changeset/base/211895 Log: Add hooks execution. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/primary.c Modified: he

svn commit: r211896 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 20:49:06 2010 New Revision: 211896 URL: http://svn.freebsd.org/changeset/base/211896 Log: Check if no signals were delivered just before going to sleep. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified:

svn commit: r211897 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 21:20:32 2010 New Revision: 211897 URL: http://svn.freebsd.org/changeset/base/211897 Log: Correct when we log interrupted synchronization. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/h

svn commit: r211898 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 21:26:55 2010 New Revision: 211898 URL: http://svn.freebsd.org/changeset/base/211898 Log: When logging to stdout/stderr, flush after each log. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sb

svn commit: r211899 - head/sbin/hastd

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 21:28:02 2010 New Revision: 211899 URL: http://svn.freebsd.org/changeset/base/211899 Log: When SIGTERM or SIGINT is received, terminate worker processes. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified

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

2010-08-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Aug 27 21:31:15 2010 New Revision: 211900 URL: http://svn.freebsd.org/changeset/base/211900 Log: Use ZFS_CTLDIR_NAME instead of hardcoding ".zfs". Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c Modified: head/sys/cddl/contrib/opensolaris/uts/

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

2010-08-27 Thread Kostik Belousov
On Fri, Aug 27, 2010 at 08:49:06PM +, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Fri Aug 27 20:49:06 2010 > New Revision: 211896 > URL: http://svn.freebsd.org/changeset/base/211896 > > Log: > Check if no signals were delivered just before going to sleep. > > MFC after: 2 weeks >

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

2010-08-27 Thread Pawel Jakub Dawidek
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 > > (r211896) > > @@ -1988,7 +1988,9 @@ guard_thread(void *arg) > >

svn commit: r211904 - head/sys/net

2010-08-27 Thread Bjoern A. Zeeb
Author: bz Date: Fri Aug 27 23:22:58 2010 New Revision: 211904 URL: http://svn.freebsd.org/changeset/base/211904 Log: MFp4 CH=182972: Add explicit linkstate UP/DOWN for the epair. This is needed by carp(4) and other things to work. MFC after:5 days Modified: head/sys/net/if_e

svn commit: r211905 - head/sys/dev/ichsmb

2010-08-27 Thread Jack F Vogel
Author: jfv Date: Fri Aug 27 23:24:08 2010 New Revision: 211905 URL: http://svn.freebsd.org/changeset/base/211905 Log: Add support for Intel Cougar Point SMBus controller. MFC afer 1 week Modified: head/sys/dev/ichsmb/ichsmb_pci.c Modified: head/sys/dev/ichsmb/ichsmb_pci.c =

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

2010-08-27 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 27 23:50:13 2010 New Revision: 211906 URL: http://svn.freebsd.org/changeset/base/211906 Log: Make sure not to access unallocated stats memory. Reviewed by: jfv Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c

svn commit: r211907 - in head/sys/dev: e1000 ixgb ixgbe

2010-08-27 Thread Pyun YongHyeon
Author: yongari Date: Sat Aug 28 00:09:19 2010 New Revision: 211907 URL: http://svn.freebsd.org/changeset/base/211907 Log: Do not call voluntary panic(9) in case of if_alloc() failure. Reviewed by: jfv Modified: head/sys/dev/e1000/if_em.c head/sys/dev/e1000/if_igb.c head/sys/dev/e10

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

2010-08-27 Thread Jack F Vogel
Author: jfv Date: Sat Aug 28 00:09:46 2010 New Revision: 211908 URL: http://svn.freebsd.org/changeset/base/211908 Log: Add Intel Cougar Point PCH LPC Controller Device IDs for watchdog support. Also add additional Intel Ibex Peak (5 Series/3400 Series) PCH IDs. MFC after a week Modifie

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

2010-08-27 Thread Pyun YongHyeon
Author: yongari Date: Sat Aug 28 00:16:49 2010 New Revision: 211909 URL: http://svn.freebsd.org/changeset/base/211909 Log: If em(4) failed to allocate RX buffers, do not call panic(9). Just showing some buffer allocation error is more appropriate action for drivers. This should fix occasiona

svn commit: r211910 - head/sys/dev/sound/pci/hda

2010-08-27 Thread Jack F Vogel
Author: jfv Date: Sat Aug 28 00:23:13 2010 New Revision: 211910 URL: http://svn.freebsd.org/changeset/base/211910 Log: Add Intel Cougar Point PCH HD Audio Controller ID MFC in a week Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c

svn commit: r211913 - in head/sys/dev: e1000 ixgb ixgbe

2010-08-27 Thread Pyun YongHyeon
Author: yongari Date: Sat Aug 28 00:34:22 2010 New Revision: 211913 URL: http://svn.freebsd.org/changeset/base/211913 Log: Do not allocate multicast array memory in multicast filter configuration function. For failed memory allocations, em(4)/lem(4) called panic(9) which is not acceptable on