svn commit: r275931 - head/sys/modules/cryptodev

2014-12-18 Thread Li-Wen Hsu
Author: lwhsu (ports committer) Date: Fri Dec 19 06:51:01 2014 New Revision: 275931 URL: https://svnweb.freebsd.org/changeset/base/275931 Log: Fix `make depend` in sys/modules Differential Revision:https://reviews.freebsd.org/D1338 Reviewed by: delphij Approved by: delphij Mo

svn commit: r275930 - head/lib/libc/regex

2014-12-18 Thread Xin LI
Author: delphij Date: Fri Dec 19 06:48:47 2014 New Revision: 275930 URL: https://svnweb.freebsd.org/changeset/base/275930 Log: Plug a memory leak. Obtained from:DragonFlyBSD (commit 5119ece) MFC after:2 weeks Modified: head/lib/libc/regex/regcomp.c Modified: head/lib/libc/

svn commit: r275929 - head/sys/dev/iwn

2014-12-18 Thread Adrian Chadd
Author: adrian Date: Fri Dec 19 01:41:51 2014 New Revision: 275929 URL: https://svnweb.freebsd.org/changeset/base/275929 Log: Remove a private copy of ieee80211_add_ssid(). PR: kern/196116 Submitted by: Andriy Voskoboinyk Modified: head/sys/dev/iwn/if_iwn.c Modified: head/s

svn commit: r275928 - head/sys/net80211

2014-12-18 Thread Adrian Chadd
Author: adrian Date: Fri Dec 19 01:39:58 2014 New Revision: 275928 URL: https://svnweb.freebsd.org/changeset/base/275928 Log: Make ieee80211_add_ssid() public. Some drivers use private copies of this. PR: kern/196116 Submitted by: Andriy Voskoboinyk Modified: head/sys/n

svn commit: r275927 - stable/9/sys/geom/raid

2014-12-18 Thread Alexander Motin
Author: mav Date: Fri Dec 19 01:14:41 2014 New Revision: 275927 URL: https://svnweb.freebsd.org/changeset/base/275927 Log: MFC r275503: Avoid unneeded malloc/memcpy/free if there is no metadata on disk. Submitted by: Dmitry Luhtionov Modified: stable/9/sys/geom/raid/md_nvidia.c st

svn commit: r275926 - stable/10/sys/geom/raid

2014-12-18 Thread Alexander Motin
Author: mav Date: Fri Dec 19 01:13:41 2014 New Revision: 275926 URL: https://svnweb.freebsd.org/changeset/base/275926 Log: MFC r275503: Avoid unneeded malloc/memcpy/free if there is no metadata on disk. Submitted by: Dmitry Luhtionov Modified: stable/10/sys/geom/raid/md_nvidia.c sta

svn commit: r275925 - in head: sys/dev/iscsi usr.sbin/ctld usr.sbin/iscsid

2014-12-18 Thread Alexander Motin
Author: mav Date: Fri Dec 19 01:12:22 2014 New Revision: 275925 URL: https://svnweb.freebsd.org/changeset/base/275925 Log: Slightly polish iSCSI parameters negotiation. MFC after:1 week Modified: head/sys/dev/iscsi/iscsi.c head/usr.sbin/ctld/login.c head/usr.sbin/iscsid/login.c

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

2014-12-18 Thread Xin LI
Author: delphij Date: Fri Dec 19 00:20:29 2014 New Revision: 275923 URL: https://svnweb.freebsd.org/changeset/base/275923 Log: Add missing continue: we can't proceed further if the kernel does not panic with zfs_panic_recover. Illumos issue: 5438 zfs_blkptr_verify should continue af

Re: svn commit: r275819 - in head/lib/msun: ld128 ld80 src

2014-12-18 Thread Steve Kargl
On Thu, Dec 18, 2014 at 02:44:47PM -0700, Warner Losh wrote: > > > On Dec 17, 2014, at 2:16 PM, Steve Kargl > > wrote: > > > > > > Ed's diff is ~1000 lines and touches several files. Localizing > > the change to math_private.h would have been a ~20 line > > diff to a single file. > > Then ju

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

2014-12-18 Thread Xin LI
Author: delphij Date: Thu Dec 18 23:45:26 2014 New Revision: 275922 URL: https://svnweb.freebsd.org/changeset/base/275922 Log: MFV r275914: As of r270383, the dbuf_compare comparator compares the dbuf attributes in the following order: db_level (indirect level) db_blkid

svn commit: r275921 - stable/10/sys/i386/i386

2014-12-18 Thread John Baldwin
Author: jhb Date: Thu Dec 18 23:00:17 2014 New Revision: 275921 URL: https://svnweb.freebsd.org/changeset/base/275921 Log: MFC 273871: Skip the smap sysctl instead of panicing if no kernel metadata can be found. Modified: stable/10/sys/i386/i386/machdep.c Directory Properties: stable/10

svn commit: r275920 - head/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 22:32:22 2014 New Revision: 275920 URL: https://svnweb.freebsd.org/changeset/base/275920 Log: Pass real optimal transfer size supported by backend. For files and ZVOLs that is 1MB now, not 128K. MFC after:1 week Modified: head/sys/cam/ctl/ctl.c hea

Re: svn commit: r275819 - in head/lib/msun: ld128 ld80 src

2014-12-18 Thread Adrian Chadd
On 18 December 2014 at 13:44, Warner Losh wrote: > >> On Dec 17, 2014, at 2:16 PM, Steve Kargl >> wrote: >> >> >> Ed's diff is ~1000 lines and touches several files. Localizing >> the change to math_private.h would have been a ~20 line >> diff to a single file. > > Then just back his change out

Re: svn commit: r275819 - in head/lib/msun: ld128 ld80 src

2014-12-18 Thread Warner Losh via svn-src-all
> On Dec 17, 2014, at 2:16 PM, Steve Kargl > wrote: > > > Ed's diff is ~1000 lines and touches several files. Localizing > the change to math_private.h would have been a ~20 line > diff to a single file. Then just back his change out, put yours in and we all win. This seems like ample “this

svn commit: r275918 - head/usr.bin/seq

2014-12-18 Thread Xin LI
Author: delphij Date: Thu Dec 18 20:23:19 2014 New Revision: 275918 URL: https://svnweb.freebsd.org/changeset/base/275918 Log: Sync with NetBSD, mainly address NetBSD bug #43355: Fix valid_format() to be more careful about allowing only valid printf formats. Obtained from:Net

svn commit: r275916 - head/contrib/elftoolchain/elfcopy

2014-12-18 Thread Ed Maste
Author: emaste Date: Thu Dec 18 19:09:59 2014 New Revision: 275916 URL: https://svnweb.freebsd.org/changeset/base/275916 Log: Include section name in strip warning message Modified: head/contrib/elftoolchain/elfcopy/sections.c Modified: head/contrib/elftoolchain/elfcopy/sections.c ==

svn commit: r275914 - vendor-sys/illumos/dist/uts/common/fs/zfs

2014-12-18 Thread Xin LI
Author: delphij Date: Thu Dec 18 18:59:26 2014 New Revision: 275914 URL: https://svnweb.freebsd.org/changeset/base/275914 Log: 5422 preserve AVL invariants in dn_dbufs Reviewed by: Matthew Ahrens Reviewed by: Paul Dagnelie Reviewed by: Josef 'Jeff' Sipek Reviewed by: Albert Lee App

Re: svn commit: r275909 - head

2014-12-18 Thread Garrett Cooper
On Dec 18, 2014, at 10:26, Garrett Cooper wrote: > Author: ngie > Date: Thu Dec 18 18:26:10 2014 > New Revision: 275909 > URL: https://svnweb.freebsd.org/changeset/base/275909 > > Log: > Don't build full clang toolchain or clang extras in stages 1-3 of buildworld … > # cross-tools stage > XMA

svn commit: r275910 - head

2014-12-18 Thread Garrett Cooper
Author: ngie Date: Thu Dec 18 18:30:33 2014 New Revision: 275910 URL: https://svnweb.freebsd.org/changeset/base/275910 Log: Fix accidental MK_DEBUG_FILES=no addition to NXBMAKE in r275909 X-MFC with: r275909 Sponsored by: EMC / Isilon Storage Division Modified: head/Makefile.inc1 Modi

svn commit: r275909 - head

2014-12-18 Thread Garrett Cooper
Author: ngie Date: Thu Dec 18 18:26:10 2014 New Revision: 275909 URL: https://svnweb.freebsd.org/changeset/base/275909 Log: Don't build full clang toolchain or clang extras in stages 1-3 of buildworld MFC after: 1 week Reviewed by: dim (as part of a "larger" diff) Phabric: D1336 Spons

svn commit: r275908 - head/share/man/man7

2014-12-18 Thread Garrett Cooper
Author: ngie Date: Thu Dec 18 18:20:33 2014 New Revision: 275908 URL: https://svnweb.freebsd.org/changeset/base/275908 Log: Document STRIP_CMD in build(7) and note its importance with LOCAL_ITOOLS MFC after: 1 week Phabric: D1335 Reviewed by: brueffer Sponsored by: EMC / Isilon Storag

svn commit: r275907 - in head: . etc etc/mtree tools/build/mk

2014-12-18 Thread Garrett Cooper
Author: ngie Date: Thu Dec 18 18:16:00 2014 New Revision: 275907 URL: https://svnweb.freebsd.org/changeset/base/275907 Log: Fix building/installing tests when TESTSBASE != /usr/tests The work in r258233 hardcoded the assumption that tests was the last component of the tests tree by pushin

svn commit: r275906 - head/usr.sbin/jail

2014-12-18 Thread Jamie Gritton
Author: jamie Date: Thu Dec 18 18:10:39 2014 New Revision: 275906 URL: https://svnweb.freebsd.org/changeset/base/275906 Log: Setgid before running a command as a specified user. Previously only initgroups(3) was called, what isn't quite enough. This brings jail(8) in line with jexec(8), wh

svn commit: r275904 - head/usr.sbin/kldxref

2014-12-18 Thread Warner Losh
Author: imp Date: Thu Dec 18 16:57:19 2014 New Revision: 275904 URL: https://svnweb.freebsd.org/changeset/base/275904 Log: Remove -fno-strict-alias, as it is no longer needed. Modified: head/usr.sbin/kldxref/Makefile Modified: head/usr.sbin/kldxref/Makefile ==

svn commit: r275905 - head/sys/dev/mmc

2014-12-18 Thread Warner Losh
Author: imp Date: Thu Dec 18 16:57:22 2014 New Revision: 275905 URL: https://svnweb.freebsd.org/changeset/base/275905 Log: Don't deselect the card too soon. To set the block size or switch the function parameters, the card has to be in transfer state. If it is in the idle state, the commands

svn commit: r275903 - head/sys/sys

2014-12-18 Thread Andrew Turner
Author: andrew Date: Thu Dec 18 14:31:30 2014 New Revision: 275903 URL: https://svnweb.freebsd.org/changeset/base/275903 Log: Add AArch64 64-bit relocation values. These will be needed by rtld when we import it along with utilities in elftoolchain. Differential Revision:https://re

svn commit: r275902 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-12-18 Thread Andriy Gapon
Author: avg Date: Thu Dec 18 13:46:32 2014 New Revision: 275902 URL: https://svnweb.freebsd.org/changeset/base/275902 Log: MFC r275401: zfs_putpages: actually update mtime and ctime Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Directory Properties: stable/9/

svn commit: r275901 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-12-18 Thread Andriy Gapon
Author: avg Date: Thu Dec 18 13:46:11 2014 New Revision: 275901 URL: https://svnweb.freebsd.org/changeset/base/275901 Log: MFC r275401: zfs_putpages: actually update mtime and ctime Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Directory Properties: stable/1

svn commit: r275900 - stable/10/lib/libc/sys

2014-12-18 Thread Konstantin Belousov
Author: kib Date: Thu Dec 18 11:36:14 2014 New Revision: 275900 URL: https://svnweb.freebsd.org/changeset/base/275900 Log: MFC r271315 (by joel): Minor mdoc nit. MFC r275806: Markup fixes for kqueue(2), no content changes. Modified: stable/10/lib/libc/sys/kqueue.2 Directory Propertie

svn commit: r275899 - in stable/10: lib/libc/sys sys/kern sys/sys

2014-12-18 Thread Konstantin Belousov
Author: kib Date: Thu Dec 18 11:30:51 2014 New Revision: 275899 URL: https://svnweb.freebsd.org/changeset/base/275899 Log: MFC r268843 (by bapt): Extend kqueue's EVFILT_TIMER by adding precision unit flags support. Modified: stable/10/lib/libc/sys/kqueue.2 stable/10/sys/kern/kern_event.c

svn commit: r275898 - stable/10/sys/kern

2014-12-18 Thread Konstantin Belousov
Author: kib Date: Thu Dec 18 11:10:15 2014 New Revision: 275898 URL: https://svnweb.freebsd.org/changeset/base/275898 Log: MFC r259609 (by se): Fix overflow for timeout values of more than 68 years, which is the maximum covered by sbintime (LONG_MAX seconds). MFC r259633 (by se): Fix

svn commit: r275897 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/ext2fs fs/fuse fs/msdosfs fs/nandfs fs/nfsclient fs/nfsserver fs/tmpfs fs/unionfs kern nfsclient nfsserver ufs/ffs u...

2014-12-18 Thread Konstantin Belousov
Author: kib Date: Thu Dec 18 10:01:12 2014 New Revision: 275897 URL: https://svnweb.freebsd.org/changeset/base/275897 Log: The VOP_LOOKUP() implementations for CREATE op do not put the name into namecache, to avoid cache trashing when doing large operations. E.g., tar archive extraction is n

svn commit: r275896 - stable/10/usr.sbin/ctladm

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:49:50 2014 New Revision: 275896 URL: https://svnweb.freebsd.org/changeset/base/275896 Log: MFC r275482: Document r275481 changes. Modified: stable/10/usr.sbin/ctladm/ctladm.8 Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.sbin/ctl

svn commit: r275895 - in stable/10: sys/cam/ctl usr.sbin/ctladm

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:46:53 2014 New Revision: 275895 URL: https://svnweb.freebsd.org/changeset/base/275895 Log: MFC r275568: Count consecutive read requests as blocking in CTL for files and ZVOLs. Technically read requests can be executed in any order or simultaneously since

svn commit: r275894 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:45:28 2014 New Revision: 275894 URL: https://svnweb.freebsd.org/changeset/base/275894 Log: MFC r275512: In addition to r275481 allow threshold notifications work without UNMAP. While without UNMAP support there is not much initiator can do about it, the a

svn commit: r275893 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:43:36 2014 New Revision: 275893 URL: https://svnweb.freebsd.org/changeset/base/275893 Log: MFC r275481: Add to CTL support for threshold notifications for file-backed LUNs. Previously it was supported only for ZVOL-backed LUNs, but now should work for fil

svn commit: r275891 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:37:09 2014 New Revision: 275891 URL: https://svnweb.freebsd.org/changeset/base/275891 Log: MFC r275461: Increase CTL ports limit from 128 to 256 and LUNs limit from 256 to 1024. After recent optimizations this change is no longer blocked by CTL memory con

svn commit: r275892 - in stable/10/sys: cam/ctl cam/scsi cddl/contrib/opensolaris/uts/common/fs/zfs

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:38:07 2014 New Revision: 275892 URL: https://svnweb.freebsd.org/changeset/base/275892 Log: MFC r275474: Add GET LBA STATUS command support to CTL. It is implemented for LUNs backed by ZVOLs in "dev" mode and files. GEOM has no such API, so for LUNs backed b

svn commit: r275890 - in stable/9: contrib/bind9 contrib/bind9/bin/check contrib/bind9/bin/confgen contrib/bind9/bin/dig contrib/bind9/bin/dig/include/dig contrib/bind9/bin/dnssec contrib/bind9/bin...

2014-12-18 Thread Erwin Lansing
Author: erwin Date: Thu Dec 18 08:36:19 2014 New Revision: 275890 URL: https://svnweb.freebsd.org/changeset/base/275890 Log: Update BIND to 9.9.6-P1 Most notable changes in 9.9.6 and includes the latest SA: https://lists.isc.org/pipermail/bind-announce/2014-September/000928.html Note

svn commit: r275889 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:32:56 2014 New Revision: 275889 URL: https://svnweb.freebsd.org/changeset/base/275889 Log: MFC r275459: Unify function names after r275458. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/cam/c

svn commit: r275888 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:32:06 2014 New Revision: 275888 URL: https://svnweb.freebsd.org/changeset/base/275888 Log: MFC r275458: Do not pre-allocate UNIT ATTENTIONs storage for every possible initiator. Abusing ability of major UAs cover minor ones we may not account UAs for inac

svn commit: r275887 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:31:13 2014 New Revision: 275887 URL: https://svnweb.freebsd.org/changeset/base/275887 Log: MFC r275455: Remove some unused code. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/cam/ctl/ctl.c ==

svn commit: r275886 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:30:28 2014 New Revision: 275886 URL: https://svnweb.freebsd.org/changeset/base/275886 Log: MFC r275447: Do not pre-allocate reservation keys memory for every possible initiator. In configurations with many ports, like iSCSI, each LUN is typically accessed

svn commit: r275885 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:28:44 2014 New Revision: 275885 URL: https://svnweb.freebsd.org/changeset/base/275885 Log: MFC r275405: Convert persis_offset from global variable to softc field. Modified: stable/10/sys/cam/ctl/ctl.c stable/10/sys/cam/ctl/ctl_private.h Directory Properties:

svn commit: r275884 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:27:46 2014 New Revision: 275884 URL: https://svnweb.freebsd.org/changeset/base/275884 Log: MFC r275404: Reduce code duplication by creating ctl_set_res_ua() helper. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props changed) Modi

svn commit: r275883 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:27:00 2014 New Revision: 275883 URL: https://svnweb.freebsd.org/changeset/base/275883 Log: MFC r275403: Removed unused variable and unify some names. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props changed) Modified: stable/10

svn commit: r275882 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:26:11 2014 New Revision: 275882 URL: https://svnweb.freebsd.org/changeset/base/275882 Log: MFC r275365: Move ctlfe_onoffline() out of lock to let it sleep when needed. Do some more other polishing while there. Modified: stable/10/sys/cam/ctl/scsi_ctl.c Dir

svn commit: r275881 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:25:00 2014 New Revision: 275881 URL: https://svnweb.freebsd.org/changeset/base/275881 Log: MFC r275058: Coalesce last data move and command status for read commands. Make CTL core and block backend set success status before initiating last data move for rea

svn commit: r275880 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:23:59 2014 New Revision: 275880 URL: https://svnweb.freebsd.org/changeset/base/275880 Log: MFC r275032: Decouple datamove/done logic from CTL status set. Modified: stable/10/sys/cam/ctl/scsi_ctl.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r275879 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:23:04 2014 New Revision: 275879 URL: https://svnweb.freebsd.org/changeset/base/275879 Log: MFC r275009: Use ctl_set_success() instead of direct inlining. Modified: stable/10/sys/cam/ctl/ctl.c stable/10/sys/cam/ctl/ctl_backend_ramdisk.c Directory Properties:

svn commit: r275878 - stable/10/sys/cam/ctl

2014-12-18 Thread Alexander Motin
Author: mav Date: Thu Dec 18 08:22:16 2014 New Revision: 275878 URL: https://svnweb.freebsd.org/changeset/base/275878 Log: MFC r274962: Replace home-grown CTL IO allocator with UMA. Old allocator created significant lock congestion protecting its lists of preallocated I/Os, while UMA pro