ƒ°X249195 200 299 300 99 99 238 140 127 134 431 177 233 257 255 106 324 136 166 486 401 238 176 99 146 838 176 165 400 120 366 148 309 110 129 155 102 122 118 208 629 165 127 444 444 645 198 155 142 709 400 255 223 166 166 172 623 132 184 234 122 239 132 382 498 177 180 116 180 117 769 1151 279 211 108 466 138 132 508 508 99 113 99 323 265 334 99 99 132 184 184 166 225 275 275 249 264 230 672 206 340 166 126 130 118 135 122 137 117 114 442 117 151 155 146 162 375 346 372 205 136 231 269 792 565 519 617 113 292 210 324 511 428 185 107 171 241 165 176 306 242 432 328 158 382 382 210 135 440 240 362 272 212 296 873 558 453 430 220 491 202 293 136 388 461 106 192 123 116 99 140 99 415 255 1442 193 299 213 200 1112 114 138 127 322 264 187 180 137 115 202 146 705 177 166 445 445 211 166 207 156 233 149 K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-06T10:39:38.704683Z K 7 svn:log V 207 MFV r248217: Merge change from vendor to reduce diff only. ZFS dtrace probes are not supported on FreeBSD yet. Illumos ZFS issues: 3598 want to dtrace when errors are generated in zfs MFC after: 3 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-06T11:54:41.882464Z K 7 svn:log V 208 Provide a fix for kernel panic if receiving recursive deduplicated streams. Problem reported to vendor. Illumos ZFS issues: 3692 Panic on zfs receive of a recursive deduplicated stream MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-06T13:12:05.887135Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-06T13:25:18.922075Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-04-06T13:39:02.144546Z K 7 svn:log V 142 Unbreak ATA_NO_48BIT_DMA with ATA_CAM by treating 48-bit DMA as an optional property with PATA transport. Reviewed by: mav MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2013-04-06T13:42:37.609392Z K 7 svn:log V 49 Correct the path. PR: 176256 Submitted by: jhs END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-06T13:47:44.662993Z K 7 svn:log V 35 Document legacy ATA stack removal. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-04-06T13:54:00.903109Z K 7 svn:log V 39 Remove some more remnants of !ATA_CAM. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-04-06T15:02:06.266636Z K 7 svn:log V 335 - Make ata_str2mode() static, it's not used outside of ata-all.c. - Move ata_timeout() to ata-all.c so we don't need to expose both this function and ata_cam_end_transaction() but only the former. - Move ata_cmd2str() from ata-queue.c to ata-all.c so we can get rid of the former. - Add some missing prototypes. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-04-06T17:00:11.911511Z K 7 svn:log V 80 Add new USB ID. PR: usb/177666 Submitted by: Nicolai Petri END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-06T17:14:56.807382Z K 7 svn:log V 140 Replicate r245306 from SCSI to ATA. The problem didn't appear so far, covered by multilevel freeze mechanism, but it is better to be safe. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-06T17:15:47.093396Z K 7 svn:log V 165 MFV r248660: Merge vendor change - modify time processing in deadman thread. Illumos ZFS issues: 3618 ::zio dcmd does not show timestamp data MFC after: 3 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-06T17:18:48.300141Z K 7 svn:log V 163 MFV r249185: Allow zdb to output a histogram of compressed block sizes. Illumos ZFS issues: 3641 want a histogram of compressed block sizes MFC after: 3 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-06T17:20:22.515548Z K 7 svn:log V 14 MFC @ r249206 END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-06T17:24:00.768660Z K 7 svn:log V 232 MFV r249186: Do not list read-only pools in zpool.cache Reduce diff against vendor in unused vdev_disk.c Illumos ZFS issues: 3639 zpool.cache should skip over readonly pools 3640 want automatic devid updates MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-04-06T17:25:17.817724Z K 7 svn:log V 39 Regenerate usb.conf MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-04-06T18:04:35.838421Z K 7 svn:log V 74 Simplify vm_radix_keybarr(). Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-06T19:11:12.343865Z K 7 svn:log V 393 Introduce queue mutex to serialize access to CCB, device and periph queues. That should allow periphs to avoid taking heavily congested SIM lock up to the moment of actually submitting CCB to the SIM. Also as side effect it should allow different SIMs sharing same queue to have separate locks. I am not sure such hardware really exists now, but seems it was planned in existing CAM design. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-04-06T19:12:49.648269Z K 7 svn:log V 305 - With the demise of !ATA_CAM, ATA_STATIC_ID is the only ata(4) related option left but actually consumed by ada(4), so move it to opt_ada.h and get rid of opt_ata.h. - Fix stand-alone build of atacore(4) by adding opt_cam.h. - Use __FBSDID. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-04-06T19:33:24.470228Z K 7 svn:log V 142 Remove atadevel(4), it no longer builds with ATA_CAM and it's unlikely that support for new lines of ATA controllers will be added to ata(4). END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-06T19:40:04.217084Z K 7 svn:log V 83 mdoc: new sentence should be on a new line. Also remove EOL whitespace while here. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-04-06T21:44:02.855964Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-04-06T21:56:54.400765Z K 7 svn:log V 50 Relocate the vdso instead of hardcode prelink it. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2013-04-06T22:21:23.578563Z K 7 svn:log V 744 Prepare to replace the buf splay with a trie: - Don't insert BKGRDMARKER bufs into the splay or dirty/clean buf lists. No consumers need to find them there and it complicates the tree. These flags are all FFS specific and could be moved out of the buf cache. - Use pbgetvp() and pbrelvp() to associate the background and journal bufs with the vp. Not only is this much cheaper it makes more sense for these transient bufs. - Fix the assertions in pbget* and pbrel*. It's not safe to check list pointers which were never initialized. Use the BX flags instead. We also check B_PAGING in reassignbuf() so this should cover all cases. Discussed with: kib, mckusick, attilio Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-06T22:28:19.958879Z K 7 svn:log V 81 Add warning about SOCK_CLOEXEC and SOCK_NONBLOCK (r248534). Reviewed by: rpaulo END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-06T22:30:46.929376Z K 7 svn:log V 70 sh: Add a variation on builtins/eval4.0 where the cmdsubst returns 0. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-04-07T01:30:51.298253Z K 7 svn:log V 307 Micro-optimize the order of struct vm_radix_node's fields. Specifically, arrange for all of the fields to start at a short offset from the beginning of the structure. Eliminate unnecessary masking of VM_RADIX_FLAGS from the root pointer in vm_radix_getroot(). Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-04-07T05:40:49.674912Z K 7 svn:log V 23 Fix two broken macros. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-04-07T05:53:42.806668Z K 7 svn:log V 268 The CELL fields can be various integer types depending on the platform (ARM uses 'int' and 'unsigned'; i386 uses 'long' and 'unsigned long'), so we need explicit casts to long and unsigned long here to ensure that the result matches the printf %ld and %lx specifiers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-07T06:47:44.174145Z K 7 svn:log V 56 Remove extra semicolons from CAM_SIM_[UN]LOCK() macros. END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-04-07T10:07:18.292644Z K 7 svn:log V 213 Normalise stackframe exit layout for both errorcode bearing exceptions and others. This makes INTR_EXIT() work as expected. Fixes: Return to guest from events, exceptions and traps. Approved by: gibbs(implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-04-07T10:18:27.467189Z K 7 svn:log V 15 Copyright bump END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-07T10:52:28.997078Z K 7 svn:log V 37 Added three more NFS test scenarios. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-07T10:55:39.162745Z K 7 svn:log V 63 Do not run the test as root. If umount fails, use "umount -f". END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-07T10:58:04.045608Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-07T11:04:33.236260Z K 7 svn:log V 30 Do not run the tests as root. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-07T11:05:38.071609Z K 7 svn:log V 26 Do not run tests as root. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-04-07T13:03:57.637208Z K 7 svn:log V 110 Fix regression issue after r248910. PR: arm/177685 Submitted by: Christoph Mallon END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-07T15:26:09.707477Z K 7 svn:log V 533 mqueue,ksem,shm: Fix race condition with setting UF_EXCLOSE. POSIX mqueue, compatibility ksem and POSIX shm create a file descriptor that has close-on-exec set. However, they do this incorrectly, leaving a window where a thread may fork and exec while the flag has not been set yet. The race is easily reproduced on a multicore system with one thread doing shm_open and close and another thread doing posix_spawnp and waitpid. Set UF_EXCLOSE via falloc()'s flags argument instead. This also simplifies the code. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-04-07T15:33:06.917372Z K 7 svn:log V 70 Add some missing newlines and static declarations. MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-07T16:28:36.504034Z K 7 svn:log V 32 sh: Add const to nodesavestr(). END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-07T17:05:16.530507Z K 7 svn:log V 347 MFC r246922 (pjd): - Add support for 'memsync' mode. This is the fastest replication mode that's why it will now be the default. - Bump protocol version to 2 and add backward compatibility for version 1. - Allow to specify hosts by kern.hostid as well (in addition to hostname and kern.hostuuid) in configuration file. Sponsored by: Panzura END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-07T17:06:26.754634Z K 7 svn:log V 347 MFC r246922 (pjd): - Add support for 'memsync' mode. This is the fastest replication mode that's why it will now be the default. - Bump protocol version to 2 and add backward compatibility for version 1. - Allow to specify hosts by kern.hostid as well (in addition to hostname and kern.hostuuid) in configuration file. Sponsored by: Panzura END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-07T17:40:49.486497Z K 7 svn:log V 548 Use 4-byte padding for core dump notes on both 32 and 64bit archs. Although native word padding (i.e. 8-byte on 64bit arch) looks to be in agreement with standards, other parts of our code and other OSes use 4-byte alignment. This is not expected to change alignment for currently generated core dump notes, as the notes look to consist of structures with sizes multiple of 8 on 64-bit archs. But there are plans to add additional notes, where 4-byte vs 8-byte alignment makes difference. Discussed with: kib Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-07T17:42:27.599702Z K 7 svn:log V 101 Fill p_flags and p_align fields of the core dump note segement. Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-07T17:44:30.564166Z K 7 svn:log V 59 Use pget(9) to reduce code duplication. MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-07T17:54:38.491908Z K 7 svn:log V 46 Fix synopsis for sbuf_len. MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-07T21:25:14.080795Z K 7 svn:log V 613 MFC r230998,r233792: sh: Use vfork in a few common cases. This uses vfork() for simple commands and command substitutions containing a single simple command, invoking an external program under certain conditions (no redirections or variable assignments, non-interactive shell, no job control). These restrictions limit the amount of code executed in a vforked child. Various incarnations of this patch have been shown to bring performance improvements: http://lists.freebsd.org/pipermail/freebsd-hackers/2012-January/037581.html The use of vfork() can be disabled by setting a variable named SH_DISABLE_VFORK. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-08T07:08:29.686630Z K 7 svn:log V 307 MFC r248991: Follow up to r247960 and rr247960 by also amending ctfmerge. For the only other case where STT_FILE symbols are used, in symit_next() in cddl/contrib/opensolaris/tools/ctf/cvt/input.c, save the basename of the symbol, instead of the full pathname. Reported by: avg Tested by: avg, jimharris END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-04-08T08:03:42.575284Z K 7 svn:log V 163 Prevent the creation of an unused variable. We're only interested in the enumeration fields; we don't want to create a variable to store them. MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-04-08T08:05:15.774765Z K 7 svn:log V 131 Mark the act_tbl static/const. This table is only used within this source file and is only accessed read-only. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-08T08:29:52.524849Z K 7 svn:log V 74 MFC r248969: Do not call the VOP_LOOKUP() for the doomed directory vnode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-08T08:33:31.628800Z K 7 svn:log V 74 MFC r248969: Do not call the VOP_LOOKUP() for the doomed directory vnode. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-08T08:35:24.942990Z K 7 svn:log V 76 Simplify uk_ppera calculation using howmany() macro. Suggested by: antoine END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-04-08T08:37:57.881147Z K 7 svn:log V 525 drm: Right-shift I2C slave address before passing it to aux channel In r249041, I2C slave addresses were left-shifted at creation time to have the same behavior between i915 and radeon (not committed yet). This change broke the aux channel. The user-visible change was that display port on i915 didn't work anymore. To fix this, we right-shift the address back to restore the original value. Reported by: Olivier Cochard-LabbĂ© Tested by: Olivier Cochard-LabbĂ© Reviewed by: kib@ END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-08T08:38:55.282589Z K 7 svn:log V 36 Merge head r243428 through r249248. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-08T09:58:10.030116Z K 7 svn:log V 92 Make xpt_run_devq() called while holding queue lock and temporary drop it inside if needed. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-04-08T10:14:50.052620Z K 7 svn:log V 142 Remove reference to the nonexistent sysctl node net.inet6.mld.stats. Also add cross reference to the icmp6(4). PR: 177696 MFC after: 1 week END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-08T10:53:22.404338Z K 7 svn:log V 29 mdoc: sort cross references. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-08T12:09:53.713057Z K 7 svn:log V 144 MFC r248972: Mention that read_attributes, write_attributes, read_acl and write_acl are always permitted for the file owner. PR: kern/174948 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-08T15:13:15.603544Z K 7 svn:log V 36 Merge head r243428 through r249254. END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-08T15:36:26.627215Z K 7 svn:log V 289 Fix a memory leak that showed up when we delete LUNs. The memory used for the LUN was never freed. ctl.c: Adjust ctl_alloc_lun() to make sure we don't clear the CTL_LUN_MALLOCED flag. Reported by: Sreenivasa Honnur Sponsored by: Spectra Logic MFC after: 3 days END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-04-08T17:46:45.279757Z K 7 svn:log V 403 Add support for getting and setting BBU properties related to battery relearning. Specifically, add subcommands to mfiutil(8) which allow the user to set the BBU and autolearn modes when the firmware supports it, and add a subcommand which kicks off a battery relearn. Reviewed by: sbruno, rstone Tested by: sbruno Approved by: rstone (co-mentor) MFC after: 2 weeks Sponsored by: Sandvine Incorporated END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-04-08T18:25:07.203994Z K 7 svn:log V 83 Switch to a 2-clause license. Approved by: emaste (co-mentor) X-MFC with: r249257 END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-08T18:41:23.959433Z K 7 svn:log V 88 Vendor import of llvm trunk r178860: http://llvm.org/svn/llvm-project/llvm/trunk@178860 END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-08T18:42:33.492950Z K 7 svn:log V 24 Tag llvm trunk r178860. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-08T18:45:10.673507Z K 7 svn:log V 88 Vendor import of clang trunk r178860: http://llvm.org/svn/llvm-project/cfe/trunk@178860 END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-08T18:46:35.185449Z K 7 svn:log V 25 Tag clang trunk r178860. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-04-08T19:03:01.630841Z K 7 svn:log V 676 Fix a potential socket leak in the NFS server. If a client closes its connection after it was accepted by the userland nfsd process but before it was handled off to svc_vc_create() in the kernel, then svc_vc_create() would see it as a new listen socket and try to listen on it leaving a dangling reference to the socket. Instead, check for disconnected sockets and treat them like a connected socket. The call to pru_getaddr() should fail and cause svc_vc_create() to fail. Note that we need to lock the socket to get a consistent snapshot of so_state since there is a window in soisdisconnected() where both flags are clear. Reviewed by: dfr, rmacklem MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-08T19:10:45.598523Z K 7 svn:log V 1053 Merge from projects/counters: UMA_ZONE_PCPU zones. These zones have slab size == sizeof(struct pcpu), but request from VM enough pages to fit (uk_slabsize * mp_ncpus). An item allocated from such zone would have a separate twin for each CPU in the system, and these twins are at a distance of sizeof(struct pcpu) from each other. This magic value of distance would allow us to make some optimizations later. To address private item from a CPU simple arithmetics should be used: item = (type *)((char *)base + sizeof(struct pcpu) * curcpu) These arithmetics are available as zpcpu_get() macro in pcpu.h. To introduce non-page size slabs a new field had been added to uma_keg uk_slabsize. This shifted some frequently used fields of uma_keg to the fourth cache line on amd64. To mitigate this pessimization, uma_keg fields were a bit rearranged and least frequently used uk_name and uk_link moved down to the fourth cache line. All other fields, that are dereferenced frequently fit into first three cache lines. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-08T19:19:10.366697Z K 7 svn:log V 182 Merge from projects/counters: Pad struct pcpu so that its size is denominator of PAGE_SIZE. This is done to reduce memory waste in UMA_PCPU_ZONE zones. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-08T19:20:27.897196Z K 7 svn:log V 114 Forcibly defining _KERNEL is bad idea. Toss some code so that ip_var.h isn't included with forced _KERNEL define. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-08T19:23:22.706452Z K 7 svn:log V 12 Fix MLINKS. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-08T19:40:53.591361Z K 7 svn:log V 369 Merge from projects/counters: counter(9). Introduce counter(9) API, that implements fast and raceless counters, provided (but not limited to) for gathering of statistical data. See http://lists.freebsd.org/pipermail/freebsd-arch/2013-April/014204.html for more details. In collaboration with: kib Reviewed by: luigi Tested by: ae, ray Sponsored by: Nginx, Inc. END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-04-08T19:44:30.246762Z K 7 svn:log V 47 Vendor import of NetBSD's mtree at 2013-04-08. END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-04-08T19:44:57.373366Z K 7 svn:log V 41 Tag 2013-04-08 import of NetBSD's mtree. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-08T19:48:40.112187Z K 7 svn:log V 411 MFC r248707: hrStorageSize and hrStorageUsed are 32 bit integers, reporting a fs size and usage in hrStorageAllocationUnits. If the file system has more than 2^31 allocations it can not be shown correctly and the meters are useless. In such cases follow net-snmp behaviour and increase hrStorageAllocationUnits so the values fit under INT_MAX. PR: bin/177183 Submitted by: Eugene Grosbein egrosbein rdtc.ru END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-08T19:50:15.878379Z K 7 svn:log V 411 MFC r248707: hrStorageSize and hrStorageUsed are 32 bit integers, reporting a fs size and usage in hrStorageAllocationUnits. If the file system has more than 2^31 allocations it can not be shown correctly and the meters are useless. In such cases follow net-snmp behaviour and increase hrStorageAllocationUnits so the values fit under INT_MAX. PR: bin/177183 Submitted by: Eugene Grosbein egrosbein rdtc.ru END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-08T19:51:46.721303Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-08T19:53:02.819085Z K 7 svn:log V 17 Update comments. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-08T19:56:14.672157Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-08T19:57:21.033107Z K 7 svn:log V 226 Merge from projects/counters: TCP/IP stats. Convert 'struct ipstat' and 'struct tcpstat' to counter(9). This speeds up IP forwarding at extreme packet rates, and makes accounting more precise. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-08T19:58:32.226071Z K 7 svn:log V 168 Switch some "low-hanging fruit" to acquire read lock on vmobjects rather than write locks. Sponsored by: EMC / Isilon storage division Reviewed by: alc Tested by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-08T20:02:27.953157Z K 7 svn:log V 237 The per-page act_count can be made very-easily protected by the per-page lock rather than vm_object lock, without any further overhead. Make the formal switch. Sponsored by: EMC / Isilon storage division Reviewed by: alc Tested by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-08T20:11:03.111180Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-08T20:14:41.469224Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-04-08T20:33:51.284641Z K 7 svn:log V 36 Add FreeBSD 8.4. MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-08T20:43:53.006993Z K 7 svn:log V 91 MFC: r248799 Limit the amount of video memory we map for the driver to the maximum value. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-08T20:45:11.392556Z K 7 svn:log V 91 MFC: r248799 Limit the amount of video memory we map for the driver to the maximum value. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-08T21:15:43.644993Z K 7 svn:log V 71 Fix this to compile when ATH_DEBUG_ALQ is defined but ATH_DEBUG isn't. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-08T21:51:30.464235Z K 7 svn:log V 128 Make vm_fault_prefault() acquire only read locks for vm_object. Sponsored by: EMC / Isilon storage division Submitted by: alc END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-08T22:31:35.457030Z K 7 svn:log V 181 MFC: r247859 Update the manual page to reflect reality. With r138509 and r152355, "nostrictjoliet" option for mount_cd9660(8) was completely replaced with "brokenjoliet" somehow. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-08T22:32:37.688664Z K 7 svn:log V 181 MFC: r247859 Update the manual page to reflect reality. With r138509 and r152355, "nostrictjoliet" option for mount_cd9660(8) was completely replaced with "brokenjoliet" somehow. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-08T22:56:40.922273Z K 7 svn:log V 152 MFC r247595: Fix wrong assignment. Submitted by: Sascha Wildner Obtained from: DragonFly rev 9568dd07a22a136e380e6c19a8ea188eb92976d5 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-08T23:01:33.183770Z K 7 svn:log V 167 MFC r247596: Fix assignment of maximum bounadary. Submitted by: Sascha Wildner Obtained from: DragonFly rev fd39c81ba220f7ad6e4dc9b30d45e828cf58a1ad END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-08T23:06:25.521646Z K 7 svn:log V 133 MFC r248627: Don't attempt to reference sc before testing whether it's NULL. Submitted by: Sascha Wildner Obtained from: DragonFly END K 10 svn:author V 4 will K 8 svn:date V 27 2013-04-08T23:16:42.567118Z K 7 svn:log V 578 FireWire: Don't allow a tlabel to reference an xfer after free. sys/dev/firewire/firewire.c: - fw_xfer_unload(): Since we are about to free this xfer, call fw_tl_free() to remove the xfer from its tlabel's list, if it has a tlabel. - In every occasion when a xfer is removed from a tlabel's list, reset xfer->tl to -1 while holding fc->tlabel_lock, so that the xfer isn't mis-identified as belonging to a tlabel. This doesn't fix all the use-after-free problems for M_FWMEM, but is an incremental towards that goal. Reviewed by: kan, sbruno Sponsored by: Spectra Logic END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-09T06:33:03.253748Z K 7 svn:log V 114 Add missing file dt_pq.h that should have been committed in r239385 Reported by: Pedro Giffuni END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-04-09T06:50:11.330419Z K 7 svn:log V 248 Import a new version of NetBSD's mtree. This version of mtree implements a new flag (-O) that can be used to restrict the tool to certain pathnames. Also, it fixes a compiler warning generated by -Wmissing-variable-declarations. Acked by: brooks END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-04-09T07:11:22.794202Z K 7 svn:log V 75 Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. MFC after: 1 week END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-09T08:24:34.140771Z K 7 svn:log V 34 Fix type and do not test as root. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-09T08:25:31.765857Z K 7 svn:log V 38 Silence newfs and do not run as root. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-09T08:26:24.569821Z K 7 svn:log V 26 Do not run tests as root. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-09T08:27:15.661058Z K 7 svn:log V 43 Remove empty line and commented out lines. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-09T08:29:27.069347Z K 7 svn:log V 30 Do not run the tests as root. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-09T08:30:27.099949Z K 7 svn:log V 45 Make sure that this test is not run as root. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-04-09T08:42:10.225842Z K 7 svn:log V 25 Add a TCP test scenario. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-09T09:15:26.266416Z K 7 svn:log V 18 Fix VIMAGE build. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-09T10:04:10.463196Z K 7 svn:log V 349 Fix the assertions for the state of the object under the map entry with the MAP_ENTRY_VN_WRITECNT flag: - Move the assertion that verifies the state of the v_writecount and vnp.writecount, under the block where the object is locked. - Check that the object type is OBJT_VNODE before asserting. Reported by: avg Reviewed by: alc MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-09T12:01:54.943591Z K 7 svn:log V 25 Fix build for AIM 64bit. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-09T12:20:44.573033Z K 7 svn:log V 55 Fix KASSERTs: maximum number of items per slab is 256. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-09T13:08:33.644813Z K 7 svn:log V 63 Pull in r3828 from upstream (remove dead code, fix prototypes) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-09T13:14:39.487257Z K 7 svn:log V 54 Revert local changes and pull in r3828 from upstream. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-09T13:16:11.788974Z K 7 svn:log V 70 Last remaining prototype issue that still hasn't been fixed upstream. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-09T15:15:52.650108Z K 7 svn:log V 278 Since now we support 256 items per slab, we need more bits for us_freecount. This grows uma_slab_head on 32-bit arches, but growth isn't significant. Taking kmem zones as example, only the 32 byte zone is affected, ipers is reduced from 113 to 112. In collaboration with: kib END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-04-09T15:35:26.786870Z K 7 svn:log V 253 MFC r241556: Add a KPI to allow to reserve some amount of space in the numvnodes counter, without actually allocating the vnodes. For KBI stability, the td_vp_reserv was moved to the end of struct thread. Reviewed by: avg Approved by: avg (co-mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-04-09T16:16:34.780235Z K 7 svn:log V 280 Add static/const keywords to the arrays. This theoretically allows a compiler to optimize (parts of) the array away if unused. While there, make the array size implicit and use a _Static_assert() to ensure that the definition matches up with the number of elements in the list. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-09T17:25:15.368661Z K 7 svn:log V 108 Swap us_freecount and us_flags, achieving same structure size as before previous commit. Submitted by: alc END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-09T17:43:48.691885Z K 7 svn:log V 40 Convert UMA code to C99 uintXX_t types. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-09T17:55:39.791610Z K 7 svn:log V 138 Pass the segmented address of the counter, based on %fs, i.e. offset from the pcpu[0] to the counter base, instead of the linear address. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-04-09T19:36:34.514143Z K 7 svn:log V 176 Proxy allocation requests for the PCI ROM BAR from child devices similar to how the VGA bus driver currently proxies allocation requests for other PCI BARs. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-09T20:21:35.952559Z K 7 svn:log V 699 Ensure make -j N universe works correctly, by checking for an up-to-date make before starting the universe targets themselves. Otherwise, all of the targets would attempt to build make simultaneously, overwriting each other's copies of the make object files and executable. This could lead to strange errors, for example when partially-written make executables are invoked. Also amend r216620, to make the rest of universe wait properly until the upgrade_checks target is finished, by adding universe_${target}_prologue to the .ORDER target. Otherwise, make will be too smart for its own good, and start building the universe targets simultaneously with the prologues anyway. MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-04-09T20:52:26.605834Z K 7 svn:log V 470 Fix a race condition on tcp listen socket teardown with pending connections in the accept queue and contiguous new incoming SYNs. Compared to the original submitters patch I've moved the test next to the SYN handling to have it together in a logical unit and reworded the comment explaining the issue. Submitted by: Matt Miller Submitted by: Juan Mojica Reviewed by: Matt Miller (changes) Tested by: pho MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-04-09T21:02:20.874726Z K 7 svn:log V 424 Change certain heavily used network related mutexes and rwlocks to reside on their own cache line to prevent false sharing with other nearby structures, especially for those in the .bss segment. NB: Those mutexes and rwlocks with variables next to them that get changed on every invocation do not benefit from their own cache line. Actually it may be net negative because two cache misses would be incurred in those cases. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-09T22:27:44.441713Z K 7 svn:log V 525 ZFS expects a copyout of zfs_cmd_t on an ioctl error. Our sys_ioctl() doesn't copyout in this case. To solve this issue a new struct zfs_iocparm_t is introduced consisting of: - zfs_ioctl_version (future backwards compatibility purposes) - user space pointer to zfs_cmd_t (copyin and copyout) - size of zfs_cmd_t (verification purposes) The copyin and copyout of zfs_cmd_t is now done the illumos (vendor) way what makes porting of new changes easier and ensures correct behavior if returning an error. MFC after: 10 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-04-10T00:35:08.174130Z K 7 svn:log V 15 Fix the build. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-10T02:12:39.047253Z K 7 svn:log V 198 Improve PCI BAR emulation: - Respect the MEMEN and PORTEN bits in the command register - Allow the guest to reprogram the address decoded by the BAR Submitted by: Gopakumar T Obtained from: NetApp END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-10T02:18:17.902667Z K 7 svn:log V 116 Change name of variable from 'rwlock' to more descriptive 'mmio_rwlock' Requested by: grehan Obtained from: NetApp END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2013-04-10T02:40:03.416567Z K 7 svn:log V 227 swapcontext wrapper can not be implemented in C, the stack pointer saved in the context becomes invalid when the function returns, same as setjmp, it must be implemented in assemble language, see discussions in PR misc/177624. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-10T05:59:07.384934Z K 7 svn:log V 417 Unsynchronized TSCs on the host require special handling in bhyve: - use clock_gettime(2) as the time base for the emulated ACPI timer instead of directly using rdtsc(). - don't advertise the invariant TSC capability to the guest to discourage it from using the TSC as its time base. Discussed with: jhb@ (about making 'smp_tsc' a global) Reported by: Dan Mack on freebsd-virtualization@ Obtained from: NetApp END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-04-10T06:21:39.253153Z K 7 svn:log V 332 Commit development snapshot of the multiqueue driver This commit includes various (mostly minor) changes: - Support for instance specific and global tunables - Fix a swap argument bug that broke TSO - Initial support for the VIRTIO_NET_F_CTRL_MAC_ADDR feature - Shuffle some structure around to be more cache line friendly END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-10T07:01:17.499337Z K 7 svn:log V 94 Cast to (void *)(uintptr_t) on copyout and copyin of zfs_iocparm_t.zfs_cmd MFC after: 9 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-10T08:09:25.020769Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-10T08:48:10.879141Z K 7 svn:log V 77 Make ctladm(8) try to load ctl.ko kernel module if needed. Reviewed by: ken END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-10T08:49:37.740380Z K 7 svn:log V 148 MFC r248792: Add dev_strategy_csw() function. Use it from physio(), to avoid two extra dev_mtx lock and unlock. Do some style cleanup in physio(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-10T08:59:50.668456Z K 7 svn:log V 73 MFC r248794: Fix a race with the vnode reclamation in the aio_qphysio(). END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-04-10T10:22:45.650489Z K 7 svn:log V 80 MFC r222854: Added FreeBSD 8.3. Several manual pages reference it in stable/7. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-10T10:29:30.814741Z K 7 svn:log V 214 Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 14005:55fc53126003 Illumos ZFS issues: 3654 zdb should print number of ganged blocks 3656 remove unused function zap_cursor_move_to_key() END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-04-10T11:26:30.644460Z K 7 svn:log V 146 Remove the number of addresses restriction from sctp_connectx(). Remove unused code. While there, do some cleanup of the code. MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-10T16:01:45.106485Z K 7 svn:log V 339 Fix a time calculation error in ctlstat_standard(). ctlstat.c: When converting a timeval to a floating point number in ctlstat_standard(), cast the nanoseconds calculation to a long double, so we don't lose precision. Without the cast, we wind up with a time in whole seconds only. Sponsored by: Spectra Logic MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-10T16:09:45.275575Z K 7 svn:log V 231 Since UMA_ZONE_PCPU zones put a constraint on sizeof(struct pcpu), declared as CTASSERT in MI pcpu.h, stop including all possible mutually exclusive PCPU_MD_FIELDS fields into LINT kernels, due to brekaing aforementioned CTASSERT. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-10T17:43:20.033005Z K 7 svn:log V 66 Add ID for ASMedia ASM1042 USB 3.0 controller. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-10T17:49:25.941030Z K 7 svn:log V 289 MFC r248800: On SIM destruction free associated CCBs, preallocated inside xpt_get_ccb(). Before this change they were just leaked. Fortunately USB sticks now use only one CCB, and so leak was only 2KB per detach, while other bigger SIMs with much more allocated CCBs are rarely detached. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-10T17:51:15.090039Z K 7 svn:log V 289 MFC r248800: On SIM destruction free associated CCBs, preallocated inside xpt_get_ccb(). Before this change they were just leaked. Fortunately USB sticks now use only one CCB, and so leak was only 2KB per detach, while other bigger SIMs with much more allocated CCBs are rarely detached. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-04-10T17:51:39.530131Z K 7 svn:log V 117 Simplify allocate_legacy code, txr pointer was breaking LEGACY compile, thanks to Nick Rogers for pointing this out. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-10T18:07:25.826549Z K 7 svn:log V 43 MFC r249052: Add some more ATA_CAM ifdefs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-10T18:13:33.552561Z K 7 svn:log V 347 MFC r249062: Since ATA_CAM mode has no implemented support for serializing access to the different ATA channels, required for acard and pc98 ATA controllers, block access to second channels of both, hoping that one working channel is better then none. I have an idea how that support could be implemented, but I have no hardware to work on that. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-10T18:53:14.511545Z K 7 svn:log V 146 Remove obsolete comment about lack of locking for MMIO range lookup. Pointed out by: Tycho Nightingale (tycho.nightingale@plurisbusnetworks.com) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-10T18:59:20.566582Z K 7 svn:log V 268 Need to call init_mem() to really initialize the MMIO range lookups. This was working by accident because: - the RB_HEADs were being initialized to zero as part of BSS - the pthread_rwlock functions were implicitly initializing the lock object Obtained from: NetApp END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-10T20:26:53.798099Z K 7 svn:log V 175 o Provide function kvm_read_zpcpu() to access UMA_ZONE_PCPU allocations. o Provide function kvm_counter_u64_fetch() to fetch valut of a counter(9). Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-10T20:29:23.329161Z K 7 svn:log V 115 Use kvm_counter_u64_fetch() to fix obtaining ipstat and tcpstat from kernel core files. Sponsored by: Nginx, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-10T20:38:15.955457Z K 7 svn:log V 203 Create controller-level DMA tag, handling range of supported addresses. That simplifies logic for channels and gives the bus information about what device actually allocated the tag. Submitted by: jhb@ END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-10T22:12:21.756036Z K 7 svn:log V 780 Add a callback to the ada(4) driver so that it knows when GEOM has released references to it. This is the functional equivalent to change r237518, which added this functionality to the cd(4) and da(4) drivers. This fix prevents a panic caused by GEOM calling adaopen() while the device is going away. We now keep the device around until GEOM has finished cleaning up its state. ata_da.c: In adaregister(), add a d_gone callback to the GEOM disk structure registered for the ada driver. Increment the peripheral reference count for GEOM. Add a new callback, adadiskgonecb(), that GEOM calls when it is done with its resources. This callback releases the reference acquired in adaregister(). Submitted by: Po-Li Soong Sponsored by: Spectra Logic MFC After: 5 days END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-10T23:20:09.913280Z K 7 svn:log V 462 options DPT_HANDLE_TIMEOUTS hasn't worked since dpt(4) was converted to CAM somewhere around svn r39402 to r39234. I don't know of anyone who really wants to test these changes, but they only remove the deprecated code in question. This shreds the driver down a bit and *removes* options from the kernel configs. These don't appear to be referenced in the man page, so no need to check it there. PR: kern/44587 Obtained from: Yahoo! Inc. MFC after: 2 weeks END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-10T23:31:19.803259Z K 7 svn:log V 357 While investigating a p/r I noted that the camcontrol devlist output for volumes behind a ciss(4) controller were being reported with malformeed names and identifiers. Repair that reporting by using the CAM values for the three SCSI indents reported via camcontrol devlist PR: kern/171650 Reviewed by: scottl Obtained from: Yahoo! Inc. MFC after: 2 weeks END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-10T23:37:15.306617Z K 7 svn:log V 334 Update ciss(4) man page. We absolutely support performant mode of operation on this controller. Indicate that the 5300 is the *only* controller that will only work in simple mode. Bus rescans should not be needed now and I consider it a bug if disks do not appear or dissapear when created or destroyed. Obtained from: Yahoo! Inc END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-11T04:29:45.013823Z K 7 svn:log V 126 Make the code to check if VMX is enabled more readable by using macros instead of magic numbers. Discussed with: Chris Torek END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-11T06:34:41.257633Z K 7 svn:log V 398 Do not sent 120 TEST UNIT READY requests on generic NOT READY statuses. Some failing disks tend to return vendor-specific ASC/ASCQ codes with NOT READY sense key. It caused extremely long recovery attempts, repeating these 120 TURs (it takes at least 1 minute) for every I/O request. Instead of that use default error handling, doing just few retries. Reviewed by: ken, gibbs MFC after: 1 month END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-11T06:52:19.353496Z K 7 svn:log V 108 Provide functions to manipulate the guest state in the VMCB. Submitted by: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-11T07:02:27.740777Z K 7 svn:log V 201 Update vendor-sys/illumos/dist to illumos-gate 14008:0a1a841641da Illumos ZFS issues: 3645 dmu_send_impl: possibilty of pool hold leak 3692 Panic on zfs receive of a recursive deduplicated stream END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-11T07:30:49.774927Z K 7 svn:log V 40 Include types.h for C99 uintXX_t types. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-11T07:40:30.943707Z K 7 svn:log V 296 MFV r249354: Merge bugfixes accepted and integrated by vendor. Underlying problems have been reported by us and fixed in r240942 and r249196. Illumos ZFS issues: 3645 dmu_send_impl: possibilty of pool hold leak 3692 Panic on zfs receive of a recursive deduplicated stream MFC after: 8 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-11T07:49:16.298845Z K 7 svn:log V 369 Fix libzfs to report error instead of returning zero if trying to hold or release a non-existing snapshot of a existing dataset. In recursive case error is reported if no snapshots with the requested name have been found. Problem and proposed solution reported to illumos: 3699 zfs hold or release of a non-existent snapshot does not output error MFC after: 8 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-11T10:14:28.183899Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-04-11T12:24:29.670442Z K 7 svn:log V 97 fuser(1) requires a filename. Reviewed by: lstewart Approved by: bcr (mentor) MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-04-11T12:49:42.314772Z K 7 svn:log V 28 Remove unused atomic header END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-11T13:05:38.152877Z K 7 svn:log V 23 Remove EOL whitespace. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-11T14:02:14.345908Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-11T14:03:02.910212Z K 7 svn:log V 44 Branch to import Jeff's patches about NUMA. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-11T14:45:43.954222Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-04-11T15:55:52.174314Z K 7 svn:log V 320 Adjust the HMAC and CMAC functions to the FreeBSD environment and include them into the kernel build in preparation for use in the TCP-AO code. Note that we do not have explicit_bzero() so the compiler may optimize away the bzero() to wipe out key storage on the stack before returning. Sponsored by: Juniper Networks END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-04-11T15:59:18.020919Z K 7 svn:log V 160 After the brainstorming and tryout phase make the new TCP-AO code compile and move it a first step towards becoming functional. Sponsored by: Juniper Networks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-04-11T16:24:36.186539Z K 7 svn:log V 1348 DTrace: option for time-ordered output Merge changes from illumos: 3021 option for time-ordered output from dtrace(1M) 3022 DTrace: keys should not affect the sort order when sorting by value 3023 it should be possible to dereference dynamic variables 3024 D integer narrowing needs some work 3025 register leak in D code generation 3026 libdtrace should set LD_NOLAZYLOAD=1 to help the pid provider This brings yet another feature implemented in upstream DTrace. A complete description is available here: http://dtrace.org/blogs/ahl/2012/07/28/my-new-dtrace-favorite/ This change bumps the DT_VERS_* number to 1.9.1 in accordance to what is done in illumos. This change was somewhat complicated because upstream is mixed many changes in an individual commit and some of the tests don't really apply to us. There are also appear to be differences in timestamping with Solaris so we had to workaround some assertions making sure no regression happened. Special thanks to Fabian Keil for changes and testing. Illumos Revisions: 13758:23432da34147 Reference: https://www.illumos.org/issues/3021 https://www.illumos.org/issues/3022 https://www.illumos.org/issues/3023 https://www.illumos.org/issues/3024 https://www.illumos.org/issues/3025 https://www.illumos.org/issues/1694 Tested by: Fabian Keil Obtained from: Illumos MFC after: 1 months END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-11T16:50:58.293715Z K 7 svn:log V 101 Set and display the IP fragment bit correctly when dealing with the filter mode. MFC after: 3 days. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2013-04-11T17:16:08.840523Z K 7 svn:log V 204 - Add entries for alc and akoszek, alredy referenced elsewhere - Add phk -> mux relationship, confirmed by mux@ - Add scottl -> sbruno relationship - Move four ex-committers to the alumni section - Sort. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-11T17:50:50.600281Z K 7 svn:log V 121 cxgbe(4): Ensure that the MOD_LOAD handler runs before either t4nex or t5nex attach to their devices. MFC after: 3 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-11T18:02:42.750445Z K 7 svn:log V 106 Remove kernel options from the SYNOPSIS. They are already documented in the geom(4) manual page SYNOPSIS. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-11T18:23:56.648684Z K 7 svn:log V 1014 Fix tcp_output() so that tcpcb is updated in the same manner when an mbuf allocation fails, as in a case when ip_output() returns error. To achieve that, move large block of code that updates tcpcb below the out: label. This fixes a panic, that requires the following sequence to happen: 1) The SYN was sent to the network, tp->snd_nxt = iss + 1, tp->snd_una = iss 2) The retransmit timeout happened for the SYN we had sent, tcp_timer_rexmt() sets tp->snd_nxt = tp->snd_una, and calls tcp_output(). In tcp_output m_get() fails. 3) Later on the SYN|ACK for the SYN sent in step 1) came, tcp_input sets tp->snd_una += 1, which leads to tp->snd_una > tp->snd_nxt inconsistency, that later panics in socket buffer code. For reference, this bug fixed in DragonflyBSD repo: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1ff9b7d322dc5a26f7173aa8c38ecb79da80e419 Reviewed by: andre Tested by: pho Sponsored by: Nginx, Inc. PR: kern/177456 Submitted by: HouYeFei&XiBoLiu END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-11T18:46:41.271838Z K 7 svn:log V 21 Remove contractions. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2013-04-11T18:47:16.441666Z K 7 svn:log V 41 MFC r239046: Fix typo. PR: kern/177495 END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-11T19:05:24.822065Z K 7 svn:log V 34 Minor spelling and grammar fixes. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-11T19:39:40.596747Z K 7 svn:log V 230 - Explain clearly why a different firmware is being installed (if/when it is being installed). Improve other error messages while here. - Select special FPGA specific configuration profile when appropriate. MFC after: 3 days END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-11T19:49:18.022036Z K 7 svn:log V 167 Add sbuf_start_section() and sbuf_end_section() functions, which can be used for automatic section alignment. Discussed with: kib Reviewed by: kib MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-11T19:50:10.007967Z K 7 svn:log V 91 Add sbuf_start_section and sbuf_end_section to the libsbuf symbol map. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-11T19:51:53.764458Z K 7 svn:log V 84 Document sbuf_start_section() and sbuf_end_section() functions. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-11T20:12:28.850932Z K 7 svn:log V 41 MFC r249241: Fix synopsis for sbuf_len. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-04-11T20:15:37.347526Z K 7 svn:log V 20 Spelling correction END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-11T21:15:35.661289Z K 7 svn:log V 110 There is no need for elaborate queries and error checking when trying to set FW4MSG_ENCAP. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-11T21:17:49.202057Z K 7 svn:log V 55 Get rid of a couple of stray \n's. MFC after: 3 days. END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-11T21:18:04.129235Z K 7 svn:log V 612 Fix bugs in the elapsed time calculation in ctlstat_standard() pointed out by bde: - Casting to long double isn't needed. - The division isn't needed, multiplication can be used. "When 1 nanosecond is in a floating point literal, the whole expression is automatically promoted correctly." - non-KNF indentation (1 tab) for the newly split line - different non-KNF indentation (5 spaces) for the previously split line - exessive parentheses around the division operation - bogus blank line which splits up the etime initialization - general verboseness from the above. Submitted by: bde MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-11T21:36:01.156498Z K 7 svn:log V 86 cxgbe/tom: Slight simplification of code that calculates options2. MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-11T22:02:35.267643Z K 7 svn:log V 71 Always enable TXOK interrupts when setting up TX queues for EDMA NICs. END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-04-11T22:04:19.190895Z K 7 svn:log V 353 MFC r245525: Add a conditional sleep 1 in case we add any IPv6 addresses to interfaces. Do this per jail started, not per address. This will allow DAD to complete and services to properly start. Before we have seen problems with services trying to start before the IPv6 address was available to use and thus erroring and failing to start. END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-04-11T22:08:59.826272Z K 7 svn:log V 353 MFC r245525: Add a conditional sleep 1 in case we add any IPv6 addresses to interfaces. Do this per jail started, not per address. This will allow DAD to complete and services to properly start. Before we have seen problems with services trying to start before the IPv6 address was available to use and thus erroring and failing to start. END K 10 svn:author V 6 rakuco K 8 svn:date V 27 2013-04-11T22:10:15.601556Z K 7 svn:log V 115 MFS8 r249107: Add vendor IDs for Broadcom USB dongles (BCM20702). PR: kern/174707 Approved by: re (kib), glebius END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-04-11T22:18:20.958853Z K 7 svn:log V 75 Generate a LINT for powerpc and for powerpc64. Discussed with: nwhitehorn END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-11T22:46:39.403774Z K 7 svn:log V 115 Auto-reduce the holdoff timers that are greater than the maximum value allowed by the hardware. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-11T22:49:29.192244Z K 7 svn:log V 65 Cosmetic change (s/wrwc/wcwr/;s/WRWC/WCWR/). MFC after: 3 days. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-11T23:40:05.840254Z K 7 svn:log V 141 Add pciids of the T5 based cards. The ones that I haven't tested with cxgbe(4) are disabled for now. This will change. MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-04-11T23:45:40.629362Z K 7 svn:log V 57 Fix a typo. Submitted by: bcr Approved by: re (delphij) END