svn commit: r248608 - head/sys/netinet6

2013-03-21 Thread Kevin Lo
Author: kevlo Date: Fri Mar 22 01:45:54 2013 New Revision: 248608 URL: http://svnweb.freebsd.org/changeset/base/248608 Log: Clean up some unused leftover code. Pointed out by: ae Modified: head/sys/netinet6/nd6.c Modified: head/sys/netinet6/nd6.c ==

svn commit: r248607 - head/sys/netinet6

2013-03-21 Thread Kevin Lo
Author: kevlo Date: Fri Mar 22 01:40:17 2013 New Revision: 248607 URL: http://svnweb.freebsd.org/changeset/base/248607 Log: Remove unused global variables. Reviewed by: ae, glebius Modified: head/sys/netinet6/in6_proto.c Modified: head/sys/netinet6/in6_proto.c =

svn commit: r248603 - in head/tools/regression: pjdfstest security/cap_test

2013-03-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Mar 21 23:07:04 2013 New Revision: 248603 URL: http://svnweb.freebsd.org/changeset/base/248603 Log: Update regression tests after adding chflagsat(2). Sponsored by: The FreeBSD Foundation Modified: head/tools/regression/pjdfstest/Makefile head/tools/regression/pjd

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

2013-03-21 Thread Steven Hartland
Author: smh Date: Thu Mar 21 23:06:11 2013 New Revision: 248602 URL: http://svnweb.freebsd.org/changeset/base/248602 Log: Fix for building libzpool under i386. Reviewed by: pjd (mentor) Approved by: pjd (mentor) MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/

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

2013-03-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Mar 21 23:05:44 2013 New Revision: 248601 URL: http://svnweb.freebsd.org/changeset/base/248601 Log: Document chflagsat(2). Obtained from:jilles Modified: head/lib/libc/sys/Makefile.inc head/lib/libc/sys/cap_rights_limit.2 head/lib/libc/sys/chflags.2 Mod

svn commit: r248600 - in head/sys: compat/freebsd32 kern sys

2013-03-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Mar 21 23:02:19 2013 New Revision: 248600 URL: http://svnweb.freebsd.org/changeset/base/248600 Log: Regenerate after r248599. Sponsored by: The FreeBSD Foundation Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h

svn commit: r248599 - in head: contrib/openbsm/etc lib/libc/sys sys/bsm sys/compat/freebsd32 sys/kern sys/sys

2013-03-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Mar 21 22:59:01 2013 New Revision: 248599 URL: http://svnweb.freebsd.org/changeset/base/248599 Log: Implement chflagsat(2) system call, similar to fchmodat(2), but operates on file flags. Reviewed by: kib, jilles Sponsored by: The FreeBSD Foundation Modified: h

svn commit: r248598 - in head/sys: compat/freebsd32 kern sys

2013-03-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Mar 21 22:47:03 2013 New Revision: 248598 URL: http://svnweb.freebsd.org/changeset/base/248598 Log: Regenerate after r248597. Sponsored by: The FreeBSD Foundation Modified: head/sys/compat/freebsd32/freebsd32_systrace_args.c head/sys/kern/systrace_args.c head/sy

svn commit: r248597 - in head: bin/chflags bin/mv lib/libc/sys sys/compat/freebsd32 sys/fs/tmpfs sys/kern sys/sys tools/regression/pjdfstest

2013-03-21 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Mar 21 22:44:33 2013 New Revision: 248597 URL: http://svnweb.freebsd.org/changeset/base/248597 Log: - Make 'flags' argument to chflags(2), fchflags(2) and lchflags(2) of type u_long. Before this change it was of type int for syscalls, but prototypes in sys/stat.h an

svn commit: r248596 - head/sys/geom

2013-03-21 Thread Konstantin Belousov
Author: kib Date: Thu Mar 21 22:36:43 2013 New Revision: 248596 URL: http://svnweb.freebsd.org/changeset/base/248596 Log: Correct the page count when excess length is trimmed from the bio. Reported and tested by: Ivan Klymenko bio_offset + bp->bio_length; if (e

svn commit: r248593 - in head: lib/libc/sys sys/kern

2013-03-21 Thread Jilles Tjoelker
Author: jilles Date: Thu Mar 21 21:39:15 2013 New Revision: 248593 URL: http://svnweb.freebsd.org/changeset/base/248593 Log: Allow O_CLOEXEC in posix_openpt() flags. PR: kern/162374 Reviewed by: ed Modified: head/lib/libc/sys/posix_openpt.2 head/sys/kern/tty_pts.c Modifie

svn commit: r248591 - head/sys/kern

2013-03-21 Thread Attilio Rao
Author: attilio Date: Thu Mar 21 19:58:25 2013 New Revision: 248591 URL: http://svnweb.freebsd.org/changeset/base/248591 Log: Fix a bug in UMTX_PROFILING: UMTX_PROFILING should really analyze the distribution of locks as they index entries in the umtxq_chains hash-table. However, the curre

Re: svn commit: r248519 - in head/sys/cam: . ata scsi

2013-03-21 Thread Konstantin Belousov
On Thu, Mar 21, 2013 at 05:45:22PM +0100, Pawel Jakub Dawidek wrote: > On Thu, Mar 21, 2013 at 05:30:44PM +0100, Pawel Jakub Dawidek wrote: > > On Tue, Mar 19, 2013 at 03:01:51PM +, Konstantin Belousov wrote: > > > Author: kib > > > Date: Tue Mar 19 15:01:50 2013 > > > New Revision: 248519 > >

Re: svn commit: r248519 - in head/sys/cam: . ata scsi

2013-03-21 Thread Pawel Jakub Dawidek
On Thu, Mar 21, 2013 at 05:30:44PM +0100, Pawel Jakub Dawidek wrote: > On Tue, Mar 19, 2013 at 03:01:51PM +, Konstantin Belousov wrote: > > Author: kib > > Date: Tue Mar 19 15:01:50 2013 > > New Revision: 248519 > > URL: http://svnweb.freebsd.org/changeset/base/248519 > > > > Log: > > Suppor

Re: svn commit: r248519 - in head/sys/cam: . ata scsi

2013-03-21 Thread Pawel Jakub Dawidek
On Tue, Mar 19, 2013 at 03:01:51PM +, Konstantin Belousov wrote: > Author: kib > Date: Tue Mar 19 15:01:50 2013 > New Revision: 248519 > URL: http://svnweb.freebsd.org/changeset/base/248519 > > Log: > Support unmapped i/o for the md(4). > > The vnode-backed md(4) has to map the unmapped

svn commit: r248588 - head/share/man/man9

2013-03-21 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 21 16:19:46 2013 New Revision: 248588 URL: http://svnweb.freebsd.org/changeset/base/248588 Log: Document some flags to the uma_zcreate(). Not all flags are documented, only those that at least are used in the kernel, or that definitely work. Modified: head/sh

svn commit: r248586 - head/share/man/man9

2013-03-21 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 21 16:04:34 2013 New Revision: 248586 URL: http://svnweb.freebsd.org/changeset/base/248586 Log: Document uma_find_refcnt(). Modified: head/share/man/man9/zone.9 Modified: head/share/man/man9/zone.9

svn commit: r248585 - head/sys/arm/broadcom/bcm2835

2013-03-21 Thread Alexander Motin
Author: mav Date: Thu Mar 21 15:42:41 2013 New Revision: 248585 URL: http://svnweb.freebsd.org/changeset/base/248585 Log: Minimal timer period of 100us introduced in r244758 is overkill. While original 2us are indeed not enough, 3us are working quite well on my tests. To be more safe set mi

svn commit: r248584 - head/sys/kern

2013-03-21 Thread John Baldwin
Author: jhb Date: Thu Mar 21 14:06:27 2013 New Revision: 248584 URL: http://svnweb.freebsd.org/changeset/base/248584 Log: Another NFS SIGSTOP related fix: Ignore thread suspend requests due to SIGSTOP if stop signals are currently deferred. This can occur if a process is stopped via SIGSTOP

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

2013-03-21 Thread Dmitry Morozovsky
On Thu, 21 Mar 2013, Steven Hartland wrote: > > (I possibly missed -- when did TRIM support for regular ZFS MFCed to > > stable/9?) > > We've been doing extensive testing in production of ZFS TRIM and following > this latest set of patches I intend to get TRIM MFC'ed to stable-8 & stable-9 > ba

Re: svn commit: r248567 - head/sys/fs/nfsclient

2013-03-21 Thread Ivan Klymenko
В Thu, 21 Mar 2013 15:08:21 +0200 Konstantin Belousov пишет: > ccache ? What compiler is it ? it is with ccache + gcc, with a ccache + clang build successful > Anyway, I committed the supposed fix in the r248581. Thank you, it helped. ___ svn-src-hea

Re: svn commit: r248567 - head/sys/fs/nfsclient

2013-03-21 Thread Peter Wemm
On Thu, Mar 21, 2013 at 6:08 AM, Konstantin Belousov wrote: > On Thu, Mar 21, 2013 at 01:32:36PM +0200, fidaj wrote: >> >> >> >> that commit breaks kernel built >> >> ... >> /usr/local/libexec/ccache/world/cc -O2 -pipe -fno-strict-aliasing -Werror >> -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNE

Re: svn commit: r248567 - head/sys/fs/nfsclient

2013-03-21 Thread Konstantin Belousov
On Thu, Mar 21, 2013 at 01:32:36PM +0200, fidaj wrote: > > > > that commit breaks kernel built > > ... > /usr/local/libexec/ccache/world/cc -O2 -pipe -fno-strict-aliasing -Werror > -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/GENERIC/opt_global

svn commit: r248583 - head/sys/dev/twa

2013-03-21 Thread Konstantin Belousov
Author: kib Date: Thu Mar 21 13:06:28 2013 New Revision: 248583 URL: http://svnweb.freebsd.org/changeset/base/248583 Log: Fix twa(4) after the r246713. The driver copies data around to satisfy some alignment restrictions. Do not set TW_OSLI_REQ_FLAGS_CCB flag for mapped data, pass the csio

svn commit: r248582 - head/share/man/man4

2013-03-21 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 21 13:02:43 2013 New Revision: 248582 URL: http://svnweb.freebsd.org/changeset/base/248582 Log: Document NGM_NAT_LIBALIAS_INFO. Submitted by: Dmitry Luhtionov Modified: head/share/man/man4/ng_nat.4 Modified: head/share/man/man4/ng_nat.4 ===

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

2013-03-21 Thread Konstantin Belousov
Author: kib Date: Thu Mar 21 12:59:24 2013 New Revision: 248581 URL: http://svnweb.freebsd.org/changeset/base/248581 Log: Initialize the variable to avoid (false) compiler warning about use of an uninitialized local. Reported by: Ivan Klymenko MFC after:2 weeks Modified: head/s

svn commit: r248580 - head/games/fortune/datfiles

2013-03-21 Thread Eitan Adler
Author: eadler Date: Thu Mar 21 12:42:25 2013 New Revision: 248580 URL: http://svnweb.freebsd.org/changeset/base/248580 Log: Remove a reference to instant-server which has been removed from the ports tree in r313427. PR: 177012 Submitted by: Kevin Zheng Approved by: bcr (m

Re: svn commit: r248569 - in head/sys: kern vm

2013-03-21 Thread Ivan Klymenko
Kernel panic http://pkgupdate.nevosoft.ru/core.txt.0 http://pkgupdate.nevosoft.ru/vmcore.0 http://pkgupdate.nevosoft.ru/kernel http://pkgupdate.nevosoft.ru/kernel.symbols В Thu, 21 Mar 2013 07:28:15 + (UTC) Konstantin Belousov пишет: > Author: kib > Date: Thu Mar 21 07:28:15 2013 > New Re

Re: svn commit: r248567 - head/sys/fs/nfsclient

2013-03-21 Thread fidaj
that commit breaks kernel built ... /usr/local/libexec/ccache/world/cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=

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

2013-03-21 Thread Steven Hartland
Author: smh Date: Thu Mar 21 11:25:21 2013 New Revision: 248579 URL: http://svnweb.freebsd.org/changeset/base/248579 Log: Add missing descriptions for ZFS sysctls Reviewed by: pjd (mentor) Approved by: pjd (mentor) MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/u

svn commit: r248578 - head/sbin/ipfw

2013-03-21 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Mar 21 11:22:13 2013 New Revision: 248578 URL: http://svnweb.freebsd.org/changeset/base/248578 Log: Remove EOL whitespace. Modified: head/sbin/ipfw/ipfw.8 Modified: head/sbin/ipfw/ipfw.8 ==

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

2013-03-21 Thread Steven Hartland
- Original Message - From: "Dmitry Morozovsky" On Thu, 21 Mar 2013, Steven Hartland wrote: Author: smh Date: Thu Mar 21 09:34:41 2013 New Revision: 248572 URL: http://svnweb.freebsd.org/changeset/base/248572 Log: Add TRIM support for L2ARC. This adds TRIM support to cache vd

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

2013-03-21 Thread Steven Hartland
Author: smh Date: Thu Mar 21 11:02:08 2013 New Revision: 248577 URL: http://svnweb.freebsd.org/changeset/base/248577 Log: Optimisation of TRIM processing. Previously TRIM processing was very bursty. This was made worse by the fact that TRIM requests on SSD's are typically much slower than

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

2013-03-21 Thread Dmitry Morozovsky
On Thu, 21 Mar 2013, Steven Hartland wrote: > Author: smh > Date: Thu Mar 21 09:34:41 2013 > New Revision: 248572 > URL: http://svnweb.freebsd.org/changeset/base/248572 > > Log: > Add TRIM support for L2ARC. > > This adds TRIM support to cache vdevs. When ARC buffers are removed > from t

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

2013-03-21 Thread Steven Hartland
Author: smh Date: Thu Mar 21 10:41:30 2013 New Revision: 248576 URL: http://svnweb.freebsd.org/changeset/base/248576 Log: Names the ZFS TRIM thread Reviewed by: pjd (mentor) Approved by: pjd (mentor) MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zf

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

2013-03-21 Thread Steven Hartland
Author: smh Date: Thu Mar 21 10:29:05 2013 New Revision: 248575 URL: http://svnweb.freebsd.org/changeset/base/248575 Log: TRIM cache devices based on time instead of TXGs. Currently, the trim module uses the same algorithm for data and cache devices when deciding to issue TRIM requests, base

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

2013-03-21 Thread Steven Hartland
Author: smh Date: Thu Mar 21 10:16:10 2013 New Revision: 248574 URL: http://svnweb.freebsd.org/changeset/base/248574 Log: Improve TXG handling in the TRIM module. This patch adds some improvements to the way the trim module considers TXGs: - Free ZIOs are registered with the TXG from t

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

2013-03-21 Thread Steven Hartland
Author: smh Date: Thu Mar 21 10:02:32 2013 New Revision: 248573 URL: http://svnweb.freebsd.org/changeset/base/248573 Log: Don't register repair writes in the trim map. The trim map inflight writes tree assumes non-conflicting writes, i.e. that there will never be two simultaneous write I/

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

2013-03-21 Thread Steven Hartland
Author: smh Date: Thu Mar 21 09:34:41 2013 New Revision: 248572 URL: http://svnweb.freebsd.org/changeset/base/248572 Log: Add TRIM support for L2ARC. This adds TRIM support to cache vdevs. When ARC buffers are removed from the L2ARC in arc_hdr_destroy(), arc_release() or l2arc_evict(),

svn commit: r248571 - in head: . cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zhack cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd...

2013-03-21 Thread Martin Matuska
Author: mm Date: Thu Mar 21 08:38:03 2013 New Revision: 248571 URL: http://svnweb.freebsd.org/changeset/base/248571 Log: Merge libzfs_core branch: includes MFV 238590, 238592, 247580 MFV 238590, 238592: In the first zfs ioctl restructuring phase, the libzfs_core library was intr

svn commit: r248570 - head/sys/netgraph

2013-03-21 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 21 08:36:15 2013 New Revision: 248570 URL: http://svnweb.freebsd.org/changeset/base/248570 Log: Add NGM_NAT_LIBALIAS_INFO command, that reports internal stats of libalias instance. To be used in the mpd5 daemon. Submitted by: Dmitry Luhtionov Modified: he

svn commit: r248569 - in head/sys: kern vm

2013-03-21 Thread Konstantin Belousov
Author: kib Date: Thu Mar 21 07:28:15 2013 New Revision: 248569 URL: http://svnweb.freebsd.org/changeset/base/248569 Log: Only size and create the bio_transient_map when unmapped buffers are enabled. Now, disabling the unmapped buffers should result in the kernel memory map identical to pre

svn commit: r248568 - head/sys/geom

2013-03-21 Thread Konstantin Belousov
Author: kib Date: Thu Mar 21 07:26:33 2013 New Revision: 248568 URL: http://svnweb.freebsd.org/changeset/base/248568 Log: Assert that transient mapping of the bio is only done when unmapped buffers are allowed. Sponsored by: The FreeBSD Foundation Modified: head/sys/geom/geom_io.c Mod

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

2013-03-21 Thread Konstantin Belousov
Author: kib Date: Thu Mar 21 07:25:08 2013 New Revision: 248567 URL: http://svnweb.freebsd.org/changeset/base/248567 Log: Do not call vnode_pager_setsize() while a NFS node mutex is locked. vnode_pager_setsize() might sleep waiting for the page after EOF be unbusied. Call vnode_pager_se

svn commit: r248566 - head/sys/dev/usb/wlan

2013-03-21 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 21 07:04:17 2013 New Revision: 248566 URL: http://svnweb.freebsd.org/changeset/base/248566 Log: Add new USB ID. PR: usb/177173 MFC after:1 week Modified: head/sys/dev/usb/wlan/if_rum.c Modified: head/sys/dev/usb/wlan/if_rum.c ==