ƒ»]243674 121 6585 140 213 213 403 403 1586 295 131 162 478 141 276 110 165 157 353 165 163 1187 109 220 220 220 187 187 184 202 144 289 647 772 146 535 148 192 174 240 125 188 227 384 314 6585 206 286 232 553 766 832 265 412 732 301 553 266 1299 897 206 190 1532 234 443 153 374 765 151 337 430 411 211 149 124 233 233 233 288 435 767 308 150 150 150 194 752 322 278 426 613 180 875 183 183 157 157 167 167 162 162 180 180 158 158 170 170 1928 465 1083 322 270 207 140 1994 139 223 230 151 230 152 287 255 K 10 svn:author V 2 mm K 8 svn:date V 27 2012-11-29T14:05:04.072118Z K 7 svn:log V 6492 Merge ZFS feature flags support and related bugfixes: 236884, 237001, 237119, 237458, 237972, 238113, 238391, 238422, 238926, 238950, 238951, 239389, 239394, 239620, 239774, 239953, 239958, 239967, 239968, 240063, 240133, 240153, 240303, 240345, 240415, 240955, 241655, 243014, 243505, 243506 MFC r236884: Introduce "feature flags" for ZFS pools (bump SPA version to 5000). Add first feature "com.delphix:async_destroy" (asynchronous destroy of ZFS datasets). Implement features support in ZFS boot code. Illumos revisions merged: 13700:2889e2596bd6 13701:1949b688d5fb 2619 asynchronous destruction of ZFS file systems 2747 SPA versioning with zfs feature flags References: https://www.illumos.org/issues/2619 https://www.illumos.org/issues/2747 MFC r237001: Fix ZFS boot with pre-features pools (version <= 28) broken in r236884 MFC r237119 [1]: Do not remount ZFS dataset if changing canmount property to "on" and dataset is already mounted. MFC r237458: Import Illumos revision 13736:9f1d48e1681f 2901 ZFS receive fails for exabyte sparse files References: https://www.illumos.org/issues/2901 MFC r237972: Expose scrub and resilver tunables. This allows the user to tune the priority trade-off between scrub/resilver and other ZFS I/O. MFC r238113 (pjd): vdev_io_done stage is not used for ioctls. MFC r238391: Change behavior introduced in r237119 to vendor solution References: https://www.illumos.org/issues/2883 MFC r238422: Merge illumos commit 13749:df4cd82e2b60 1796 "ZFS HOLD" should not be used when doing "ZFS SEND" froma read-only pool 2871 support for __ZFS_POOL_RESTRICT used by ZFS test suite 2903 zfs destroy -d does not work 2957 zfs destroy -R/r sometimes fails when removing defer-destroyed snapshot References: https://www.illumos.org/issues/1796 https://www.illumos.org/issues/2871 https://www.illumos.org/issues/2903 https://www.illumos.org/issues/2957 MFC r238926: Partial MFV (illumos-gate 13753:2aba784c276b) 2762 zpool command should have better support for feature flags References: https://www.illumos.org/issues/2762 MFC r238950: Fix reporting of root pool upgrade notice. MFC r238951: Fix wrong indent according to style(9) MFC r239389: Backport fix for vendor issue #3085 3085 zfs diff panics, then panics in a loop on booting References: https://www.illumos.org/issues/3085 MFC r239394: Update zfs(8) manpage with illumos version of "zfs diff" Illumos issue: 2399 zfs manual page does not document use of "zfs diff" References: https://www.illumos.org/issues/2399 MFC r239620 [2]: Merge recent vendor changes: 3086 unnecessarily setting DS_FLAG_INCONSISTENT on async destroyed datasets 3090 vdev_reopen() during reguid causes vdev to be treated as corrupt 3102 vdev_uberblock_load() and vdev_validate() may read the wrong label Referenes: https://www.illumos.org/issues/3086 https://www.illumos.org/issues/3090 https://www.illumos.org/issues/3102 MFC r239774: Merge recent vendor changes: 3100 zvol rename fails with EBUSY when dirty 3104 eliminate empty bpobjs 3120 zinject hangs in zfsdev_ioctl() due to uninitialized zc References: https://www.illumos.org/issues/3100 https://www.illumos.org/issues/3104 https://www.illumos.org/issues/3120 MFC r239953 (joel): Mdoc fixes. MFC r239958 (joel): Minor mdoc fixes. MFC r239967 (joel): Mdoc fixes. MFC r239968 (joel): Remove trailing whitespace. MFC r240063 (gjb): Add myself to copyright sections, per CDDL license. MFC r240133: Merge recent vendor changes and sync code: 1862 incremental zfs receive fails for sparse file > 8PB 3112 ztest does not honor ZFS_DEBUG 3122 zfs destroy filesystem should prefetch blocks 3129 'zpool reopen' restarts resilvers 3130 ztest failure: Assertion failed: 0 == dmu_objset_destroy(name, B_FALSE) (0x0 == 0x10) References: https://www.illumos.org/issues/1862 https://www.illumos.org/issues/3112 https://www.illumos.org/issues/3122 https://www.illumos.org/issues/3129 https://www.illumos.org/issues/3130 MFC r240153 (gjb) [3]: Typo fix and minor word swap. MFC r240303: Add assfail() and assfail3() to the opensolaris module. Remove obsoleted intermediate cddl/compat/opensolaris/sys/debug.h. MFC r240345 (avg): zfs: fix sa_modify_attrs handling of variable-sized attributes - skip length_idx index for a replaced variable-sized attribute - skip length_idx index for a removed variable-sized attribute - also re-arranged code to make sure that length_idx is always incremented for variable-sized attributes - additionally add an assertion that the number of actually produced attributes is the same as the expected number of resulting attributes MFC r240415: Merge recent zfs vendor changes, sync code and adjust userland DEBUG. Illumos issued covered: 1884 Empty "used" field for zfs *space commands 3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero 3028 zfs {group,user}space -n prints (null) instead of numeric GID/UID 3048 zfs {user,group}space [-s|-S] is broken 3049 zfs {user,group}space -t doesn't really filter the results 3060 zfs {user,group}space -H output isn't tab-delimited 3061 zfs {user,group}space -o doesn't use specified fields order 3064 usr/src/cmd/zpool/zpool_main.c misspells "successful" 3093 zfs {user,group}space's -i is noop 3098 zfs userspace/groupspace fail without saying why when run as non-root References: https://www.illumos.org/issues/ + [issue_id] MFC r240955 (partial): Merge recent vendor changes in ZFS. Illumos issued covered: 3139 zdb dies when it tries to determine path of unlinked file 3189 kernel panic in ZFS test suite during hotspare_onoffline_004_neg 3208 moving zpool cross-endian results in incorrect user/group accounting References: https://www.illumos.org/issues/ + [issue_id] MFC r241655: Add missing initialization for do_prefix. Corrects porting error in r238391 Vendor issue and changeset reference: 2883 changing "canmount" property to "on" should not always remount dataset https://www.illumos.org/issues/2883 Changeset 13743:95aba6e49b9f MFC r243014: Move zpool-features manual page from section 5 to section 7 and fix references Reported by: pluknet MFC r243505: Illumos 13886:e3261d03efbf 3349 zpool upgrade -V bumps the on disk version number, but leaves the in core version References: https://www.illumos.org/issues/3349 MFC r243506: zfs sha256 checksum is missing in zfs.8 manpage PR: kern/167905 [1], kern/170912 [2], kern/170914 [2], doc/171356 [3] END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-11-29T15:08:13.636207Z K 7 svn:log V 45 Remove debug printf. Pointed out by: emaste END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-11-29T17:35:57.745642Z K 7 svn:log V 121 MFC r243336: Remove opt_inet.h, it isn't required here. MFC r243337: Connect ip6_mroute kernel module to the build. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-11-29T17:41:19.173803Z K 7 svn:log V 121 MFC r243336: Remove opt_inet.h, it isn't required here. MFC r243337: Connect ip6_mroute kernel module to the build. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-29T18:08:36.305575Z K 7 svn:log V 310 MFC r242323, r242328: Add basic BIO_DELETE support to GEOM RAID class for all RAID levels. If at least one subdisk in the volume supports it, BIO_DELETE requests will be propagated down. Unfortunatelly, for RAID levels with redundancy unmapped blocks will be mapped back during first rebuild/resync process. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-29T18:23:21.367670Z K 7 svn:log V 310 MFC r242323, r242328: Add basic BIO_DELETE support to GEOM RAID class for all RAID levels. If at least one subdisk in the volume supports it, BIO_DELETE requests will be propagated down. Unfortunatelly, for RAID levels with redundancy unmapped blocks will be mapped back during first rebuild/resync process. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-11-29T19:10:04.869179Z K 7 svn:log V 1493 cxgbe/tom: Add a flag to indicate that the L2 table entry for an embryonic connection has been setup and never attempt to abort a tid before this is done. This fixes a bad race where a listening socket is closed when the driver is in the middle of step (b) here. The symptom of this were "ARP miss" errors from the driver followed by tid leaks. A hardware-offloaded passive open works this way: a) A SYN "hits" the TCAM entry for a server tid and the chip delivers it to the queue associated with the server tid (say, queue A). It waits for a response from the driver telling it what to do. b) The driver decides it is ok to proceed. It adds the new tid to the list of embryonic connections associated with the server tid and then hands off the SYN to the kernel's syncache to make sure that the kernel okays it too. If it does then the driver provides an L2 table entry, queue id (say, queue B), etc. and instructs the chip to send the SYN/ACK response. c) The chip delivers a status to queue B depending on how the third step of the 3-way handshake goes. The driver removes the tid from its list of embryonic connections and either expands the syncache entry or destroys the tid. In any case all subsequent messages for the new tid will be delivered to queue B, not queue A. Anything running in queue B knows that the L2 entry has long been setup and the new flag is of no interest from here on. If the listener is closed it will deal with so_comp as normal. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2012-11-29T19:39:27.493287Z K 7 svn:log V 203 cxgbe/tom: Handle the case where the chip falls out of DDP mode by itself. The hole in the receive sequence space corresponds to the number of bytes placed directly up to that point. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2012-11-29T21:05:50.826446Z K 7 svn:log V 40 Pull in r243680 and r243681 from head. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-29T21:26:57.586117Z K 7 svn:log V 70 MFC r242945 (by theraven): Import new version of libc++ into base. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-11-30T00:13:31.709138Z K 7 svn:log V 380 Merge r226396, r240605 Make systat(1) accept fractional number of seconds. Make old alarm(3)-based code use select(2). Ability to specify small intervals can be very handy while debugging traffic microbursts. Note that locale-aware strtod(3) is used to parse delay which is slightly different from ping. Fix whitespace inconsistencies in systat(1). Approved by: ed (r226396) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-11-30T00:59:37.635686Z K 7 svn:log V 48 Tidy up inline assembly. No functional change. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-11-30T01:38:00.622392Z K 7 svn:log V 179 Add preliminary support for BCM57766 ASIC. While I'm here add BCM57762 device id which is found on Apple Thunderbolt ethernet. Tested by: Richard Kuhns < rjk <> wintek dot com > END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-11-30T02:31:08.310367Z K 7 svn:log V 16 Fix RGB565 case END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-11-30T02:32:37.780249Z K 7 svn:log V 71 Get frequency from "clock-frequency" property of "/axi/sdhci" FDT node END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-11-30T02:35:13.163346Z K 7 svn:log V 63 - Get proper maximum clock frequency for SDHCI v3.0 and higher END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-11-30T03:08:49.511909Z K 7 svn:log V 258 Add fdt_get_reserved_regions function. API is simmilar to fdt_get_mem_regions It returns memory regions restricted from being used by kernel. These regions are dfined in "memreserve" property of root node in the same format as "reg" property of /memory node END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-11-30T03:11:03.107853Z K 7 svn:log V 71 Get reserved memory regions and exclude them from available memory map END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-30T03:14:11.875863Z K 7 svn:log V 68 Include opt_wlan.h so the net80211 RX debug API compiles correctly. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-11-30T03:15:50.030107Z K 7 svn:log V 1091 - Implement "fdt mres" sub-command that prints reserved memory regions - Add "fdt addr" subcommand that lets you specify preloaded blob address - Do not pre-initialize blob for "fdt addr" - Do not try to load dtb every time fdt subcommand is issued, do it only once - Change the way DTB is passed to kernel. With introduction of "fdt addr" actual blob address can be not virtual but physical or reside in area higher then 64Mb. ubldr should create copy of it in kernel area and pass pointer to this newly allocated buffer which is guaranteed to work in kernel after switching on MMU. - Convert memreserv FDT info to "memreserv" property of root node FDT uses /memreserve/ data to notify OS about reserved memory areas. Technically it's not real property, it's just data blob, sequence of pairs where both start and size are 64-bit integers. It doesn't fit nicely with OF API we use in kernel, so in order to unify thing ubldr converts this data to "memreserve" property using the same format for addresses and sizes as /memory node. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-11-30T03:16:45.254329Z K 7 svn:log V 15 Add vchiq node END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-30T03:38:01.651995Z K 7 svn:log V 124 MFC r243078: Add deviceid to the disk output on boot to help debugging. PR: kern/173290 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-30T03:38:01.993649Z K 7 svn:log V 124 MFC r243078: Add deviceid to the disk output on boot to help debugging. PR: kern/173290 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-30T03:38:02.982873Z K 7 svn:log V 124 MFC r243078: Add deviceid to the disk output on boot to help debugging. PR: kern/173290 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-30T03:48:45.377024Z K 7 svn:log V 92 MFC r243082: Fix memory leak in umount.c PR: bin/172553 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-30T03:48:45.383649Z K 7 svn:log V 92 MFC r243082: Fix memory leak in umount.c PR: bin/172553 Approved by: cperciva (implicit) END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-11-30T04:44:32.030646Z K 7 svn:log V 91 Teach userboot to boot from ISO image files. Reviewed by: ae@, dfr@ Obtained from: NetApp END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-11-30T04:56:39.327402Z K 7 svn:log V 107 - Enable syscons/framebuffer by default - Enable NFS client by default. Might be useful for building ports END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-11-30T05:30:31.974473Z K 7 svn:log V 48 MFC r243599: Take first active vnode correctly. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-11-30T05:40:24.980729Z K 7 svn:log V 193 Properly screen for the AND 0x81 instruction from the set of group1 0x81 instructions that use the reg bits as an extended opcode. Still todo: properly update rflags. Pointed out by: jilles@ END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-11-30T07:00:14.866703Z K 7 svn:log V 551 - Add in an XSDT to stop acpidump from exiting with a 'XSDT corrupted' error - Fix up OEMID/OEM Table ID string padding in the DSDT. Output on a verbose boot now looks like ... ACPI: RSDP 0xf0400 00024 (v02 BHYVE ) ACPI: XSDT 0xf0480 00034 (v01 BHYVE BVXSDT 00000001 INTL 20120320) ACPI: APIC 0xf0500 0004A (v01 BHYVE BVMADT 00000001 INTL 20120320) ACPI: FACP 0xf0600 0010C (v05 BHYVE BVFACP 00000001 INTL 20120320) ACPI: DSDT 0xf0800 000F2 (v02 BHYVE BVDSDT 00000001 INTL 20120320) ACPI: FACS 0xf0780 00040 ... Obtained from: NetApp END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-11-30T16:15:35.682536Z K 7 svn:log V 679 - Bump versions and revert XML migration of the release documents in releng/9.1 branch. The doc tree release/9.1.0 for this release still uses SGML toolchain[1]. - Add SVNROOT{BASE,SRC,DOC,PORTS} for subversion repository URLs and BRANCH{SRC,DOC,PORTS} for the branches to generate-release.sh, and remove -p, -r, -d options. The revision to be built should be specified in the URL. - Add {WORLD,KERNEL}_FLAGS to generate-release.sh. These were supported in the old release build framework. - Disable to use binary package for docproj port during a release build. This package should be built successfully. Pointy hat to: hrs [1] Approved by: re (implicitly) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-11-30T16:18:26.482208Z K 7 svn:log V 54 Remove stale documents. Approved by: re (implicitly) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-11-30T16:33:22.411842Z K 7 svn:log V 437 Make ipfw dynamic states operations SMP-ready. * Global IPFW_DYN_LOCK() is changed to per-bucket mutex. * State expiration is done in ipfw_tick every second. * No expiration is done on forwarding path. * hash table resize is done automatically and does not flush all states. * Dynamic UMA zone is now allocated per each VNET * State limiting is now done via UMA(9) api. Discussed with: ipfw MFC after: 3 weeks Sponsored by: Yandex LLC END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-11-30T19:27:31.287598Z K 7 svn:log V 51 Guess when we'll be ready to announce 9.1-RELEASE. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-11-30T19:35:01.044877Z K 7 svn:log V 95 Merge r243708: Guess when we'll be ready to announce 9.1-RELEASE. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-11-30T19:36:20.737290Z K 7 svn:log V 77 We think we're ready for the 9.1-RELEASE builds. Approved by: re (implicit) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-11-30T19:36:55.326796Z K 7 svn:log V 142 Use common macros for working with rule/dynamic counters. This is done as preparation to introduce per-cpu ipfw counters. MFC after: 3 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-11-30T20:15:01.981924Z K 7 svn:log V 32 Use volatile keywords properly. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-30T20:50:34.836038Z K 7 svn:log V 96 The build-tools step during build32 also needs the -legacy magic. Approved by: marcel (mentor) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-11-30T22:19:18.462264Z K 7 svn:log V 134 First of a series of 11 patches leading to new ixgbe version 2.5.0 This removes the header split and supporting code from the driver. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-30T22:23:23.910490Z K 7 svn:log V 291 Allow OpenSSL to use arc4random(3) on FreeBSD. arc4random(3) was modified some time ago to use sysctl instead of /dev/random to get random data, so is now much better choice, especially for sandboxed processes that have no direct access to /dev/random. Approved by: benl MFC after: 2 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-11-30T22:33:21.001703Z K 7 svn:log V 221 Patch #2 - remove OACTIVE and DEPLETED notions from the multiqueue code, this functionality has proven to be more trouble than it was worth. Thanks to Gleb for a second critical look over my code and help in the patches! END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-11-30T22:38:42.604041Z K 7 svn:log V 6492 Merge ZFS feature flags support and related bugfixes: 236884, 237001, 237119, 237458, 237972, 238113, 238391, 238422, 238926, 238950, 238951, 239389, 239394, 239620, 239774, 239953, 239958, 239967, 239968, 240063, 240133, 240153, 240303, 240345, 240415, 240955, 241655, 243014, 243505, 243506 MFC r236884: Introduce "feature flags" for ZFS pools (bump SPA version to 5000). Add first feature "com.delphix:async_destroy" (asynchronous destroy of ZFS datasets). Implement features support in ZFS boot code. Illumos revisions merged: 13700:2889e2596bd6 13701:1949b688d5fb 2619 asynchronous destruction of ZFS file systems 2747 SPA versioning with zfs feature flags References: https://www.illumos.org/issues/2619 https://www.illumos.org/issues/2747 MFC r237001: Fix ZFS boot with pre-features pools (version <= 28) broken in r236884 MFC r237119 [1]: Do not remount ZFS dataset if changing canmount property to "on" and dataset is already mounted. MFC r237458: Import Illumos revision 13736:9f1d48e1681f 2901 ZFS receive fails for exabyte sparse files References: https://www.illumos.org/issues/2901 MFC r237972: Expose scrub and resilver tunables. This allows the user to tune the priority trade-off between scrub/resilver and other ZFS I/O. MFC r238113 (pjd): vdev_io_done stage is not used for ioctls. MFC r238391: Change behavior introduced in r237119 to vendor solution References: https://www.illumos.org/issues/2883 MFC r238422: Merge illumos commit 13749:df4cd82e2b60 1796 "ZFS HOLD" should not be used when doing "ZFS SEND" froma read-only pool 2871 support for __ZFS_POOL_RESTRICT used by ZFS test suite 2903 zfs destroy -d does not work 2957 zfs destroy -R/r sometimes fails when removing defer-destroyed snapshot References: https://www.illumos.org/issues/1796 https://www.illumos.org/issues/2871 https://www.illumos.org/issues/2903 https://www.illumos.org/issues/2957 MFC r238926: Partial MFV (illumos-gate 13753:2aba784c276b) 2762 zpool command should have better support for feature flags References: https://www.illumos.org/issues/2762 MFC r238950: Fix reporting of root pool upgrade notice. MFC r238951: Fix wrong indent according to style(9) MFC r239389: Backport fix for vendor issue #3085 3085 zfs diff panics, then panics in a loop on booting References: https://www.illumos.org/issues/3085 MFC r239394: Update zfs(8) manpage with illumos version of "zfs diff" Illumos issue: 2399 zfs manual page does not document use of "zfs diff" References: https://www.illumos.org/issues/2399 MFC r239620 [2]: Merge recent vendor changes: 3086 unnecessarily setting DS_FLAG_INCONSISTENT on async destroyed datasets 3090 vdev_reopen() during reguid causes vdev to be treated as corrupt 3102 vdev_uberblock_load() and vdev_validate() may read the wrong label Referenes: https://www.illumos.org/issues/3086 https://www.illumos.org/issues/3090 https://www.illumos.org/issues/3102 MFC r239774: Merge recent vendor changes: 3100 zvol rename fails with EBUSY when dirty 3104 eliminate empty bpobjs 3120 zinject hangs in zfsdev_ioctl() due to uninitialized zc References: https://www.illumos.org/issues/3100 https://www.illumos.org/issues/3104 https://www.illumos.org/issues/3120 MFC r239953 (joel): Mdoc fixes. MFC r239958 (joel): Minor mdoc fixes. MFC r239967 (joel): Mdoc fixes. MFC r239968 (joel): Remove trailing whitespace. MFC r240063 (gjb): Add myself to copyright sections, per CDDL license. MFC r240133: Merge recent vendor changes and sync code: 1862 incremental zfs receive fails for sparse file > 8PB 3112 ztest does not honor ZFS_DEBUG 3122 zfs destroy filesystem should prefetch blocks 3129 'zpool reopen' restarts resilvers 3130 ztest failure: Assertion failed: 0 == dmu_objset_destroy(name, B_FALSE) (0x0 == 0x10) References: https://www.illumos.org/issues/1862 https://www.illumos.org/issues/3112 https://www.illumos.org/issues/3122 https://www.illumos.org/issues/3129 https://www.illumos.org/issues/3130 MFC r240153 (gjb) [3]: Typo fix and minor word swap. MFC r240303: Add assfail() and assfail3() to the opensolaris module. Remove obsoleted intermediate cddl/compat/opensolaris/sys/debug.h. MFC r240345 (avg): zfs: fix sa_modify_attrs handling of variable-sized attributes - skip length_idx index for a replaced variable-sized attribute - skip length_idx index for a removed variable-sized attribute - also re-arranged code to make sure that length_idx is always incremented for variable-sized attributes - additionally add an assertion that the number of actually produced attributes is the same as the expected number of resulting attributes MFC r240415: Merge recent zfs vendor changes, sync code and adjust userland DEBUG. Illumos issued covered: 1884 Empty "used" field for zfs *space commands 3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero 3028 zfs {group,user}space -n prints (null) instead of numeric GID/UID 3048 zfs {user,group}space [-s|-S] is broken 3049 zfs {user,group}space -t doesn't really filter the results 3060 zfs {user,group}space -H output isn't tab-delimited 3061 zfs {user,group}space -o doesn't use specified fields order 3064 usr/src/cmd/zpool/zpool_main.c misspells "successful" 3093 zfs {user,group}space's -i is noop 3098 zfs userspace/groupspace fail without saying why when run as non-root References: https://www.illumos.org/issues/ + [issue_id] MFC r240955 (partial): Merge recent vendor changes in ZFS. Illumos issued covered: 3139 zdb dies when it tries to determine path of unlinked file 3189 kernel panic in ZFS test suite during hotspare_onoffline_004_neg 3208 moving zpool cross-endian results in incorrect user/group accounting References: https://www.illumos.org/issues/ + [issue_id] MFC r241655: Add missing initialization for do_prefix. Corrects porting error in r238391 Vendor issue and changeset reference: 2883 changing "canmount" property to "on" should not always remount dataset https://www.illumos.org/issues/2883 Changeset 13743:95aba6e49b9f MFC r243014: Move zpool-features manual page from section 5 to section 7 and fix references Reported by: pluknet MFC r243505: Illumos 13886:e3261d03efbf 3349 zpool upgrade -V bumps the on disk version number, but leaves the in core version References: https://www.illumos.org/issues/3349 MFC r243506: zfs sha256 checksum is missing in zfs.8 manpage PR: kern/167905 [1], kern/170912 [2], kern/170914 [2], doc/171356 [3] END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-11-30T22:41:32.864072Z K 7 svn:log V 113 Patch #3 - Add a new ioctl to access SFP+ module diagnostic data via the I2C routines in shared code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-30T22:49:28.970648Z K 7 svn:log V 193 IFp4 @208450: Remove redundant call to AUDIT_ARG_UPATH1(). Path will be remembered by the following NDINIT(AUDITVNODE1) call. Sponsored by: FreeBSD Foundation (auditdistd) MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-30T22:52:35.652474Z K 7 svn:log V 139 IFp4 @208381: For VOP_GETATTR() we just need vnode to be shared-locked. Sponsored by: FreeBSD Foundation (auditdistd) MFC after: 2 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-11-30T22:54:14.298784Z K 7 svn:log V 460 Patch #4 - this does two things, it removes a number of statistics, these are FCOE stats (fiber channel over ethernet), something that FreeBSD does not yet have, they were mistaken for flow control by the implementor I believe. Secondly, the real flow control stats are oddly named with a 'link' tag on the front, it was requested by my validation engineer to make these stats have the same name as the igb driver for clarity and that seemed reasonable to me. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-30T22:59:20.310367Z K 7 svn:log V 673 IFp4 @208382: Currently on each record write we call VFS_STATFS() to get available space on the file system as well as VOP_GETATTR() to get trail file size. We can assume that trail file is only updated by the audit worker, so instead of asking for file size on every write, get file size on trail switch only (it should be zero, but it's not expensive) and use global variable audit_size protected by the audit worker lock to keep track of trail file's size. This eliminates VOP_GETATTR() call for every write. VFS_STATFS() is satisfied from in-memory data (mount->mnt_stat), so shouldn't be expensive. Sponsored by: FreeBSD Foundation (auditdistd) MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-30T23:03:51.155561Z K 7 svn:log V 739 IFp4 @208383: Currently when we discover that trail file is greater than configured limit we send AUDIT_TRIGGER_ROTATE_KERNEL trigger to the auditd daemon once. If for some reason auditd didn't rotate trail file it will never be rotated. Change it by sending the trigger when trail file size grows by the configured limit. For example if the limit is 1MB, we will send trigger on 1MB, 2MB, 3MB, etc. This is also needed for the auditd change that will be committed soon where auditd may ignore the trigger - it might be ignored if kernel requests the trail file to be rotated too quickly (often than once a second) which would result in overwriting previous trail file. Sponsored by: FreeBSD Foundation (auditdistd) MFC after: 2 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-11-30T23:06:27.322751Z K 7 svn:log V 172 Patch #5 Cleanup unused IEEE1588 code fragments, the day may come when this feature gets implemented, but its not here yet and I see no reason to leave this laying around. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-11-30T23:13:56.293701Z K 7 svn:log V 319 Patch #6 Whitespace cleanup, and removal of some very old defines (at Gleb's request). Also, change the defines around the old transmit code to IXGBE_LEGACY_TX, I do this to make it possible to define this regardless of the OS level (it is not defined by default). There are also a couple changed comments for clarity. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-30T23:18:49.328210Z K 7 svn:log V 639 IFp4 @208451: Fix path handling for *at() syscalls. Before the change directory descriptor was totally ignored, so the relative path argument was appended to current working directory path and not to the path provided by descriptor, thus wrong paths were stored in audit logs. Now that we use directory descriptor in vfs_lookup, move AUDIT_ARG_UPATH1() and AUDIT_ARG_UPATH2() calls to the place where we hold file descriptors table lock, so we are sure paths will be resolved according to the same directory in audit record and in actual operation. Sponsored by: FreeBSD Foundation (auditdistd) Reviewed by: rwatson MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-30T23:21:55.828169Z K 7 svn:log V 208 IFp4 @208452: Audit handling for missing events: - AUE_READLINKAT - AUE_FACCESSAT - AUE_MKDIRAT - AUE_MKFIFOAT - AUE_MKNODAT - AUE_SYMLINKAT Sponsored by: FreeBSD Foundation (auditdistd) MFC after: 2 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-11-30T23:28:01.214203Z K 7 svn:log V 460 Patch #7 This is primarily about processing limit control. - add a limit for both RX and TX, change the default to 256 - change the sysctl usage to be common, and now to be called during init for each ring. - the TX limit is not yet used, but the changes in the last patch in this series uses the value. - the motivation behind these changes is to improve data locality in the final code. - rxeof interface changes since it now gets limit from the ring struct END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-11-30T23:45:55.737707Z K 7 svn:log V 173 Patch #8 Performance changes - this one improves locality, moving some counters and data to the ring struct from the adapter struct, also compressing some data in the move. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-11-30T23:50:07.332105Z K 7 svn:log V 1201 Import OpenBSM 1.2-alpha2: OpenBSM 1.2 alpha 2 - auditdistd, a distributed audit trail management daemon, has now been merged. This allows trail files to be securely and reliably synced from audited hosts to an audit server, and employs TLS encryption. Where available, it uses Capsicum to sandbox the service. This work was contributed by Pawel Jakub Dawidek under sponsorship from the FreeBSD Foundation. OpenBSM 1.2 alpha 1 - Add Capsicum-related error numbers for FreeBSD: ENOTCAPABLE, ECAPMODE. - Add Capsicum, process descriptor audit events for FreeBSD. - Allow 0% minspace. - Fixes from the clang static analyser. - Fix expiration of trail files when the host parameter is used. - Various typo fixes. - Support for Solaris privilege and privilege set tokens. - Documentation for getachost(), improvements for getacfilesz(). - Fix a directory descriptor leak that happened when audit trail partitions filled. - Support for more Linux distributions with a partial contemporary endian.h. - Improved escaping of XML-encapsulated BSM. - A variety of minor documentation, style, and functional. Obtained from: TrustedBSD Project Sponsored by: The FreeBSD Foundation (auditdistd) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-30T23:51:33.525966Z K 7 svn:log V 801 libc: Allow setting close-on-exec in fopen/freopen/fdopen. This commit adds a new mode option 'e' that must follow any 'b', '+' and/or 'x' options. C11 is clear about the 'x' needing to follow 'b' and/or '+' and that is what we implement; therefore, require a strict position for 'e' as well. For freopen() with a non-NULL path argument and fopen(), the close-on-exec flag is set iff the 'e' mode option is specified. For freopen() with a NULL path argument and fdopen(), the close-on-exec flag is turned on if the 'e' mode option is specified and remains unchanged otherwise. Although the same behaviour for fopen() can be obtained by open(O_CLOEXEC) and fdopen(), this needlessly complicates the calling code. Apart from the ordering requirement, the new option matches glibc. PR: kern/169320 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-11-30T23:52:45.271042Z K 7 svn:log V 109 Tag OpenBSM 1.2-alpha2. Obtained from: TrustedBSD Project Sponsored by: The FreeBSD Foundation (auditdistd) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-11-30T23:54:57.343456Z K 7 svn:log V 98 Patch #9 Performance - improve the tx dma failure path, similar to a change done in igb long ago. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-12-01T00:02:31.212856Z K 7 svn:log V 1434 Merge a number of post-1.2-alpha2 changes to OpenBSM into the OpenBSM vendor area; these sort out various post-release issues, largely to do with integrating OpenBSM with the base FreeBSD build. All of these changes will appear in a future 1.2-alpha3: Change 219846 on 2012/11/26 by rwatson@rwatson_cinnamon Update several instances of Apple Computer to Apple; a change made in the FreeBSD tree some years ago but not propagated to OpenBSM. Change 219845 on 2012/11/26 by rwatson@rwatson_cinnamon Remove Apple acknowledgement clause from file with Christian Peron copyright (with permission from Christian). Change 219836 on 2012/11/23 by rwatson@rwatson_cinnamon Replace further instances of <> with "" for local includes in auditdistd. Change 219834 on 2012/11/23 by rwatson@rwatson_cinnamon For current-directory headers, use #include "" rather than #include <>. Change 219832 on 2012/11/23 by rwatson@rwatson_cinnamon Be more consistent with the remainder of OpenBSM and include config/config.h rather than config.h. Don't include config.h from synch.h, which is included only from .c files that already include config.h. Change 219831 on 2012/11/23 by pjd@pjd_anger Add Xref to auditdistd(8). Suggested by: rwatson Obtained from: TrustedBSD Project Sponsored by: The FreeBSD Foundation (auditdistd) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-12-01T00:03:58.758185Z K 7 svn:log V 141 Patch #10 Performance - this changes the protocol offload interface and code in the TX path,making it tighter and hopefully more efficient. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-12-01T00:11:24.147554Z K 7 svn:log V 350 Patch #11 - The final patch: this one greatly improves the TX hot path by getting rid of index calculations and simply managing pointers. Much of the creative code is due to my coworker here at Intel, Alex Duyck, thanks Alex! Also, this whole series of patches was given the critical eye of Gleb Smirnoff and is all the better for it, thanks Gleb! END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-12-01T00:56:19.445653Z K 7 svn:log V 60 Remove duplicate code. Reduce diff between amd64 and i386. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-01T01:07:51.171767Z K 7 svn:log V 276 MFC: r241561 Add two new options to the nfssvc(2) syscall that allow processes running as root to suspend/resume execution of the kernel nfsd threads. An earlier version of this patch was tested by Vincent Hoffman (vince at unsane.co.uk) and John Hickey (jh at deterlab.net). END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-01T01:11:59.955102Z K 7 svn:log V 667 MFC: r241568 Add a new '-S' option to mountd, which tells it to suspend execution of the nfsd threads while it is reloading the exports. This avoids clients from getting intermittent access errors when the exports are being reloaded non-atomically. It is not an ideal solution, since requests will back up while the nfsd threads are suspended. Also, when this option is used, if mountd crashes while reloading exports, mountd will have to be restarted to get the nfsd threads to resume execution. This has been tested by Vincent Hoffman (vince at unsane.co.uk) and John Hickey (jh at deterlab.net). The nfse patch offers a more comprehensive solution for this issue. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-01T01:16:40.730837Z K 7 svn:log V 54 MFC: r241569 Document the -S option added by r241568. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-12-01T01:24:40.409681Z K 7 svn:log V 244 Patch #12 OK, I said there was only 11 patches, but unfortunately the revamped sysctl code did not work, and needed a change. This makes the limit get set at the time that all sysctl stats are created and is actually more elegant imho anyway. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-12-01T02:02:19.796965Z K 7 svn:log V 337 MFC r243562: Update some definitions or make them match NetBSD's headers. Bring several definitions required for newer ext4 features. Rename EXT2F_COMPAT_HTREE to EXT2F_COMPAT_DIRHASHINDEX since it is not being used yet and the new name is more compatible with NetBSD and Linux. This change is purely cosmetic. Obtained from: NetBSD END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-01T03:48:11.200306Z K 7 svn:log V 315 Add a new HAL capability - check and enforce whether the NIC supports enforcing the TXOP and TBTT limits: * Frames which will overlap with TBTT will not TX; * Frames which will exceed TXOP will be filtered. This is not enabled by default; it's intended to be enabled by the TDMA code on 802.11n capable chipsets. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-12-01T05:07:49.001567Z K 7 svn:log V 115 Allow the ABI to be toggled between the current ARM ABI and the EABI with the ARM EABI the default on this branch. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-01T08:51:40.132558Z K 7 svn:log V 57 IFp4 @219811: VFS is now fully MPSAFE, fix compilation. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-01T08:59:36.177026Z K 7 svn:log V 32 Fix one more compilation issue. END K 10 svn:author V 3 ume K 8 svn:date V 27 2012-12-01T11:03:19.337196Z K 7 svn:log V 140 MFC r243649: cyrus-sasl 2.1.26 was released. In this version, the type of callback functions was changed from "unsigned long" to "size_t". END K 10 svn:author V 3 ume K 8 svn:date V 27 2012-12-01T11:08:46.778606Z K 7 svn:log V 140 MFC r243649: cyrus-sasl 2.1.26 was released. In this version, the type of callback functions was changed from "unsigned long" to "size_t". END K 10 svn:author V 3 ume K 8 svn:date V 27 2012-12-01T11:12:04.334963Z K 7 svn:log V 140 MFC r243649: cyrus-sasl 2.1.26 was released. In this version, the type of callback functions was changed from "unsigned long" to "size_t". END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-12-01T11:58:08.215109Z K 7 svn:log V 191 Merge OpenBSM 1.2-alpha2 from vendor branch to FreeBSD 10-CURRENT; the primary new feature is auditdistd. Obtained from: TrustedBSD Project Sponsored by: The FreeBSD Foundation (auditdistd) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-12-01T13:46:37.513816Z K 7 svn:log V 338 Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to src/sys/{bsm,security/audit}. There are a few tweaks to help with the FreeBSD build environment that will be merged back to OpenBSM. No significant functional changes appear on the kernel side. Obtained from: TrustedBSD Project Sponsored by: The FreeBSD Foundation (auditdistd) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-12-01T15:11:46.574360Z K 7 svn:log V 670 Merge a number of changes required to hook up OpenBSM 1.2-alpha2's auditdistd (distributed audit daemon) to the build: - Manual cross references - Makefile for auditdistd - rc.d script, rc.conf entrie - New group and user for auditdistd; associated aliases, etc. The audit trail distribution daemon provides reliable, cryptographically protected (and sandboxed) delivery of audit tails from live clients to audit server hosts in order to both allow centralised analysis, and improve resilience in the event of client compromises: clients are not permitted to change trail contents after submission. Submitted by: pjd Sponsored by: The FreeBSD Foundation (auditdistd) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-01T15:25:41.932131Z K 7 svn:log V 212 The getline function returns the number of characters read, not written. Use clearer text for this. PR: docs/174023 Submitted by: Paul Procacci Approved by: bcr (mentor) MFC after: 1 week END K 10 svn:author V 5 crees K 8 svn:date V 27 2012-12-01T15:46:27.707588Z K 7 svn:log V 56 MFC r242183: Allow spaces in _chroot Approved by: hrs END K 10 svn:author V 5 crees K 8 svn:date V 27 2012-12-01T15:53:19.020227Z K 7 svn:log V 56 MFC r242183: Allow spaces in _chroot Approved by: hrs END K 10 svn:author V 5 crees K 8 svn:date V 27 2012-12-01T15:54:54.338188Z K 7 svn:log V 56 MFC r242183: Allow spaces in _chroot Approved by: hrs END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-01T16:44:33.132630Z K 7 svn:log V 99 MFC r243080: Only pass ip[46].addr when _addrl contains a value Approved by: cperciva (implicit) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-12-01T17:44:06.741092Z K 7 svn:log V 656 In globextend() when the pathv vector cannot be (re-)allocated, don't free and clear the gl_pathv pointer in the glob_t structure. Such breaks the invariant of the glob_t structure, as stated in the comment right in front of the globextend() function. If gl_pathv was non-NULL, then gl_pathc was > 0. Making gl_pathv a NULL pointer without also setting gl_pathc to 0 is wrong. Since we otherwise don't free the memory associated with a glob_t in error cases, it's unlikely that this change will cause a memory leak that wasn't already there to begin with. Callers of glob(3) must call globfree(3) irrespective of whether glob(3) returned an error or not. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-12-01T17:50:39.277609Z K 7 svn:log V 226 In globextend(), take advantage of the fact that realloc(NULL, size) is equivalent to malloc(size). This eliminates the conditional expression used for calling either realloc() or malloc() when realloc() will do all the time. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T18:01:01.563528Z K 7 svn:log V 185 acpi_cpu: change cpu_disable_idle to be a per-cpu flag... and make it safe to manipulate and check the flag With help from: jhb Tested by: trociny, emaste, dumbbell MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T18:06:05.420331Z K 7 svn:log V 333 acpi_cpu_notify: disable acpi_cpu_idle while updating C-state data ... to avoid any races or inconsistencies. This should fix a regression introduced in r243404. Also, remove a stale comment that has not been true for quite a while now. Pointyhat to: avg Teested by: trociny, emaste, dumbbell (earlier version) MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T18:12:55.502516Z K 7 svn:log V 520 gfs_file_inactive: replace bad code with ugly code Also, make it explicit that V_XATTRDIR is not properly supported in gfs code yet. The bad code was plain incorrect: (a) it spoiled handling of v_usecount reaching zero and (b) it leaked v_holdcnt. The ugly code employs potentially unsafe locking tricks. Ideally we should separate vnode lifecycle and gfs node lifecycle. A gfs node should have its own reference count where its child nodes should be accounted. PR: kern/151111 Reviewed by: kib MFC after: 13 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T18:13:53.762792Z K 7 svn:log V 88 zfs_getpages: make use of vm_page_readahead_finish Suggested by: kib MFC after: 5 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T18:16:14.176238Z K 7 svn:log V 782 ioapic_program_intpin: program high bits before low bits Programming the low bits has a side-effect if unmasking the pin if it is not disabled. So if an interrupt was pending then it would be delivered with the correct new vector but to the incorrect old LAPIC. This fix could be made clearer by preserving the mask bit while programming the low bits and then explicitly resetting the mask bit after all the programming is done. Probability to trip over the fixed bug could be increased by bootverbose because printing of the interrupt information in ioapic_assign_cpu lengthened the time window during which an interrupt could arrive while a pin is masked. Reported by: Andreas Longwitz Tested by: Andreas Longwitz MFC after: 12 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:05:30.624262Z K 7 svn:log V 91 MFC r243271,243400: vnode_if: fix locking protocol description for lookup and cachedlookup END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:05:47.799783Z K 7 svn:log V 91 MFC r243271,243400: vnode_if: fix locking protocol description for lookup and cachedlookup END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:12:43.769554Z K 7 svn:log V 65 MFC r242575: zfs_dirlook: bailout early if directory is unlinked END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:12:55.132793Z K 7 svn:log V 65 MFC r242575: zfs_dirlook: bailout early if directory is unlinked END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:14:35.963002Z K 7 svn:log V 75 MFC r243498: opensolaris compat: terminate cmn_err mesages with a new line END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:14:48.364578Z K 7 svn:log V 75 MFC r243498: opensolaris compat: terminate cmn_err mesages with a new line END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:16:44.080277Z K 7 svn:log V 70 MFC r243500: spa_import_rootpool: do not call spa_history_log_version END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:16:57.941566Z K 7 svn:log V 70 MFC r243500: spa_import_rootpool: do not call spa_history_log_version END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:20:04.677439Z K 7 svn:log V 88 MFC r243501: spa_import_rootpool: initialize ub_version before calling spa_config_parse END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:20:19.551328Z K 7 svn:log V 88 MFC r243501: spa_import_rootpool: initialize ub_version before calling spa_config_parse END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:22:01.382585Z K 7 svn:log V 66 MFC r243268: zfs_remove: set VV_NOSYNC flag if a node is unlinked END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:22:18.676971Z K 7 svn:log V 66 MFC r243268: zfs_remove: set VV_NOSYNC flag if a node is unlinked END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:24:09.282251Z K 7 svn:log V 78 MFC r243270: zfs_remove: assert that delete_now case is never true on FreeBSD END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-12-01T19:24:27.280740Z K 7 svn:log V 78 MFC r243270: zfs_remove: assert that delete_now case is never true on FreeBSD END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-12-01T21:26:46.207873Z K 7 svn:log V 1831 Protect against DoS attacks, such as being described in CVE-2010-2632. The changes were derived from what has been committed to NetBSD, with modifications. These are: 1. Preserve the existsing GLOB_LIMIT behaviour by including the number of matches to the set of parameters to limit. 2. Change some of the limits to avoid impacting normal use cases: GLOB_LIMIT_STRING - change from 65536 to ARG_MAX so that glob(3) can still provide a full command line of expanded names. GLOB_LIMIT_STAT - change from 128 to 1024 for no other reason than that 128 feels too low (it's not a limit that impacts the behaviour of the test program listed in CVE-2010-2632). GLOB_LIMIT_PATH - change from 1024 to 65536 so that glob(3) can still provide a fill command line of expanded names. 3. Protect against buffer overruns when we hit the GLOB_LIMIT_STAT or GLOB_LIMIT_READDIR limits. We append SEP and EOS to pathend in those cases. Return GLOB_ABORTED instead of GLOB_NOSPACE when we would otherwise overrun the buffer. This change also modifies the existing behaviour of glob(3) in case GLOB_LIMIT is specifies by limiting the *new* matches and not all matches. This is an important distinction when GLOB_APPEND is set or when the caller uses a non-zero gl_offs. Previously pre-existing matches or the value of gl_offs would be counted in the number of matches even though the man page states that glob(3) would return GLOB_NOSPACE when gl_matchc or more matches were found. The limits that cannot be circumvented are GLOB_LIMIT_STRING and GLOB_LIMIT_PATH all others can be crossed by simply calling glob(3) again and with GLOB_APPEND set. The entire description above applies only when GLOB_LIMIT has been specified of course. No limits apply when this flag isn't set! Obtained from: Juniper Networks, Inc END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-12-01T22:13:38.547287Z K 7 svn:log V 367 - Add support for Etron EJ168 USB 3.0 Host Controllers. This brand of controllers expects that the number of contexts specified in the input slot context points to an active endpoint context, else it refuses to operate. - Ring the correct doorbell when streams mode is used. - Wrap one or two long lines. Tested by: Markus Pfeiffer (DragonFlyBSD) MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-12-02T00:31:23.195421Z K 7 svn:log V 990 Pull in r158245 from upstream clang: [C++11 Compat] Fix breaking change in C++11 pair copyctor. While this code is valid C++98, it is not valid C++11. The problem can be reduced to: class MDNode; class DIType { operator MDNode*() const {return 0;} }; class WeakVH { WeakVH(MDNode*) {} }; int main() { DIType di; std::pair p(std::make_pair((void*)0, di))); } This was not detected by any of the bots we have because they either compile C++98 with libstdc++ (which allows it), or C++11 with libc++ (which incorrectly allows it). I ran into the problem when compiling with VS 2012 RC. Thanks to Richard for explaining the issue. This fixes building clang 3.1 on stable/9 with libc++ in C++11 mode. This is a direct commit to stable/9, since there is no separate commit in head which has just this particular change, and I do not want to do a full import at this time. Reported by: Marco Bröder END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-02T01:16:04.918171Z K 7 svn:log V 224 Add an nfssvc() option to the kernel for the new NFS client which dumps out the actual options being used by an NFS mount. This will be used to implement a "-m" option for nfsstat(1). Reviewed by: alfred MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-02T01:20:43.805697Z K 7 svn:log V 172 Add a "-m" option to nfsstat, which dumps out the actual options used by all NFS mounts. Works for the new/default NFS client only. Reviewed by: alfred MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-02T01:25:19.317013Z K 7 svn:log V 109 Document the "-m" option added by r243783. This is a content change. Reviewed by: alfred MFC after: 2 weeks END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-02T05:57:53.616364Z K 7 svn:log V 45 Document maxthreads and minthreads arguments END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-02T06:24:08.478279Z K 7 svn:log V 1897 Delete the per-TXQ locks and replace them with a single TX lock. I couldn't think of a way to maintain the hardware TXQ locks _and_ layer on top of that per-TXQ software queuing and any other kind of fine-grained locks (eg per-TID, or per-node locks.) So for now, to facilitate some further code refactoring and development as part of the final push to get software queue ps-poll and u-apsd handling into this driver, just do away with them entirely. I may eventually bring them back at some point, when it looks slightly more architectually cleaner to do so. But as it stands at the present, it's not really buying us much: * in order to properly serialise things and not get bitten by scheduling and locking interactions with things higher up in the stack, we need to wrap the whole TX path in a long held lock. Otherwise we can end up being pre-empted during frame handling, resulting in some out of order frame handling between sequence number allocation and encryption handling (ie, the seqno and the CCMP IV get out of sequence); * .. so whilst that's the case, holding the lock for that long means that we're acquiring and releasing the TXQ lock _inside_ that context; * And we also acquire it per-frame during frame completion, but we currently can't hold the lock for the duration of the TX completion as we need to call net80211 layer things with the locks _unheld_ to avoid LOR. * .. the other places were grab that lock are reset/flush, which don't happen often. My eventual aim is to change the TX path so all rejected frame transmissions and all frame completions result in any ieee80211_free_node() calls to occur outside of the TX lock; then I can cut back on the amount of locking that goes on here. There may be some LORs that occur when ieee80211_free_node() is called when the TX queue path fails; I'll begin to address these in follow-up commits. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-02T06:50:27.393278Z K 7 svn:log V 44 Don't grab the PCU lock inside the TX lock. END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-12-02T12:26:17.799144Z K 7 svn:log V 127 MFC r242696 from HEAD: Document all of the options that wpa_supplicant accepts. PR: docs/171755 Approved by: gabor (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-12-02T13:10:19.491802Z K 7 svn:log V 137 Vendor import of llvm release_32 branch r168974 (effectively, 3.2 RC2): http://llvm.org/svn/llvm-project/llvm/branches/release_32@168974 END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-12-02T13:12:38.346236Z K 7 svn:log V 59 Tag llvm release_32 branch r168974 (effectively, 3.2 RC2). END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-12-02T13:20:44.954683Z K 7 svn:log V 137 Vendor import of clang release_32 branch r168974 (effectively, 3.2 RC2): http://llvm.org/svn/llvm-project/cfe/branches/release_32@168974 END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-12-02T13:22:23.863287Z K 7 svn:log V 60 Tag clang release_32 branch r168974 (effectively, 3.2 RC2). END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-02T17:54:52.018285Z K 7 svn:log V 191 Add support for hdmi hda codec onboard nvidia gt 440 graphics card PR: kern/174059 Submitted by: "4721@hushmail.com" <4721@hushmail.com> Approved by: cperciva (implicit) MFC after: 2 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-02T18:41:22.543264Z K 7 svn:log V 159 Add a few more translations from IDs to model name. Submitted by: "4721@hushmail.com" <4721@hushmail.com> Approved by: cperciva (implicit) MFC after: 2 weeks END