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

2014-07-22 Thread Xin LI
Author: delphij Date: Tue Jul 22 08:37:01 2014 New Revision: 268980 URL: http://svnweb.freebsd.org/changeset/base/268980 Log: Correct typo introduced with r268855. MFC after:10 days X-MFC with: r268855 Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h Modif

svn commit: r268981 - head/sys/dev/drm2

2014-07-22 Thread Aleksandr Rybalko
Author: ray Date: Tue Jul 22 08:52:49 2014 New Revision: 268981 URL: http://svnweb.freebsd.org/changeset/base/268981 Log: Remove #ifdef-s to reduce difference to upstream. Pointed by: kib MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/drm2/drm_f

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

2014-07-22 Thread Steven Hartland
Nice catch, that could well be the cause of the "Solaris Assert/zio.c:2548" panics don't you think? Regards Steve - Original Message - From: "Xin LI" To: ; ; Sent: Tuesday, July 22, 2014 9:37 AM Subject: svn commit: r268980 - head/sys/cddl/contrib/opensolaris/uts/common/fs/z

Re: svn commit: r268158 - in head/sys: amd64/amd64 kern sys

2014-07-22 Thread Roger Pau Monné
On 02/07/14 15:24, Ed Maste wrote: > Author: emaste > Date: Wed Jul 2 13:24:21 2014 > New Revision: 268158 > URL: http://svnweb.freebsd.org/changeset/base/268158 > > Log: > Prefer vt(4) for UEFI boot > > The UEFI framebuffer driver vt_efifb requires vt(4), so add a mechanism > for the st

svn commit: r268982 - head/sys/amd64/amd64

2014-07-22 Thread Ed Maste
Author: emaste Date: Tue Jul 22 13:58:33 2014 New Revision: 268982 URL: http://svnweb.freebsd.org/changeset/base/268982 Log: Don't pass null kmdp to preload_search_info On Xen PVH guests kmdp == NULL. Submitted by: royger MFC after:3 days Sponsored by: The FreeBSD Foundation M

svn commit: r268983 - head/lib/libc/stdio

2014-07-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jul 22 16:10:56 2014 New Revision: 268983 URL: http://svnweb.freebsd.org/changeset/base/268983 Log: rewind: always clear error indicator. Required by POSIX: http://pubs.opengroup.org/onlinepubs/009695399/functions/rewind.html Obtained from:Apple Inc. (Li

svn commit: r268984 - head/lib/libc/stdio

2014-07-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jul 22 16:19:01 2014 New Revision: 268984 URL: http://svnweb.freebsd.org/changeset/base/268984 Log: ftello: return 1 when seeking offset on an append stream. Obtained from:Apple Inc. (Libc 997.90.3) Phabric: D442 MFC after:2 weeks Modified: head

svn commit: r268985 - head/lib/libc/stdio

2014-07-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jul 22 16:39:11 2014 New Revision: 268985 URL: http://svnweb.freebsd.org/changeset/base/268985 Log: Mostly cosmetic cleanups. In fputs() avoid implcit casting on iov.iov_len. MFC after:3 days Modified: head/lib/libc/stdio/fputs.c head/lib/libc/stdio/puts.

Re: svn commit: r268984 - head/lib/libc/stdio

2014-07-22 Thread Andrey Chernov
Producing physical writes on ftell cause great performance degradation. You should check for __SAPP flag before calling sflush to do this only for append-mode files. On 22.07.2014 20:19, Pedro F. Giffuni wrote: > Author: pfg > Date: Tue Jul 22 16:19:01 2014 > New Revision: 268984 > URL: http://svn

Re: svn commit: r268745 - in head/usr.bin: . timeout

2014-07-22 Thread Dag-Erling Smørgrav
Mateusz Guzik writes: > Baptiste Daroussin writes: > > +static sig_atomic_t sig_chld = 0; > > +static sig_atomic_t sig_term = 0; > > +static sig_atomic_t sig_alrm = 0; > > +static sig_atomic_t sig_ign = 0; > No reason to se these explicitely to 0. They do however need to be volatile. DES -- Da

Re: svn commit: r268984 - head/lib/libc/stdio

2014-07-22 Thread Andrey Chernov
On 22.07.2014 20:44, Andrey Chernov wrote: > Producing physical writes on ftell cause great performance degradation. > You should check for __SAPP flag before calling sflush to do this only > for append-mode files. BTW, I believe that sflush() should be completely eliminated even for _SAPP case. S

svn commit: r268986 - head/sys/geom/uzip

2014-07-22 Thread Marcel Moolenaar
Author: marcel Date: Tue Jul 22 17:30:05 2014 New Revision: 268986 URL: http://svnweb.freebsd.org/changeset/base/268986 Log: In r264504, we prevented doing I/O for more than MAXPHYS by making the assumption that consumers would respect bio_completed and/or bio_resid to detect short reads. Th

Re: svn commit: r268984 - head/lib/libc/stdio

2014-07-22 Thread Andrey Chernov
On 22.07.2014 21:08, Andrey Chernov wrote: > On 22.07.2014 20:44, Andrey Chernov wrote: >> Producing physical writes on ftell cause great performance degradation. >> You should check for __SAPP flag before calling sflush to do this only >> for append-mode files. > > BTW, I believe that sflush() sh

Re: svn commit: r268986 - head/sys/geom/uzip

2014-07-22 Thread Adrian Chadd
Wait, which consumers failed that test? -a On 22 July 2014 10:30, Marcel Moolenaar wrote: > Author: marcel > Date: Tue Jul 22 17:30:05 2014 > New Revision: 268986 > URL: http://svnweb.freebsd.org/changeset/base/268986 > > Log: > In r264504, we prevented doing I/O for more than MAXPHYS by mak

Re: svn commit: r268986 - head/sys/geom/uzip

2014-07-22 Thread Marcel Moolenaar
On Jul 22, 2014, at 10:46 AM, Adrian Chadd wrote: > Wait, which consumers failed that test? geom_vfs I presume, because the file corruption is seen with UFS. -- Marcel Moolenaar mar...@xcllnt.net signature.asc Description: Message signed with OpenPGP using GPGMail

Re: svn commit: r268986 - head/sys/geom/uzip

2014-07-22 Thread Adrian Chadd
On 22 July 2014 10:47, Marcel Moolenaar wrote: > > On Jul 22, 2014, at 10:46 AM, Adrian Chadd wrote: > >> Wait, which consumers failed that test? > > geom_vfs I presume, because the file corruption is seen with UFS. Interesting. I wonder if this is about time we bit the bullet and compiled up G

svn commit: r268987 - head/lib/libc/stdio

2014-07-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jul 22 18:37:59 2014 New Revision: 268987 URL: http://svnweb.freebsd.org/changeset/base/268987 Log: Revertr268984: Check for __SAPP flag before calling sflush. This avoids performance degradation compared to the previous approach. Submitted by: ache MFC

Re: svn commit: r268986 - head/sys/geom/uzip

2014-07-22 Thread Slawa Olhovchenkov
On Tue, Jul 22, 2014 at 05:30:06PM +, Marcel Moolenaar wrote: > Author: marcel > Date: Tue Jul 22 17:30:05 2014 > New Revision: 268986 > URL: http://svnweb.freebsd.org/changeset/base/268986 > > Log: > In r264504, we prevented doing I/O for more than MAXPHYS by making > the assumption that

Re: svn commit: r268987 - head/lib/libc/stdio

2014-07-22 Thread Andrey Chernov
On 22.07.2014 22:38, Pedro F. Giffuni wrote: > Author: pfg > Date: Tue Jul 22 18:37:59 2014 > New Revision: 268987 > URL: http://svnweb.freebsd.org/changeset/base/268987 > > Log: > Revert r268984: > Check for __SAPP flag before calling sflush. This avoids > performance degradation com

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

2014-07-22 Thread Sergey Kandaurov
Author: pluknet Date: Tue Jul 22 19:37:38 2014 New Revision: 268988 URL: http://svnweb.freebsd.org/changeset/base/268988 Log: Grammar and spelling fixes. Modified: head/share/man/man4/ddb.4 Modified: head/share/man/man4/ddb.4 ==

svn commit: r268989 - head/sys/dev/cxgbe

2014-07-22 Thread Navdeep Parhar
Author: np Date: Tue Jul 22 19:48:21 2014 New Revision: 268989 URL: http://svnweb.freebsd.org/changeset/base/268989 Log: Add missing newline to an error message. MFC after:3 days Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_sge.c

svn commit: r268990 - head/sys/netinet

2014-07-22 Thread Michael Tuexen
Author: tuexen Date: Tue Jul 22 19:54:22 2014 New Revision: 268990 URL: http://svnweb.freebsd.org/changeset/base/268990 Log: Cleanup the definition of two structures which are exposed to userland. Therefore no MFC. Modified: head/sys/netinet/sctp_uio.h Modified: head/sys/netinet/sctp_uio.h

svn commit: r268991 - head/lib/libc/stdio

2014-07-22 Thread Andrey A. Chernov
Author: ache Date: Tue Jul 22 19:55:25 2014 New Revision: 268991 URL: http://svnweb.freebsd.org/changeset/base/268991 Log: Checking for __SAPP alone is not enough because it is emulated O_APPEND only, so works for only special fdopen() case. Add real O_APPEND too. Modified: head/lib/libc/st

svn commit: r268992 - head/lib/libc/stdio

2014-07-22 Thread Andrey A. Chernov
Author: ache Date: Tue Jul 22 20:13:46 2014 New Revision: 268992 URL: http://svnweb.freebsd.org/changeset/base/268992 Log: Back the whole change out until I figure out how to obtain O_APPEND, it can't be used in this field at all. Modified: head/lib/libc/stdio/ftell.c Modified: head/lib/li

svn commit: r268993 - head/contrib/libstdc++/libsupc++

2014-07-22 Thread Ian Lepore
Author: ian Date: Tue Jul 22 20:32:24 2014 New Revision: 268993 URL: http://svnweb.freebsd.org/changeset/base/268993 Log: Fix EABI unwind function declarations to match the function definitions. The mismatch was noticed by clang, when using it to compile the in-tree gcc and libstdc++. Modif

svn commit: r268994 - head/contrib/gcc/config/arm

2014-07-22 Thread Ian Lepore
Author: ian Date: Tue Jul 22 20:49:58 2014 New Revision: 268994 URL: http://svnweb.freebsd.org/changeset/base/268994 Log: Add FreeBSD to the list of environments that needs to handle R_ARM_TARGET2 relocations in unwind data as pc-relative indirect references. MFC after:1 week Modifie

svn commit: r268995 - in head: . share/man/man9

2014-07-22 Thread Sergey Kandaurov
Author: pluknet Date: Tue Jul 22 22:16:23 2014 New Revision: 268995 URL: http://svnweb.freebsd.org/changeset/base/268995 Log: s/PCBGROUPS/PCBGROUP/ manpage to match "options PCBGROUP". Added: head/share/man/man9/PCBGROUP.9 - copied, changed from r268994, head/share/man/man9/PCBGROUPS.9 D

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

2014-07-22 Thread Sergey Kandaurov
Author: pluknet Date: Tue Jul 22 22:39:59 2014 New Revision: 268996 URL: http://svnweb.freebsd.org/changeset/base/268996 Log: Re-sort synopsis, add includes. Modified: head/share/man/man9/PCBGROUP.9 Modified: head/share/man/man9/PCBGROUP.9

svn commit: r268997 - head/lib/libc/stdio

2014-07-22 Thread Andrey A. Chernov
Author: ache Date: Tue Jul 22 22:49:37 2014 New Revision: 268997 URL: http://svnweb.freebsd.org/changeset/base/268997 Log: For "a"-mode files and rewind/fseek + fwrite combination return meaningful value now, like Apple does, but avoid their __sflush physical write performance degradation as

Re: svn commit: r268997 - head/lib/libc/stdio

2014-07-22 Thread Pedro Giffuni
On 07/22/14 17:49, Andrey A. Chernov wrote: Author: ache Date: Tue Jul 22 22:49:37 2014 New Revision: 268997 URL: http://svnweb.freebsd.org/changeset/base/268997 Log: For "a"-mode files and rewind/fseek + fwrite combination return meaningful value now, like Apple does, but avoid their __s

svn commit: r268998 - head

2014-07-22 Thread Gavin Atkinson
Author: gavin Date: Tue Jul 22 22:57:26 2014 New Revision: 268998 URL: http://svnweb.freebsd.org/changeset/base/268998 Log: /usr/bin/sendbug and the sendbug(1) man page were part of send-pr and are no longer installed since r267486. Add them to ObsoleteFiles.inc1, which should have been don

svn commit: r268999 - in head/usr.sbin/bsdconfig: examples include share share/media share/packages

2014-07-22 Thread Devin Teske
Author: dteske Date: Tue Jul 22 23:10:12 2014 New Revision: 268999 URL: http://svnweb.freebsd.org/changeset/base/268999 Log: Add example script `add_some_packages.sh', demonstrating how to install a list of packages using the bsdconfig(8) API, providing dialog(8) based user experience (versu

svn commit: r269001 - head/lib/libc/stdio

2014-07-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jul 22 23:29:54 2014 New Revision: 269001 URL: http://svnweb.freebsd.org/changeset/base/269001 Log: Avoid possible cast degradation. For consistency with r268985 for fputs.c, assign iov_len first, avoiding the cast to uio_resid (int in stdio) from degrading the val

Re: svn commit: r268986 - head/sys/geom/uzip

2014-07-22 Thread John-Mark Gurney
Adrian Chadd wrote this message on Tue, Jul 22, 2014 at 10:59 -0700: > On 22 July 2014 10:47, Marcel Moolenaar wrote: > > > > On Jul 22, 2014, at 10:46 AM, Adrian Chadd wrote: > > > >> Wait, which consumers failed that test? > > > > geom_vfs I presume, because the file corruption is seen with UFS

svn commit: r269008 - in head: lib/libvmmapi sys/amd64/include sys/amd64/vmm usr.sbin/bhyve

2014-07-22 Thread Neel Natu
Author: neel Date: Wed Jul 23 04:28:51 2014 New Revision: 269008 URL: http://svnweb.freebsd.org/changeset/base/269008 Log: Emulate instructions emitted by OpenBSD/i386 version 5.5: - CMP REG, r/m - MOV AX/EAX/RAX, moffset - MOV moffset, AX/EAX/RAX - PUSH r/m Modified: head/lib/libvmma

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

2014-07-22 Thread Adrian Chadd
Author: adrian Date: Wed Jul 23 05:40:28 2014 New Revision: 269009 URL: http://svnweb.freebsd.org/changeset/base/269009 Log: Fix the igb(4) redirection table to correctly populate. This is similar to the ixgbe(4) fix. Tested: * Intel I350 gigabit adapter Modified: head/sys/dev/