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

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 05:45:50 2014 New Revision: 268659 URL: http://svnweb.freebsd.org/changeset/base/268659 Log: MFC r268128: MFV r268122: 4929 want prevsnap property Modified: stable/10/sys/cddl/contrib/opensolaris/common/zfs/zfs_prop.c stable/10/sys/cddl/contrib/opensola

svn commit: r268658 - in stable/10: cddl/contrib/opensolaris/cmd/zpool sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 05:42:09 2014 New Revision: 268658 URL: http://svnweb.freebsd.org/changeset/base/268658 Log: MFC r268126: MFV r268121: 4924 LZ4 Compression for metadata Modified: stable/10/cddl/contrib/opensolaris/cmd/zpool/zpool-features.7 stable/10/sys/cddl/contrib/o

svn commit: r268657 - in stable/10: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/commo...

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 05:39:22 2014 New Revision: 268657 URL: http://svnweb.freebsd.org/changeset/base/268657 Log: MFC r268123: MFV r268119: 4914 zfs on-disk bookmark structure should be named *_phys_t Modified: stable/10/cddl/contrib/opensolaris/cmd/zdb/zdb.c stable/10/cddl

svn commit: r268656 - in stable/10: cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 05:36:26 2014 New Revision: 268656 URL: http://svnweb.freebsd.org/changeset/base/268656 Log: MFC r268086: MFV r267570: 4756 metaslab_group_preload() could deadlock Modified: stable/10/cddl/contrib/opensolaris/cmd/ztest/ztest.c stable/10/sys/cddl/contrib

svn commit: r268655 - head/sys/arm/arm

2014-07-14 Thread Alan Cox
Author: alc Date: Tue Jul 15 05:34:27 2014 New Revision: 268655 URL: http://svnweb.freebsd.org/changeset/base/268655 Log: Eliminate repeated calculation of next_bucket in pmap_protect() and pmap_remove(). Eliminate an unnecessary variable from pmap_remove() and pmap_advise(). Modified: h

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

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 05:32:53 2014 New Revision: 268654 URL: http://svnweb.freebsd.org/changeset/base/268654 Log: MFC r268085: MFV r267569: 4897 Space accounting mismatch in L2ARC/zpool Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Directory Propert

svn commit: r268653 - in stable/10/cddl/contrib/opensolaris: cmd/zdb lib/libzpool/common lib/libzpool/common/sys

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 05:28:58 2014 New Revision: 268653 URL: http://svnweb.freebsd.org/changeset/base/268653 Log: MFC r268084: MFV r267568: 4891 want zdb option to dump all metadata Modified: stable/10/cddl/contrib/opensolaris/cmd/zdb/zdb.8 stable/10/cddl/contrib/opensolari

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

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 05:12:16 2014 New Revision: 268651 URL: http://svnweb.freebsd.org/changeset/base/268651 Log: MFC r268082: MFV r267567: 4881 zfs send performance degradation when embedded block pointers are encountered Modified: stable/10/sys/cddl/contrib/opensolar

svn commit: r268650 - in stable/10: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zf...

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 05:00:46 2014 New Revision: 268650 URL: http://svnweb.freebsd.org/changeset/base/268650 Log: MFC r268079: MFV r267566: 4390 i/o errors when deleting filesystem/zvol can lead to space map corruption Modified: stable/10/cddl/contrib/opensolaris/cmd/z

svn commit: r268649 - in stable/10: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/zstreamdump cddl/contrib/openso...

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 04:53:34 2014 New Revision: 268649 URL: http://svnweb.freebsd.org/changeset/base/268649 Log: MFC r268075: MFV r267565: 4757 ZFS embedded-data block pointers ("zero block compression") 4913 zfs release should not be subject to space checks Added: stable/

svn commit: r268648 - stable/10/cddl/contrib/opensolaris/cmd/zstreamdump

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 04:44:06 2014 New Revision: 268648 URL: http://svnweb.freebsd.org/changeset/base/268648 Log: MFC r260142: MFV r258972: 4373 add block contents print to zstreamdump Modified: stable/10/cddl/contrib/opensolaris/cmd/zstreamdump/zstreamdump.1 stable/10/cddl

svn commit: r268646 - head/usr.bin/mkimg

2014-07-14 Thread Marcel Moolenaar
Author: marcel Date: Tue Jul 15 04:39:23 2014 New Revision: 268646 URL: http://svnweb.freebsd.org/changeset/base/268646 Log: Add image_data() for checking whether a sequence of blocks has data. Use this for VHD and VMDK to avoid allocating space in the image for empty sectors. Note that

svn commit: r268647 - in stable/10: cddl/contrib/opensolaris/cmd/zfs sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/f...

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 04:39:55 2014 New Revision: 268647 URL: http://svnweb.freebsd.org/changeset/base/268647 Log: MFC r266771: MFV r266766: Add a new zfs property, "redundant_metadata" which can have values "all" or "most". The default will be "all", which is the current beha

svn commit: r268645 - stable/10/cddl/contrib/opensolaris/cmd/zdb

2014-07-14 Thread Xin LI
Author: delphij Date: Tue Jul 15 04:33:11 2014 New Revision: 268645 URL: http://svnweb.freebsd.org/changeset/base/268645 Log: MFC r267572: MFV r249332 (illumos-gate 14005:55fc53126003) Illumos ZFS issues: 3654 zdb should print number of ganged blocks Modified: stable/10/cddl/contrib/

Re: svn commit: r268624 - head/sys/dev/vt/hw/efifb

2014-07-14 Thread Nathan Whitehorn
On 07/14/14 11:47, Konstantin Belousov wrote: On Mon, Jul 14, 2014 at 11:43:03AM -0700, Nathan Whitehorn wrote: On 07/14/14 10:53, Konstantin Belousov wrote: On Mon, Jul 14, 2014 at 05:42:22PM +, Nathan Whitehorn wrote: + info->fb_vbase = (intptr_t)pmap_mapdev_attr(info->fb_pbase, +

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

2014-07-14 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jul 15 03:28:37 2014 New Revision: 268644 URL: http://svnweb.freebsd.org/changeset/base/268644 Log: libc/stdlib: Minor cleanups to code originating in NetBSD Mostly ANSIfication and typos. Obtained from:NetBSD MFC after:5 days Modified: head/lib/l

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

2014-07-14 Thread Kevin Lo
Author: kevlo Date: Tue Jul 15 02:21:51 2014 New Revision: 268643 URL: http://svnweb.freebsd.org/changeset/base/268643 Log: Document that listen(2) can fail with EDESTADDRREQ. Modified: head/lib/libc/sys/listen.2 Modified: head/lib/libc/sys/listen.2 ==

svn commit: r268642 - head/lib/libc/gen

2014-07-14 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jul 15 02:21:35 2014 New Revision: 268642 URL: http://svnweb.freebsd.org/changeset/base/268642 Log: libc/gen: small updates to code originating at OpenBSD arc4random.c - CVS rev. 1.22 Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as ``-upper_bo

svn commit: r268641 - head/usr.sbin/service

2014-07-14 Thread Devin Teske
Author: dteske Date: Tue Jul 15 02:18:55 2014 New Revision: 268641 URL: http://svnweb.freebsd.org/changeset/base/268641 Log: Fix an issue with service(8) where utilities such as screen(1) and tmux(1) would behave differently when utilizing rc-script was invoked manually vs. service(8). The i

svn commit: r268640 - in head/sys/dev/cxgbe: . common

2014-07-14 Thread Navdeep Parhar
Author: np Date: Tue Jul 15 01:03:29 2014 New Revision: 268640 URL: http://svnweb.freebsd.org/changeset/base/268640 Log: Allow multi-byte reads in the private CHELSIO_T4_GET_I2C ioctl. The firmware allows up to 48B to be read this way but the driver limits itself to 8B at a time to remain c

svn commit: r268639 - head/usr.sbin/bhyve

2014-07-14 Thread Peter Grehan
Author: grehan Date: Tue Jul 15 00:27:08 2014 New Revision: 268639 URL: http://svnweb.freebsd.org/changeset/base/268639 Log: Use the blockif CHS routine to create fake CHS values, and then populate them in the identity page. This fixes a divide-by-zero error at probe time with NetBSD.

svn commit: r268638 - head/usr.sbin/bhyve

2014-07-14 Thread Peter Grehan
Author: grehan Date: Tue Jul 15 00:25:54 2014 New Revision: 268638 URL: http://svnweb.freebsd.org/changeset/base/268638 Log: Add a call to synthesize a C/H/S value for block emulations that require it (ahci). The algorithm used is from the VHD specification. Modified: head/usr.sbin/bhyve/

Re: svn commit: r267679 - in head: etc/mtree libexec/rtld-elf libexec/rtld-elf/tests libexec/rtld-elf/tests/libpythagoras libexec/rtld-elf/tests/target

2014-07-14 Thread Julio Merino
On Fri, Jun 20, 2014 at 1:14 PM, Jonathan Anderson wrote: > Author: jonathan > Date: Fri Jun 20 17:14:59 2014 > New Revision: 267679 > URL: http://svnweb.freebsd.org/changeset/base/267679 > > Log: > Test RTLD's new LD_LIBRARY_PATH_FDS variable. This breaks "make tinderbox" when WITH_TESTS is se

svn commit: r268637 - head/games/fortune/fortune

2014-07-14 Thread Gavin Atkinson
Author: gavin Date: Mon Jul 14 23:25:29 2014 New Revision: 268637 URL: http://svnweb.freebsd.org/changeset/base/268637 Log: fortune(8): Search fortune files installed by ports/packages as well as those supplied by the base system. PR: 191800 Submitted by: Andy Kosela MFC aft

Re: svn commit: r268566 - head/usr.bin/users

2014-07-14 Thread Joerg Sonnenberger
On Mon, Jul 14, 2014 at 08:37:56PM +0100, Alexander Nasonov wrote: > Joerg Sonnenberger wrote: > > On Sat, Jul 12, 2014 at 09:34:28PM +1000, Bruce Evans wrote: > > > Run time: > > > C++ sort() was twice as slow as qsort() for sorting 1 million dummy > > > users in the allocation tests. About 8 sec

svn commit: r268636 - head/sys/kern

2014-07-14 Thread Mateusz Guzik
Author: mjg Date: Mon Jul 14 22:40:46 2014 New Revision: 268636 URL: http://svnweb.freebsd.org/changeset/base/268636 Log: Plug p_pptr null test in do_execve. It is always true. Modified: head/sys/kern/kern_exec.c Modified: head/sys/kern/kern_exec.c ===

Re: svn commit: r268601 - head/sys/kern

2014-07-14 Thread Eitan Adler
On 13 July 2014 23:00, Kevin Lo wrote: > Author: kevlo > Date: Mon Jul 14 06:00:01 2014 > New Revision: 268601 > URL: http://svnweb.freebsd.org/changeset/base/268601 > > Log: > Make bind(2) and connect(2) return EAFNOSUPPORT for AF_UNIX on wrong > address family. > > See https://bugs.freebsd

svn commit: r268635 - head/sbin/fsck_msdosfs

2014-07-14 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 14 21:32:40 2014 New Revision: 268635 URL: http://svnweb.freebsd.org/changeset/base/268635 Log: newfs_msdosfs: Respect FSFIXFAT Fix some whitespace issues while here. Obtained from:NetBSD (rev. 1.9) MFC after:3 days Modified: head/sbin/fsck_ms

svn commit: r268634 - in head/sys: kern sys

2014-07-14 Thread Mateusz Guzik
Author: mjg Date: Mon Jul 14 21:12:59 2014 New Revision: 268634 URL: http://svnweb.freebsd.org/changeset/base/268634 Log: Manage struct sigacts refcnt with atomics instead of a mutex. MFC after:1 week Modified: head/sys/kern/kern_sig.c head/sys/sys/signalvar.h Modified: head/sys/k

svn commit: r268633 - in head/sys: arm/xilinx boot/fdt/dts/arm dev/cadence

2014-07-14 Thread Ian Lepore
Author: ian Date: Mon Jul 14 20:58:57 2014 New Revision: 268633 URL: http://svnweb.freebsd.org/changeset/base/268633 Log: Fix the Zedboard/Zynq ethernet driver to handle media speed changes so that it can connect to switches at speeds other than 1gb. This requires changing the reference c

svn commit: r268632 - head/sbin/fsck_msdosfs

2014-07-14 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 14 20:58:02 2014 New Revision: 268632 URL: http://svnweb.freebsd.org/changeset/base/268632 Log: msdosfs: Assorted fixes from other BSDs. When truncating cluster chains fix the length of the cluster head. http://marc.info/?t=14030431075&r=1&w=2 Avoid infi

svn commit: r268631 - head/sbin/fsck_msdosfs

2014-07-14 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 14 20:17:09 2014 New Revision: 268631 URL: http://svnweb.freebsd.org/changeset/base/268631 Log: fsck_msdosfs: be a bit more permissive The free space value in the FSInfo block is merely unitialized when it is 0x. This fixes a bug found in NetBSD. It

svn commit: r268630 - stable/10/sbin/fsck_msdosfs

2014-07-14 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 14 20:13:24 2014 New Revision: 268630 URL: http://svnweb.freebsd.org/changeset/base/268630 Log: Revert r268629: This was supposed to go to head first :( Modified: stable/10/sbin/fsck_msdosfs/fat.c Modified: stable/10/sbin/fsck_msdosfs/fat.c

svn commit: r268629 - stable/10/sbin/fsck_msdosfs

2014-07-14 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 14 20:07:23 2014 New Revision: 268629 URL: http://svnweb.freebsd.org/changeset/base/268629 Log: fsck_msdosfs: be a bit more permissive The free space value in the FSInfo block is merely unitialized when it is 0x. This fixes a bug found in NetBSD. It

Re: svn commit: r268566 - head/usr.bin/users

2014-07-14 Thread Alexander Nasonov
Joerg Sonnenberger wrote: > On Sat, Jul 12, 2014 at 09:34:28PM +1000, Bruce Evans wrote: > > Run time: > > C++ sort() was twice as slow as qsort() for sorting 1 million dummy > > users in the allocation tests. About 8 seconds instead of 4, except > > when compiled with -g -O0 it was 15 seconds ins

Re: svn commit: r268566 - head/usr.bin/users

2014-07-14 Thread Joerg Sonnenberger
On Sat, Jul 12, 2014 at 09:34:28PM +1000, Bruce Evans wrote: > Run time: > C++ sort() was twice as slow as qsort() for sorting 1 million dummy > users in the allocation tests. About 8 seconds instead of 4, except > when compiled with -g -O0 it was 15 seconds instead of 4. I find that claim strang

svn commit: r268628 - head/sbin/fsck_msdosfs

2014-07-14 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 14 19:16:49 2014 New Revision: 268628 URL: http://svnweb.freebsd.org/changeset/base/268628 Log: Minor (mostly cosmetic) cleanups Several whitespace fixes convert *rootDir from external to static. Obtained from:NetBSD, OpenBSD (partial) MFC after:

Re: svn commit: r268624 - head/sys/dev/vt/hw/efifb

2014-07-14 Thread Konstantin Belousov
On Mon, Jul 14, 2014 at 11:43:03AM -0700, Nathan Whitehorn wrote: > > On 07/14/14 10:53, Konstantin Belousov wrote: > > On Mon, Jul 14, 2014 at 05:42:22PM +, Nathan Whitehorn wrote: > >> + info->fb_vbase = (intptr_t)pmap_mapdev_attr(info->fb_pbase, > >> + info->fb_size, VM_MEMATTR_WRITE_

Re: svn commit: r268624 - head/sys/dev/vt/hw/efifb

2014-07-14 Thread Nathan Whitehorn
On 07/14/14 10:53, Konstantin Belousov wrote: On Mon, Jul 14, 2014 at 05:42:22PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Mon Jul 14 17:42:22 2014 New Revision: 268624 URL: http://svnweb.freebsd.org/changeset/base/268624 Log: On my Lenovo laptop, the firmware maps the EFI fra

svn commit: r268627 - head/sys/cddl/contrib/opensolaris

2014-07-14 Thread Xin LI
Author: delphij Date: Mon Jul 14 18:04:16 2014 New Revision: 268627 URL: http://svnweb.freebsd.org/changeset/base/268627 Log: Record MFV of 268626. The change is already in FreeBSD as of r268473. Modified: Directory Properties: head/sys/cddl/contrib/opensolaris/ (props changed) ___

svn commit: r268626 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2014-07-14 Thread Xin LI
Author: delphij Date: Mon Jul 14 18:02:36 2014 New Revision: 268626 URL: http://svnweb.freebsd.org/changeset/base/268626 Log: 4951 ZFS administrative commands should use reserved space, not fail with ENOSPC (fix call) Approved by: Christopher Siden illumos/illumos-gate@c39f2c8cacf297

svn commit: r268625 - head/cddl/contrib/opensolaris/cmd/zpool

2014-07-14 Thread Xin LI
Author: delphij Date: Mon Jul 14 17:54:36 2014 New Revision: 268625 URL: http://svnweb.freebsd.org/changeset/base/268625 Log: Bump mdoc date after r268621. X-MFC-With: r268621 Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool.8 Modified: head/cddl/contrib/opensolaris/cmd/zpool/z

Re: svn commit: r268624 - head/sys/dev/vt/hw/efifb

2014-07-14 Thread Konstantin Belousov
On Mon, Jul 14, 2014 at 05:42:22PM +, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Mon Jul 14 17:42:22 2014 > New Revision: 268624 > URL: http://svnweb.freebsd.org/changeset/base/268624 > > Log: > On my Lenovo laptop, the firmware maps the EFI framebuffer with MTRRs set > to uncach

svn commit: r268624 - head/sys/dev/vt/hw/efifb

2014-07-14 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jul 14 17:42:22 2014 New Revision: 268624 URL: http://svnweb.freebsd.org/changeset/base/268624 Log: On my Lenovo laptop, the firmware maps the EFI framebuffer with MTRRs set to uncacheable. This leads to execrable console performance. Once PMAP is up, remap the f

svn commit: r268623 - head/sys/arm/arm

2014-07-14 Thread Alan Cox
Author: alc Date: Mon Jul 14 17:16:09 2014 New Revision: 268623 URL: http://svnweb.freebsd.org/changeset/base/268623 Log: Eliminate dead code. There is no direct map. This code was cut-and-pasted from amd64. Modified: head/sys/arm/arm/pmap-v6.c Modified: head/sys/arm/arm/pmap-v6.c ==

svn commit: r268622 - stable/10/tools/test/dtrace

2014-07-14 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 14 15:54:50 2014 New Revision: 268622 URL: http://svnweb.freebsd.org/changeset/base/268622 Log: MFC r268538: Avoid hardcoding "gcc" in the DTrace tests. At least one test doesn't work yet without gcc, however gcc is not always available in base. Using the

svn commit: r268621 - head/cddl/contrib/opensolaris/cmd/zpool

2014-07-14 Thread Steven Hartland
Author: smh Date: Mon Jul 14 14:33:03 2014 New Revision: 268621 URL: http://svnweb.freebsd.org/changeset/base/268621 Log: Don't report non-native block-size pools under zpool status -x zpool status -x is used to identify pools that are exhibiting errors or are otherwise unavailable, there

svn commit: r268620 - head/lib/libc/net

2014-07-14 Thread Julio Merino
Author: jmmv Date: Mon Jul 14 13:53:10 2014 New Revision: 268620 URL: http://svnweb.freebsd.org/changeset/base/268620 Log: Make generation of nslexer.c more robust. Ensure that lex errors fail the build instead of being silently ignored due to the piped call. Also postpone the update of

Re: svn commit: r268619 - head/usr.bin/users

2014-07-14 Thread Tijl Coosemans
On Mon, 14 Jul 2014 12:24:38 + (UTC) Pietro Cerutti wrote: > Author: gahr (ports committer) > Date: Mon Jul 14 12:24:38 2014 > New Revision: 268619 > URL: http://svnweb.freebsd.org/changeset/base/268619 > > Log: > Unbreak the build by re-enabling exceptions. > > Disabling them breaks bu

svn commit: r268619 - head/usr.bin/users

2014-07-14 Thread Pietro Cerutti
Author: gahr (ports committer) Date: Mon Jul 14 12:24:38 2014 New Revision: 268619 URL: http://svnweb.freebsd.org/changeset/base/268619 Log: Unbreak the build by re-enabling exceptions. Disabling them breaks build on archs using GCC. The problem is at line 156 of bits/basic_ios.h:

svn commit: r268618 - in stable/9: include tools/build/mk

2014-07-14 Thread Tijl Coosemans
Author: tijl Date: Mon Jul 14 11:07:43 2014 New Revision: 268618 URL: http://svnweb.freebsd.org/changeset/base/268618 Log: MFC r267441: Don't install GSS-API headers when the GSSAPI option has been disabled. Some ports assume GSS-API is supported when they find the headers. PR:

svn commit: r268617 - head/sys/fs/tmpfs

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 09:52:33 2014 New Revision: 268617 URL: http://svnweb.freebsd.org/changeset/base/268617 Log: Rework the tmpfs unmount. - Suspend filesystem for unmount. This prevents new tmpfs nodes from instantiating, and also ensures that only unmount thread can destroy

svn commit: r268616 - head/sys/fs/tmpfs

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 09:35:14 2014 New Revision: 268616 URL: http://svnweb.freebsd.org/changeset/base/268616 Log: Change forgotten in r268615. Set the OBJ_TMPFS_NODE flag for vm_object of VREG tmpfs node. Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:2

svn commit: r268615 - head/sys/vm

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 09:30:37 2014 New Revision: 268615 URL: http://svnweb.freebsd.org/changeset/base/268615 Log: The OBJ_TMPFS flag of vm_object means that there is unreclaimed tmpfs vnode for the tmpfs node owning this object. The flag is currently used for two purposes. First, i

svn commit: r268614 - head/sys/fs/tmpfs

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 09:16:55 2014 New Revision: 268614 URL: http://svnweb.freebsd.org/changeset/base/268614 Log: Use tmpfs_vn_get_ino_gen() to handle the races with reclaim in tmpfs dotdot lookup. Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:2 weeks M

svn commit: r268613 - head/sys/fs/tmpfs

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 09:13:56 2014 New Revision: 268613 URL: http://svnweb.freebsd.org/changeset/base/268613 Log: Style. Add comment about lock mode. Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:2 weeks Modified: head/sys/fs/tmpfs/tmpfs_subr.c head/

svn commit: r268612 - in head/sys: kern sys ufs/ffs

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 09:10:00 2014 New Revision: 268612 URL: http://svnweb.freebsd.org/changeset/base/268612 Log: Extract the code to put a filesystem into the suspended state (at the unmount time) in the helper vfs_write_suspend_umnt(). Use it instead of two inline copies in FFS.

svn commit: r268611 - head/sys/fs/tmpfs

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 09:02:40 2014 New Revision: 268611 URL: http://svnweb.freebsd.org/changeset/base/268611 Log: In tmpfs_alloc_file(), code after the 'out' label does only 'return error;'. Replace goto's with the return. Tested by:pho Sponsored by: The FreeBSD Foundation

svn commit: r268610 - head/sys/fs/tmpfs

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 08:59:25 2014 New Revision: 268610 URL: http://svnweb.freebsd.org/changeset/base/268610 Log: Add convenience macro to assert tmpfs node lock. Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:2 weeks Modified: head/sys/fs/tmpfs/tmpfs.h

svn commit: r268609 - head/sys/fs/tmpfs

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 08:55:02 2014 New Revision: 268609 URL: http://svnweb.freebsd.org/changeset/base/268609 Log: Add some assertions for the code handling vm_object for tmpfs vnode. In particular, vnode must be exclusively locked when the tmpfs vnode and object are divorced. When t

svn commit: r268608 - head/sys/fs/tmpfs

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 08:45:29 2014 New Revision: 268608 URL: http://svnweb.freebsd.org/changeset/base/268608 Log: The tmpfs_link() must not dereference the filesystem-specific data for a vnode until it is verified that the vnode indeed belongs to tmpfs mount. Otherwise, it might acc

svn commit: r268607 - head/sys/kern

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 08:41:13 2014 New Revision: 268607 URL: http://svnweb.freebsd.org/changeset/base/268607 Log: In kern_linkat(), avoid passing doomed vnode to the VOP. Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:2 weeks Modified: head/sys/kern/vfs_

svn commit: r268606 - in head/sys: fs/cd9660 fs/msdosfs kern sys

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 08:34:54 2014 New Revision: 268606 URL: http://svnweb.freebsd.org/changeset/base/268606 Log: Generalize vn_get_ino() to allow filesystems to use custom vnode producer, instead of hard-coding VFS_VGET(). New function, which takes callback, is called vn_get_ino_ge

svn commit: r268605 - head/sys/fs/tmpfs

2014-07-14 Thread Konstantin Belousov
Author: kib Date: Mon Jul 14 08:17:11 2014 New Revision: 268605 URL: http://svnweb.freebsd.org/changeset/base/268605 Log: Remove code separator lines which do not conform to style(9). Sponsored by: The FreeBSD Foundation MFC after:2 weeks Modified: head/sys/fs/tmpfs/tmpfs.h head/

Re: svn commit: r268600 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 cddl/dev/dtrace/mips cddl/dev/dtrace/powerpc i386/i386 mips/mips powerpc/aim sys

2014-07-14 Thread Konstantin Belousov
On Mon, Jul 14, 2014 at 04:38:17AM +, Mark Johnston wrote: > Author: markj > Date: Mon Jul 14 04:38:17 2014 > New Revision: 268600 > URL: http://svnweb.freebsd.org/changeset/base/268600 > > Log: > Invoke the DTrace trap handler before calling trap() on amd64. This matches > the upstream im

svn commit: r268604 - stable/10/sys/dev/usb/controller

2014-07-14 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 14 07:30:04 2014 New Revision: 268604 URL: http://svnweb.freebsd.org/changeset/base/268604 Log: MFC r268354: Improve support for Intel Lynx Point USB 3.0 controllers by masking the port routing bits like done in Linux. Modified: stable/10/sys/dev/usb/control

svn commit: r268603 - stable/8/sys/dev/usb/controller

2014-07-14 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 14 07:27:10 2014 New Revision: 268603 URL: http://svnweb.freebsd.org/changeset/base/268603 Log: MFC r268354: Improve support for Intel Lynx Point USB 3.0 controllers by masking the port routing bits like done in Linux. Modified: stable/8/sys/dev/usb/controll

svn commit: r268602 - stable/9/sys/dev/usb/controller

2014-07-14 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 14 07:25:30 2014 New Revision: 268602 URL: http://svnweb.freebsd.org/changeset/base/268602 Log: MFC r268354: Improve support for Intel Lynx Point USB 3.0 controllers by masking the port routing bits like done in Linux. Modified: stable/9/sys/dev/usb/controll