svn commit: r307020 - in stable/10/sys: conf dev/hyperv/vmbus modules/hyperv/vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 07:00:43 2016 New Revision: 307020 URL: https://svnweb.freebsd.org/changeset/base/307020 Log: MFC 302636-302638,302692 302636 hyperv/vmbus: Move channel map to vmbus_softc Sponsored by: Microsoft OSTC Differential Revision: https://revi

svn commit: r307021 - in stable/10/sys/dev/hyperv: include netvsc vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 07:10:12 2016 New Revision: 307021 URL: https://svnweb.freebsd.org/changeset/base/307021 Log: MFC 302693-302697 302693 hyperv/vmbus: Make channel id a field of hv_vmbus_channel. This prepares to remove the unnecessary offer message embedding in

svn commit: r307022 - in stable/10/sys: dev/hyperv/include dev/hyperv/netvsc dev/hyperv/storvsc dev/hyperv/utilities dev/hyperv/vmbus modules/hyperv/utilities

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 07:30:59 2016 New Revision: 307022 URL: https://svnweb.freebsd.org/changeset/base/307022 Log: MFC 302698-302704,302706 302698 hyperv/vmbus: Add vmbus method for GUID base device probing. Reduce the exposure of hv_device. Sponsored by:

svn commit: r307023 - in stable/10/sys/dev/hyperv: include vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 07:37:45 2016 New Revision: 307023 URL: https://svnweb.freebsd.org/changeset/base/307023 Log: MFC 302707-302709 302707 hyperv/vmbus: Nuke unused field from hv_vmbus_channel. Sponsored by: Microsoft OSTC Differential Revision: https://re

svn commit: r307024 - stable/10/sys/dev/hyperv/vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 07:44:26 2016 New Revision: 307024 URL: https://svnweb.freebsd.org/changeset/base/307024 Log: MFC 302710,302713 302710 hyperv/vmbus: Remove unnecessary callback check. Sponsored by: Microsoft OSTC Differential Revision: https://reviews.

svn commit: r307025 - in stable/10/sys/dev/hyperv: include vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 07:50:09 2016 New Revision: 307025 URL: https://svnweb.freebsd.org/changeset/base/307025 Log: MFC 302723,302726,302731 302723 hyperv: All Hypercall parameters have same alignment requirement. Sponsored by: Microsoft OSTC Differential Rev

svn commit: r307026 - in stable/10/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 08:01:43 2016 New Revision: 307026 URL: https://svnweb.freebsd.org/changeset/base/307026 Log: MFC 302733,302737,302801-302806 302733 hyperv/vmbus: Remove unused code Sponsored by: Microsoft OSTC Differential Revision: https://reviews.fr

svn commit: r307027 - in stable/10/sys/dev/hyperv: include netvsc vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 08:14:11 2016 New Revision: 307027 URL: https://svnweb.freebsd.org/changeset/base/307027 Log: MFC 302808-302815 302808 hyperv/vmbus: Alloc/Free monitor param in vmbus channel alloc/free. Sponsored by: Microsoft OSTC Differential Revision

svn commit: r307028 - in stable/10/sys/dev/hyperv: include vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 08:22:17 2016 New Revision: 307028 URL: https://svnweb.freebsd.org/changeset/base/307028 Log: MFC 302816-302818 302816 hyperv/vmbus: Release vmbus channel lock before detach devices Device detach method may sleep. While I'm here, rename

svn commit: r307029 - in stable/10/sys/dev/hyperv: include vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 08:29:04 2016 New Revision: 307029 URL: https://svnweb.freebsd.org/changeset/base/307029 Log: MFC 302819,302823 302819 hyperv/vmbus: Sub-channel related fields renaming And reorganize comment. Sponsored by: Microsoft OSTC Differ

svn commit: r307030 - in stable/10/sys: conf dev/hyperv/vmbus modules/hyperv/vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 08:41:27 2016 New Revision: 307030 URL: https://svnweb.freebsd.org/changeset/base/307030 Log: MFC 302864 hyperv/vmbus: Merge hv_channel_mgmt.c into hv_channel.c Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.o

svn commit: r307031 - stable/10/sys/dev/hyperv/vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 08:48:36 2016 New Revision: 307031 URL: https://svnweb.freebsd.org/changeset/base/307031 Log: MFC 302867-302870 302867 hyperv/vmbus: Remove unused struct Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7

svn commit: r307032 - in stable/10/sys/dev/hyperv: include vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 08:52:27 2016 New Revision: 307032 URL: https://svnweb.freebsd.org/changeset/base/307032 Log: MFC 302871,302872 302871 hyperv/vmbus: Add vmbus_chan_gpadl_connect, which takes GPA physaddr Sponsored by: Microsoft OSTC Differential Revisio

svn commit: r307033 - in stable/10/sys/dev/hyperv: include vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 09:02:55 2016 New Revision: 307033 URL: https://svnweb.freebsd.org/changeset/base/307033 Log: MFC 302873,302874 302873 hyperv/vmbus: Set vcpuid to 0, if MSR_HV_VP_INDEX does not exist. Mainly for compatibility. While I'm here, rename cpuid rela

svn commit: r307034 - in stable/10/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 09:11:23 2016 New Revision: 307034 URL: https://svnweb.freebsd.org/changeset/base/307034 Log: MFC 302875,302876,302878-302881 302875 hyperv/vmbus: Redefine channel packet. The channel packet header will be shared w/ PRP (physical region page)

svn commit: r307035 - stable/10/sys/conf

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 11 09:19:30 2016 New Revision: 307035 URL: https://svnweb.freebsd.org/changeset/base/307035 Log: build: Add vmbus_if.m This is a direct commit, which reflects the difference between current and 10-stable. Sponsored by: Microsoft Modified: stable/10/sys/

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

2016-10-11 Thread Alexander Motin
Author: mav Date: Tue Oct 11 16:46:16 2016 New Revision: 307052 URL: https://svnweb.freebsd.org/changeset/base/307052 Log: MFC r305193: MFV r302642: 6876 Stack corruption after importing a pool with a too-long name illumos/illumos-gate@c971037baa5d64dfecf6d87ed602fc3116ebec41 https://g

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

2016-10-11 Thread Alexander Motin
Author: mav Date: Tue Oct 11 16:47:21 2016 New Revision: 307053 URL: https://svnweb.freebsd.org/changeset/base/307053 Log: MFC r305195: MFV r302643: 6902 speed up listing of snapshots if requesting name only and sorting by name This was our change from the beginning, so just reduce the up

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

2016-10-11 Thread Alexander Motin
Author: mav Date: Tue Oct 11 16:48:12 2016 New Revision: 307054 URL: https://svnweb.freebsd.org/changeset/base/307054 Log: MFC r305197: MFV r302646: 6980 6902 causes zfs send to break due to 32-bit/64-bit struct mismatch illumos/illumos-gate@ea4a67f462de0a39a9adea8197bcdef849de5371 htt

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

2016-10-11 Thread Alexander Motin
Author: mav Date: Tue Oct 11 16:49:16 2016 New Revision: 307055 URL: https://svnweb.freebsd.org/changeset/base/307055 Log: MFC r305198: MFV r302647: 6922 Emit ESC_ZFS_VDEV_REMOVE_AUX after removing an aux device illumos/illumos-gate@63364b0ee2604783e7a55f842567768eafa4 https://gith

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

2016-10-11 Thread Alexander Motin
Author: mav Date: Tue Oct 11 16:50:45 2016 New Revision: 307056 URL: https://svnweb.freebsd.org/changeset/base/307056 Log: MFC r305199: MFV r302648: 7019 zfsdev_ioctl skips secpolicy when FKIOCTL is set Note that the bulk of the upstream change is not applicable to FreeBSD and the affect

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

2016-10-11 Thread Alexander Motin
Author: mav Date: Tue Oct 11 16:52:57 2016 New Revision: 307057 URL: https://svnweb.freebsd.org/changeset/base/307057 Log: MFC r305200: MFV r302651: 7054 dmu_tx_hold_t should use refcount_t to track space illumos/illumos-gate@0c779ad424a92a84d1e07d47cab7f8009189202b https://github.com/

svn commit: r307058 - in stable/10: cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs

2016-10-11 Thread Alexander Motin
Author: mav Date: Tue Oct 11 16:53:50 2016 New Revision: 307058 URL: https://svnweb.freebsd.org/changeset/base/307058 Log: MFC r305207: MFV r302659: 6931 lib/libzfs: cleanup gcc warnings illumos/illumos-gate@88f61dee20b358671b1b643e9d1dbf220a1d69be https://github.com/illumos/illumos-gate

svn commit: r307065 - in stable/10: sys/kern tests/sys/kern

2016-10-11 Thread Jilles Tjoelker
Author: jilles Date: Tue Oct 11 18:51:03 2016 New Revision: 307065 URL: https://svnweb.freebsd.org/changeset/base/307065 Log: wait: Do not copyout uninitialized status/rusage/wrusage. If wait4() or wait6() return 0 because of WNOHANG, the status, rusage and wrusage information should not

svn commit: r307079 - in stable/10/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 02:03:05 2016 New Revision: 307079 URL: https://svnweb.freebsd.org/changeset/base/307079 Log: MFC 302882-302884 302882 hyperv/vmbus: Function rename And reorder the error prone parameters list. Sponsored by: Microsoft OSTC Diffe

svn commit: r307080 - in stable/10/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 02:09:53 2016 New Revision: 307080 URL: https://svnweb.freebsd.org/changeset/base/307080 Log: MFC 302885,302886 302885 hyperv/vmbus: Cleanup channel receiving. Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.

svn commit: r307081 - in stable/10/sys/dev/hyperv: include netvsc vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 02:15:06 2016 New Revision: 307081 URL: https://svnweb.freebsd.org/changeset/base/307081 Log: MFC 302887 hyperv/hn: Busdma-fy rxbuf and chimney sending buffer Nuke unused channel GPADL API. Sponsored by: Microsoft OSTC Differentia

svn commit: r307084 - in stable/10/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 02:45:30 2016 New Revision: 307084 URL: https://svnweb.freebsd.org/changeset/base/307084 Log: MFC 302888-302892,302986,303020-303022 302888 hyperv/hn: Busdma-fy rxbuf and chimney sending buffer Nuke unused channel GPADL API. Sponsored b

svn commit: r307086 - in stable/10/sys: conf dev/hyperv/vmbus modules/hyperv/vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 02:55:24 2016 New Revision: 307086 URL: https://svnweb.freebsd.org/changeset/base/307086 Log: MFC 303023 hyperv/vmbus: Rename laundered vmbus channel code Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D72

svn commit: r307096 - in stable/10/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 03:18:17 2016 New Revision: 307096 URL: https://svnweb.freebsd.org/changeset/base/307096 Log: MFC 303066-303072,303127-303129,303131 303066 hyperv/vmbus: Get rid of unnecessary definition. Sponsored by: Microsoft OSTC Differential Revisi

svn commit: r307097 - stable/10/sys/dev/hyperv/vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 03:32:47 2016 New Revision: 307097 URL: https://svnweb.freebsd.org/changeset/base/307097 Log: MFC 303178,303180,303182 303178 hyperv/vmbus: Cosmetic bufring cleanup. Sponsored by: Microsoft OSTC Differential Revision: https://reviews.fr

svn commit: r307099 - in stable/10/sys/dev/hyperv: netvsc vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 03:37:43 2016 New Revision: 307099 URL: https://svnweb.freebsd.org/changeset/base/307099 Log: MFC 303283 hyperv/vmbus: Rename hv_vmbus_priv.h to vmbus_brvar.h It only contains bufring related bits for a while. Sponsored by: Microsoft OS

svn commit: r307103 - stable/10/sys/dev/hyperv/vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 05:09:26 2016 New Revision: 307103 URL: https://svnweb.freebsd.org/changeset/base/307103 Log: MFC 303284,303329,303361,303362,303366,303368-303370 303284 hyperv/vmbus: Move bufring info definition to vmbus_brvar.h Sponsored by: Microsoft OSTC

svn commit: r307114 - in stable/10/sys: conf dev/hyperv/vmbus modules/hyperv/vmbus

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 05:28:24 2016 New Revision: 307114 URL: https://svnweb.freebsd.org/changeset/base/307114 Log: MFC 303379 hyperv/vmbus: Rename cleaned up bufring code Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7318 Added:

svn commit: r307116 - stable/10/cddl/contrib/opensolaris/lib/libzfs/common

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:36:55 2016 New Revision: 307116 URL: https://svnweb.freebsd.org/changeset/base/307116 Log: MFC r305194: MFV r302642: 6876 Stack corruption after importing a pool with a too-long name illumos/illumos-gate@c971037baa5d64dfecf6d87ed602fc3116ebec41 https://g

svn commit: r307117 - stable/10/cddl/contrib/opensolaris/lib/libzfs/common

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:37:54 2016 New Revision: 307117 URL: https://svnweb.freebsd.org/changeset/base/307117 Log: MFC r305201: MFV r302653: 6111 zfs send should ignore datasets created after the ending snapshot illumos/illumos-gate@4a20c933b148de8a1c1d3538391c64284e636653 http

svn commit: r307118 - stable/10/cddl/contrib/opensolaris/lib/libzfs/common

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:38:44 2016 New Revision: 307118 URL: https://svnweb.freebsd.org/changeset/base/307118 Log: MFC r305202: MFV r302654: 6879 incorrect endianness swap for drr_spill.drr_length in libzfs_sendrecv.c illumos/illumos-gate@20fea7a47472aceb64d3ed48cc2a3ea268bc4795

svn commit: r307119 - stable/10/cddl/contrib/opensolaris/lib/libzfs/common

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:39:29 2016 New Revision: 307119 URL: https://svnweb.freebsd.org/changeset/base/307119 Log: MFC r305203: MFV r302655: 6873 zfs_destroy_snaps_nvl leaks errlist illumos/illumos-gate@4cde22c2ffb907ca39d2ebd512812f7e5168 https://github.com/illumos/illumos-g

svn commit: r307120 - in stable/10/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:41:10 2016 New Revision: 307120 URL: https://svnweb.freebsd.org/changeset/base/307120 Log: MFC r305205: MFV r302657: 4521 zfstest is trying to execute evil "zfs unmount -a" illumos/illumos-gate@8808ac5dae118369991f158b6ab736cb2691ecde https://github.com/

svn commit: r307121 - in stable/10/cddl/contrib/opensolaris: cmd/zpool lib/libzfs/common

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:42:00 2016 New Revision: 307121 URL: https://svnweb.freebsd.org/changeset/base/307121 Log: MFC r305206: MFV r302658: 6872 zfs libraries should not allow uninitialized variables illumos/illumos-gate@f83b46baf98d276f5f84fa84c8b461f412ac1f5e https://github.

svn commit: r307122 - in stable/10: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zhack cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/...

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:43:25 2016 New Revision: 307122 URL: https://svnweb.freebsd.org/changeset/base/307122 Log: MFC r305209: MFV r302660: 6314 buffer overflow in dsl_dataset_name illumos/illumos-gate@9adfa60d484ce2435f5af77cc99dcd4e692b6660 https://github.com/illumos/illumos-g

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

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:44:12 2016 New Revision: 307123 URL: https://svnweb.freebsd.org/changeset/base/307123 Log: MFC r305210: MFV r302661: 7082 bptree_iterate() passes wrong args to zfs_dbgmsg() illumos/illumos-gate@10e67aa0db0823d5464aafdd681f3c966155c68e https://github.com/

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

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:45:40 2016 New Revision: 307125 URL: https://svnweb.freebsd.org/changeset/base/307125 Log: MFC r305221: MFV r302992: 7071 lzc_snapshot does not fill in errlist on ENOENT illumos/illumos-gate@25f7d993adbfb3452ac4625b3791670746d35ae3 https://github.com/ill

svn commit: r307124 - in stable/10: cddl/contrib/opensolaris/lib/libnvpair sys/cddl/contrib/opensolaris/common/nvpair

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:44:54 2016 New Revision: 307124 URL: https://svnweb.freebsd.org/changeset/base/307124 Log: MFC r305211: MFV r302662: 6447 handful of nvpair cleanups illumos/illumos-gate@759e89be359f2af635e4122d147df56bce948773 https://github.com/illumos/illumos-gate/commi

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

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:46:21 2016 New Revision: 307126 URL: https://svnweb.freebsd.org/changeset/base/307126 Log: MFC r305222: MFV r302993: 7104 increase indirect block size illumos/illumos-gate@4b5c8e93cab28d3c65ba9d407fd8f46e3be1db1c https://github.com/illumos/illumos-gate/com

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

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:47:06 2016 New Revision: 307127 URL: https://svnweb.freebsd.org/changeset/base/307127 Log: MFC r305224: MFV r304158: 7136 ESC_VDEV_REMOVE_AUX ought to always include vdev information 7115 6922 generates ESC_ZFS_VDEV_REMOVE_AUX a bit too often illumos/i

svn commit: r307129 - stable/10/sys/cam/scsi

2016-10-11 Thread Alexander Motin
Author: mav Date: Wed Oct 12 05:50:47 2016 New Revision: 307129 URL: https://svnweb.freebsd.org/changeset/base/307129 Log: MFC 306699: Do not retry on some security sense codes. Modified: stable/10/sys/cam/scsi/scsi_all.c Directory Properties: stable/10/ (props changed) Modified: stable/