Ħ268000 164 572 240 175 178 189 924 188 282 501 959 505 324 169 392 227 160 198 354 397 179 514 278 378 139 281 694 167 236 1769 1694 253 434 434 261 223 205 145 801 411 456 113 701 155 610 517 267 311 216 216 283 137 191 131 191 131 222 113 156 235 150 228 285 285 165 156 1295 576 168 452 173 138 219 228 809 368 251 587 536 140 210 381 369 282 239 236 240 239 168 199 155 161 878 206 237 219 194 684 271 322 322 219 219 219 154 196 178 520 233 404 186 324 1743 203 236 1431 388 318 225 225 487 392 357 498 255 231 375 228 135 222 211 213 170 221 221 157 193 205 151 278 762 232 334 211 183 179 186 149 272 160 206 313 825 146 152 194 194 569 336 483 196 140 496 304 171 K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-06-28T05:18:03.498896Z K 7 svn:log V 479 Make sure to always clear p_fd for process getting rid of its filetable. Filetable can be shared with other processes. Previous code failed to clear the pointer for all but the last process getting rid of the table. This is mostly cosmetics. Get rid of 'This should happen earlier' comment. Clearing the pointer in this place is fine as consumers can reliably check for files availability by inspecting fd_refcnt and vnodes availabity by NULL-checking them. MFC after: 1 week END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-06-28T05:41:53.780363Z K 7 svn:log V 147 Make fdunshare accept only td parameter. Proc had to match the thread anyway and 2 parameters were inconsistent with the rest. MFC after: 1 week END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-06-28T05:51:45.037873Z K 7 svn:log V 83 Call fdcloseexec right after fdunshare. No functional changes. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-06-28T09:53:44.291944Z K 7 svn:log V 86 Fix breakage after r267981. Pointy hat to: dim MFC after: 3 days X-MFC-With: r267981 END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2014-06-28T15:53:28.562376Z K 7 svn:log V 92 Don't accidently skip every second line when calculating the idle time. MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-28T17:36:18.940009Z K 7 svn:log V 826 Compile fixes: Remove duplicate "debug_ktr.mask" sysctl definition. Remove now unused variable from "kern_ktr.c". This fixes build of "ktr" which was broken by r267961. Let the default value for "vm_kmem_size_scale" be zero. It is setup after that the sysctl has been initialized from "getenv()" in the "kmeminit()" function to equal the "VM_KMEM_SIZE_MAX" value, if zero. On Sparc64 the "VM_KMEM_SIZE_MAX" macro is not a constant. This fixes build of Sparc64 which was broken by r267961. Add a special macro to dynamically create SYSCTL root nodes, because root nodes have a special parent. This fixes build of existing OFED module and CANBUS module for pc98 which was broken by r267961. Add missing "sysctl.h" includes to get the needed sysctl header file declarations. This is needed after r267961. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-28T18:53:02.118606Z K 7 svn:log V 93 Move the -I of common/util to the proper place to fix the powerpc build. MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-28T19:59:12.246637Z K 7 svn:log V 189 Revert r267869: MFV r260708 4427 pid provider rejects probes with valid UTF-8 names Use of u8_textprep.c broke the build on powerpc. Reported by: bz, rpaulo and tinderbox. Pointyhat: me END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-06-28T21:47:15.886659Z K 7 svn:log V 403 There might be a potential race condition for the NFSv4 client when a newly created file has another open done on it that update the open mode. This patch moves the code that updates the open mode up into the block where the mutex is held to ensure this cannot happen. No bug caused by this potential race has been observed, but this fix is a safety belt to ensure it cannot happen. MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-28T23:20:24.022940Z K 7 svn:log V 861 Suppord showing named tables in ipfw(8) rule listing. Kernel changes: * change base TLV header to be u64 (so size can be u32). * Introduce ipfw_obj_ctlv generc container TLV. * Add IP_FW_XGET opcode which is now used for atomic configuration retrieval. One can specify needed configuration pieces to retrieve via flags field. Currently supported are IPFW_CFG_GET_STATIC (static rules) and IPFW_CFG_GET_STATES (dynamic states). Other configuration pieces (tables, pipes, etc..) support is planned. Userland changes: * Switch ipfw(8) to use new IP_FW_XGET for rule listing. * Split rule listing code get and show pieces. * Make several steps forward towards libipfw: permit printing states and rules(paritally) to supplied buffer. do not die on malloc/kernel failure inside given printing functions. stop assuming cmdline_opts is global symbol. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-29T00:37:59.950139Z K 7 svn:log V 409 MFC r267520, r267521, r267522, r267523, r267524: - Remove two write-only local variables - Remove unused element in the vtnet_rxq structure - Remove kernel specific macro out of the VirtIO PCI header file - Move the VIRTIO_RING_F_* defines out of virtqueue.h into virtio_config.h - Make the feature negotiation code easier to follow - Force two byte alignment for all control message headers END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-29T00:50:56.559549Z K 7 svn:log V 228 MFC r267661, r267662, r267663: - Remove an unnecessary kick of the host at the end of transmitting - Handle multiple calls to rxq_eof for single packet completion - Increment the pending packets more aggressively for TSO END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-29T01:04:11.801757Z K 7 svn:log V 74 Give each interrupt a descriptive name when using MSIX MFC after: 3 days END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-29T01:21:35.572557Z K 7 svn:log V 296 More misc vxlan changes: - Rename some multicast related macros to be more consistent - Fix compile without INET6 - Always queue the decapsulated frame to the netisr. The locks we hold at this point from udp_input() makes it too dangerous to process the frame in the same context. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-29T02:28:05.685738Z K 7 svn:log V 134 Reduce some warnings in the Solaris unicode support. Clean some warnings from parenthesis and minor style issues. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-29T07:02:47.278106Z K 7 svn:log V 68 MFC r267491: Use vn_io_fault for the writes from core dumping code. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-29T09:29:27.724774Z K 7 svn:log V 100 Enable kernel-side rule filtering based on user request. Make do_get3() function return real error. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-06-29T18:38:44.670794Z K 7 svn:log V 258 Check return of cam_periph_find() before using it in a printf. If cam_periph_find() doesn't locate the path we requested, bail to error condition. Acquire ciss->mtx for this operation. Reviewed by: "Benesh, Scott" MFC after: 2 weeks END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-06-29T18:53:15.914032Z K 7 svn:log V 301 Add detection for ciss(4) controllers that are set to non-raid JBOD mode. If a controller is set to JBOD, it has no RAID functions turned on. Populate even more of the firmware specification headers, copied from cciss_vol_status. Reviewed by: Benesh, Scott MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-29T18:54:41.690058Z K 7 svn:log V 87 MFC r267692, r267703: Add -u (unbuffered output) after GNU sed. Obtained from: NetBSD END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-06-29T19:22:49.669989Z K 7 svn:log V 413 The ports tree does a number of things to configure itself to the installed system, some of which (like testing the capabilities of /usr/bin/cc) don't work in the context of building a dependency graph on the job submit node. Instead, ship graph generation to the worker nodes and run it in the same chroot as everything else. This reduces the ports tree operations on the submit node to just distfile fetching. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-29T22:35:47.265193Z K 7 svn:log V 180 * Add new IP_FW_XADD opcode which permits to a) specify table ids as names b) add multiple rules at once. Partially convert current code for atomic addition of multiple rules. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-30T00:20:12.333796Z K 7 svn:log V 282 Rename the WITHOUT_VT_SUPPORT knob to WITHOUT_VT The _SUPPORT knobs have a consistent meaning which differs from the behaviour controlled by this knob. As the knob is opt-out and has not appeared in a release the impact should be low. Suggested by: imp, wblock MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-30T00:22:41.028741Z K 7 svn:log V 44 Regenerate after r268022 MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-06-30T00:41:46.068035Z K 7 svn:log V 185 Fix a case in ndling ATA_PASSTHROUGH commands that have an unaligned buffer. This impacts some home-rolled SMART tools. Reviewed by: jimharris Obtained from: Netflix MFC after: 2 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-06-30T01:01:54.408317Z K 7 svn:log V 598 In rare cases, a SATA drive can stop responding to commands and trigger a reset device task request from the driver. If the drive fails to respond with a signature FIS, the driver would previously get into an endless retry loop, stalling all I/O to the drive and keeping user processes stranded. Instead, fail the i/o and invalidate the device if the task management command times out. This is controllable with the sysctl and tunable hw.isci.fail_on_task_timeout dev.isci.0.fail_on_task_timeout The default for these is 1. Reviewed by: jimharris Obtained from: Netflix, Inc. MFC after: 2 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-06-30T04:25:51.017686Z K 7 svn:log V 72 If we're doing RSS then ensure that the callwheel swi's are CPU pinned. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-06-30T04:26:29.427470Z K 7 svn:log V 140 If we're doing RSS then ensure the TCP timer selection uses the multi-CPU callwheel setup, rather than just dumping all the timers on swi0. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-06-30T04:34:59.193626Z K 7 svn:log V 1672 Add initial RSS awareness to the igb(4) driver. The igb(4) hardware is capable of RSS hashing RX packets and doing RSS queue selection for up to 8 queues. (I believe some hardware is limited to 4 queues, but I haven't tested on that.) However, even if multi-queue is enabled for igb(4), the RX path doesn't use the RSS flowid from the received descriptor. It just uses the MSIX queue id. This patch does a handful of things if RSS is enabled: * Instead of using a random key at boot, fetch the RSS key from the RSS code and program that in to the RSS redirection table. That whole chunk of code should be double checked for endian correctness. * Use the RSS queue mapping to CPU ID to figure out where to thread pin the RX swi thread and the taskqueue threads for each queue. * The software queue is now really an "RSS bucket". * When programming the RSS indirection table, use the RSS code to figure out which RSS bucket each slot in the indirection table maps to. * When transmitting, use the flowid RSS mapping if the mbuf has an RSS aware hash. The existing method wasn't guaranteed to align correctly with the destination RSS bucket (and thus CPU ID.) This code warns if the number of RSS buckets isn't the same as the automatically configured number of hardware queues. The administrator will have to tweak one of them for better performance. There's currently no way to re-balance the RSS indirection table after startup. I'll worry about that later. Additionally, it may be worthwhile to always use the full 32 bit flowid if multi-queue is enabled. It'll make things like lagg(4) behave better with respect to traffic distribution. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-06-30T04:38:29.187295Z K 7 svn:log V 1597 Add initial RSS awareness to the ixgbe(4) driver. The ixgbe(4) hardware is capable of RSS hashing RX packets and doing RSS queue selection for up to 8 queues. However, even if multi-queue is enabled for ixgbe(4), the RX path doesn't use the RSS flowid from the received descriptor. It just uses the MSIX queue id. This patch does a handful of things if RSS is enabled: * Instead of using a random key at boot, fetch the RSS key from the RSS code and program that in to the RSS redirection table. That whole chunk of code should be double checked for endian correctness. * Use the RSS queue mapping to CPU ID to figure out where to thread pin the RX swi thread and the taskqueue threads for each queue. * The software queue is now really an "RSS bucket". * When programming the RSS indirection table, use the RSS code to figure out which RSS bucket each slot in the indirection table maps to. * When transmitting, use the flowid RSS mapping if the mbuf has an RSS aware hash. The existing method wasn't guaranteed to align correctly with the destination RSS bucket (and thus CPU ID.) This code warns if the number of RSS buckets isn't the same as the automatically configured number of hardware queues. The administrator will have to tweak one of them for better performance. There's currently no way to re-balance the RSS indirection table after startup. I'll worry about that later. Additionally, it may be worthwhile to always use the full 32 bit flowid if multi-queue is enabled. It'll make things like lagg(4) behave better with respect to traffic distribution. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-06-30T05:33:52.010869Z K 7 svn:log V 157 chown: add a test Add a test for the chown utility. This sets up chown(8) to be capable of being tested. As such, only add one test for now as an example. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-06-30T09:38:09.701826Z K 7 svn:log V 338 MFC: r267967, r267968 - SC_NO_SYSMOUSE isn't currently supported by vt(4), so nuke it from vt.4. - vt_vga(4) is a driver rather than a function so reference it accordingly. - Uncomment HISTORY section given that vt(4) will first appear in 9.3. Reviewed by: emaste (modulo last part) Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-06-30T09:38:14.475923Z K 7 svn:log V 338 MFC: r267967, r267968 - SC_NO_SYSMOUSE isn't currently supported by vt(4), so nuke it from vt.4. - vt_vga(4) is a driver rather than a function so reference it accordingly. - Uncomment HISTORY section given that vt(4) will first appear in 9.3. Reviewed by: emaste (modulo last part) Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-30T09:48:44.562468Z K 7 svn:log V 168 MFC r267767: Add FPU_KERN_KTHR flag to fpu_kern_enter(9). Apply the flag to padlock(4) and aesni(4). In aesni_cipher_process(), do not leak FPU context state on error. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-30T09:51:27.060962Z K 7 svn:log V 130 MFC r267815: Put the aesni_cipher_setup() and aesni_cipher_process() functions into the file which is compiled with SSE disabled. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-30T09:54:08.241589Z K 7 svn:log V 112 MFC r267768: Add documentation for the fpu_kern(9) interfaces. MFC r267785 (by brueffer): Several small fixes. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-30T09:55:29.358641Z K 7 svn:log V 53 MFC r267854: Add fpu_kern.9 man page to the install. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-06-30T09:59:23.166012Z K 7 svn:log V 705 MFC: r267978 In order to get vt(4) a bit closer to the feature set provided by sc(4), implement options TERMINAL_{KERN,NORM}_ATTR. These are aliased to SC_{KERNEL_CONS,NORM}_ATTR and like these latter, allow to change the default colors of normal and kernel text respectively. Note on the naming: Although affecting the output of vt(4), technically kern/subr_terminal.c is primarily concerned with changing default colors so it would be inconsistent to term these options VT_{KERN,NORM}_ATTR. Actually, if the architecture and abstraction of terminal+teken+vt would be perfect, dev/vt/* wouldn't be touched by this commit at all. Reviewed by: emaste Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-06-30T11:15:10.281817Z K 7 svn:log V 314 - Implement a "disposed" pagequeue, where pages are firstly freed to satisfy the pageout free requirements. This frees happen just before the inactive queue scan, in pass == 1 - Implement vm_page_dispose() that inserts pages into the disposed queue. Pages must be unbusy, unwired, unheld, managed and clean. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-06-30T12:20:25.817649Z K 7 svn:log V 360 MFC: r267967, r267968 - SC_NO_SYSMOUSE isn't currently supported by vt(4), so nuke it from vt.4. - vt_vga(4) is a driver rather than a function so reference it accordingly. - Uncomment HISTORY section given that vt(4) will first appear in 9.3. Reviewed by: emaste (modulo last part) Approved by: re (gjb) Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-06-30T12:50:09.261025Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-30T14:12:32.868279Z K 7 svn:log V 608 MFC r267544: Update license to strptime(3) implementation. Our strptime(3) implementation was the base for the illumos implementation and after contacting the author, Kevin Rudy stated the code is under a 2-Clause BSD License [1] After reviewing our local changes to the file in question, the FreeBSD Foundation has agreed that their contributions to this file are not required to carry clause 3 or 4 so the file can be relicensed as in Illumos [2]. References: [1] https://www.illumos.org/issues/357 [2] Illumos Revision: 13222:02526851ba75 Approved: core (jhb) Approved: FreeBSD Foundation (emaste) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-30T14:15:16.623105Z K 7 svn:log V 63 MFC r267601: stdtime: style(9) fixes. Obtained from: illumos END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-30T14:52:40.761542Z K 7 svn:log V 517 MFC r267627: strptime: add support for %t and %n Posix strptime() requires support for %t and %n, which were added to the illumos port. Curiously we were skipping white spaces by default in most other cases making %t meaningless. We now skip spaces in the case of the %e specifier as strftime(3) explicitly adds a space for the single digit case. Reference: http://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html PR: 173421 Obtained from: Illumos (Rev. a11c1571b6942161b0186d0588609448066892c2) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-30T16:16:35.832207Z K 7 svn:log V 420 MFS r267944 (MFC r258941,267839): Apply vendor improvements to oce(4) driver: - Add support to 20Gbps, 25Gbps, 40Gbps devices; - Add support to control adaptive interrupt coalescing (AIC) via sysctl; - Improve support of BE3 devices; - Big endian support fixes; Many thanks to Emulex for their continued support of FreeBSD. Submitted by: Venkata Duvvuru Approved by: re (gjb) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-30T16:18:38.169741Z K 7 svn:log V 171 Add vt(4) to GENERIC and retire the separate VT config vt(4) and sc(4) can now coexist in the same kernel. To choose the vt driver, set the loader tunable kern.vty=vt . END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-30T16:23:31.994672Z K 7 svn:log V 214 MFC r267839: Apply vendor fixes for big endian support and 20GBps/25GBps link speeds. Many thanks to Emulex for their continued support of FreeBSD! Submitted by: Venkata Duvvuru END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-30T16:31:28.194366Z K 7 svn:log V 119 MFC r267378: Fix path for zlib examples, this have no runtime effect and was overlooked when I was doing zlib update. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-30T16:32:49.065560Z K 7 svn:log V 119 MFC r267378: Fix path for zlib examples, this have no runtime effect and was overlooked when I was doing zlib update. END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-06-30T16:39:37.352636Z K 7 svn:log V 190 Fix ifconfig to show pltime and vltime with -L option, again after usage change from time_second to time_uptime. PR: 188520 Submitted by: Guy Yur MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-30T16:49:00.168684Z K 7 svn:log V 42 Add a vt(4) cross reference to syscons(4) END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-06-30T16:53:12.828563Z K 7 svn:log V 99 MFC r267800: Exclude IPv4 address from doing longest match. It prevented DNS based load balancing. END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-06-30T16:56:12.149494Z K 7 svn:log V 39 MFC r267801: Make nd6_gctimer tunable. END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-06-30T17:03:32.167244Z K 7 svn:log V 99 MFC r267800: Exclude IPv4 address from doing longest match. It prevented DNS based load balancing. END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-06-30T17:04:55.628040Z K 7 svn:log V 39 MFC r267801: Make nd6_gctimer tunable. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-30T18:11:22.256654Z K 7 svn:log V 124 Workaround for bug in GCC on powerpc64. Symbols that are exported are by fault required to be all "static" or all "extern". END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-06-30T19:09:24.683733Z K 7 svn:log V 17 Fix compilation. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-30T19:30:23.754005Z K 7 svn:log V 59 Fix state -> flags from the SUSPENDED change to be a flag. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-30T19:33:04.001621Z K 7 svn:log V 142 Prefix SA-14:16.file with 'FreeBSD-' for consistency with other SA listings. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-30T19:34:16.871554Z K 7 svn:log V 55 Add missing VT_ kernel config knobs MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-30T19:36:08.408799Z K 7 svn:log V 135 Make reference to vt(4) a link now that the manual page is available. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 trociny K 8 svn:date V 27 2014-06-30T19:46:17.527829Z K 7 svn:log V 188 MFC r267336: PF_BLUETOOTH protocols: skip initialization of non-virtualized globals for non-default VNET instances. This fixes panic on a vnet initialization when ng_btsocket is loaded. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2014-06-30T19:47:26.351715Z K 7 svn:log V 188 MFC r267336: PF_BLUETOOTH protocols: skip initialization of non-virtualized globals for non-default VNET instances. This fixes panic on a vnet initialization when ng_btsocket is loaded. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-06-30T20:22:00.572359Z K 7 svn:log V 72 fill in the list of obsolete files when base is built with WITHOUT_INFO END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-06-30T20:24:00.283471Z K 7 svn:log V 63 Activate the condition for WITHOUT_INFO Submitted by: antoine END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-06-30T20:26:30.308003Z K 7 svn:log V 1201 MFC r267981: Pull in r211627 from upstream llvm trunk (by Bill Schmidt): [PPC64] Fix PR20071 (fctiduz generated for targets lacking that instruction) PR20071 identifies a problem in PowerPC's fast-isel implementation for floating-point conversion to integer. The fctiduz instruction was added in Power ISA 2.06 (i.e., Power7 and later). However, this instruction is being generated regardless of which 64-bit PowerPC target is selected. The intent is for fast-isel to punt to DAG selection when this instruction is not available. This patch implements that change. For testing purposes, the existing fast-isel-conversion.ll test adds a RUN line for -mcpu=970 and tests for the expected code generation. Additionally, the existing test fast-isel-conversion-p5.ll was found to be incorrectly expecting the unavailable instruction to be generated. I've removed these test variants since we have adequate coverage in fast-isel-conversion.ll. This is needed to compile clang with debug+asserts on older powerpc64 and ppc970 targets. Requested by: jhibbits MFC r267982: Add the llvm patch for r267981. MFC r268003: Fix breakage after r267981. Pointy hat to: dim END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-30T20:54:25.805794Z K 7 svn:log V 483 regex(3): Add support for \< and \> word delimiters Solaris and other OSs have support for \< and \> as word delimiters in utilities like sed(1). These are useful to have for general compatiblity with Solaris but should be avoided for portability with other systems, including the traditional BSDs. Bump __FreeBSD_version as this is likely to affect some userland utilities. Reference: https://www.illumos.org/issues/516 PR: bin/153257 Obtained from: Illumos MFC after: 1 month END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-06-30T23:34:36.666542Z K 7 svn:log V 73 Initialise these variables so gcc doesn't complain. Submitted by: luigi END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2014-06-30T23:39:13.472286Z K 7 svn:log V 355 MFC r267821: Strict value checking will cause problem. Bay trail DN2820FYKH is supported on Linux but does not work on FreeBSD. This behaviour is bug-compatible with Linux-3.13.5. References: http://d.hatena.ne.jp/syuu1228/20140326 http://lxr.linux.no/linux+v3.13.5/arch/x86/kernel/acpi/boot.c#L1094 Submitted by: syuu PR: 187966 Approved by: re (gjb) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-07-01T00:22:54.452171Z K 7 svn:log V 78 Add vt(4) devices and options to NOTES Reviewed by: marius (earlier version) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-07-01T00:59:45.817386Z K 7 svn:log V 41 Merge in an up to date kernel from head. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-07-01T04:33:36.840982Z K 7 svn:log V 123 Refactor some code in mps.c to reduce header pollution. Reviewed by: gibbs Obtained from: Netflix, Inc. MFC after: 2 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-07-01T04:44:18.236044Z K 7 svn:log V 132 Add accessor functions for manipulating the CAM CCB status field. Reviewed by: gibbs Obtained from: Netflix, Inc MFC after: 2 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-07-01T06:23:48.475647Z K 7 svn:log V 713 Merge r268024, 268025: Fix a case in ndling ATA_PASSTHROUGH commands that have an unaligned buffer. This impacts some home-rolled SMART tools. In rare cases, a SATA drive can stop responding to commands and trigger a reset device task request from the driver. If the drive fails to respond with a signature FIS, the driver would previously get into an endless retry loop, stalling all I/O to the drive and keeping user processes stranded. Instead, fail the i/o and invalidate the device if the task management command times out. This is controllable with the sysctl and tunable hw.isci.fail_on_task_timeout dev.isci.0.fail_on_task_timeout The default for these is 1. Obtained from: Netflix, Inc. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-07-01T06:29:15.442175Z K 7 svn:log V 275 Perform a lockless check in sigacts_shared. It is used only during execve (i.e. singlethreaded), so there is no fear of returning 'not shared' which soon becomes 'shared'. While here reorganize the code a little to avoid proc lock/unlock in shared case. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T06:43:15.537097Z K 7 svn:log V 154 MFV r267565: 4757 ZFS embedded-data block pointers ("zero block compression") 4913 zfs release should not be subject to space checks MFC after: 2 weeks END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-07-01T06:50:35.382732Z K 7 svn:log V 491 Merge r266746, 266775: Now that there are separate back-end implementations of busdma, the bounce implementation shouldn't steal flags from the common front-end. Move those flags to the back-end. Eliminate the fake contig_dmamap and replace it with a new flag, BUS_DMA_KMEM_ALLOC. They serve the same purpose, but using the flag means that the map can be NULL again, which in turn enables significant optimizations for the common case of no bouncing. Obtained from: Netflix, Inc. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-07-01T06:59:23.732820Z K 7 svn:log V 440 Merge r265463: Due to reasons unknown at this time, the system can be forced to write a journal block even when there are no journal entries to be written. Until the root cause is found, handle this case by ensuring that a valid journal segment is always written. Second, the data buffer used for writing journal entries was never being scrubbed of old data. Fix this. Submitted by: Takehara Mikihito Obtained from: Netflix, Inc. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-07-01T07:13:41.181207Z K 7 svn:log V 43 Fix for use after free. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T07:29:42.085118Z K 7 svn:log V 113 MFV r267566: 4390 i/o errors when deleting filesystem/zvol can lead to space map corruption MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-07-01T07:30:29.994572Z K 7 svn:log V 283 Fix order of USB serial layer uninit. Currently module dependency rules prevent the USB serial module to be unloaded before any client modules. This patch ensures that the "ucom_mtx" mutex is destroyed last when doing a system uninit in a monotolith build aswell. MFC after: 3 days END K 10 svn:author V 3 zec K 8 svn:date V 27 2014-07-01T07:54:12.604738Z K 7 svn:log V 276 Remove any stale mbuf tags from packets being injected into a netgraph graph. In particular, this solves some issues with (probably leaked) IPSec-related tags being looped back through netgraph to the inbound path which then misinterpreted the stale tags. MFC after: 7 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T07:56:07.845069Z K 7 svn:log V 185 MFV r267567: 4881 zfs send performance degradation when embedded block pointers are encountered illumos/illumos-gate@06315b795c0d54f0228e0b8af497a28752dd92da MFC after: 2 weeks END K 10 svn:author V 3 zec K 8 svn:date V 27 2014-07-01T08:02:25.431562Z K 7 svn:log V 146 The assumption in ipsec4_process_packet() that the payload may be only IPv4 is wrong, so check the IP version before mangling the payload header. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T08:20:34.462458Z K 7 svn:log V 139 MFV r267568: 4891 want zdb option to dump all metadata illumos/illumos-gate@df15e419cb7359ba56ddddab9045e438d89e7cbc MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T08:28:49.934572Z K 7 svn:log V 143 MFV r267569: 4897 Space accounting mismatch in L2ARC/zpool illumos/illumos-dist@3038a2b421b40dc5ac11cd88423696618584f85a MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T08:36:56.003386Z K 7 svn:log V 142 MFV r267570: 4756 metaslab_group_preload() could deadlock illumos/illumos-gate@30beaff42d8240ebf5386e8b7a14e3d137a1631f MFC after: 2 weeks END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-07-01T09:21:32.832037Z K 7 svn:log V 76 Don't call crcopysafe or uifind unnecessarily in execve. MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-07-01T10:51:20.277503Z K 7 svn:log V 103 Don't overload the CCB status field within the driver. Obtained from: Netflix, Inc. MFC after: 2 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-07-01T12:40:00.902829Z K 7 svn:log V 64 Linux uses its own UUID for data partitions. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-07-01T12:44:47.312881Z K 7 svn:log V 70 Document all aliases supported by GEOM_PART class. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-07-01T13:29:17.942872Z K 7 svn:log V 786 MFC r267355: Add UUIDs for DragonFlyBSD's partition types. MFC r267356: Add DragonFlyBSD's Hammer FS types and type names. MFC r267357: Add aliases for DragonFlyBSD's partition types. MFC r267358: Allow dumping to DragonFlyBSD's swap partition. MFC r267359: Add disklabel64 support to GEOM_PART class. This partitioning scheme is used in DragonFlyBSD. It is similar to BSD disklabel, but has the following improvements: * metadata has own dedicated place and isn't accessible through partitions; * all offsets are 64-bit; * supports 16 partitions by default (has reserved place for more); * has reserved place for backup label (but not yet implemented); * has UUIDs for partitions and partition types; MFC r267360: Add disklabel64 support Relnotes: yes END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-07-01T14:12:59.409989Z K 7 svn:log V 113 Fix typo: s/ata/ichsmb/ Wrap. Submitted by: mav Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-07-01T14:33:48.287591Z K 7 svn:log V 143 Add the CPU port flag to the CPU port on rtl8366 (port 5). Do not allow any media change on the switch CPU port. Tested on TP-Link WR1043ND. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-07-01T14:49:46.211856Z K 7 svn:log V 125 Fix the reported status for the switch CPU port which was (wrongly) reporting half-duplex link. Tested on TP-Link WR1043ND. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-07-01T14:54:34.052113Z K 7 svn:log V 99 Actually pro AMD chipsets. MFC after: 3 days Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-01T15:05:23.623921Z K 7 svn:log V 591 Add more formal and strict command parsing and validation. For every supported command define CDB length and mask of bits that are allowed to be set. This allows to remove bunch of checks through the code and still make the validation more strict. To properly do it for commands supporting multiple service actions, formalize their parsing by adding subtables for each of such commands. As visible effect, this change allows to add support for REPORT SUPPORTED OPERATION CODES command, reporting to client all the data about supported SCSI commands, except timeouts. MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-07-01T15:36:05.535708Z K 7 svn:log V 178 Revert r268007, and re-adapt MFV r260708: 4427 pid provider rejects probes with valid UTF-8 names Use of u8_textprep.c required -Wno-cast-qual for powerpc. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T15:50:34.193839Z K 7 svn:log V 225 MFC r267493: Fix two issues: - Check for rc.d directory's existence before traversing it; - Don't output * when rc.d directory is empty. PR: bin/190665 Submitted by: Oleg Ginzburg (with changes) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T15:51:19.558928Z K 7 svn:log V 225 MFC r267493: Fix two issues: - Check for rc.d directory's existence before traversing it; - Don't output * when rc.d directory is empty. PR: bin/190665 Submitted by: Oleg Ginzburg (with changes) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T15:55:41.406485Z K 7 svn:log V 122 MFC r267372-267374: fix various misimplementation of instructions. Submitted by: Wolf Ramovsky END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T16:00:48.462116Z K 7 svn:log V 122 MFC r267372-267374: fix various misimplementation of instructions. Submitted by: Wolf Ramovsky END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T16:01:48.302741Z K 7 svn:log V 122 MFC r267372-267374: fix various misimplementation of instructions. Submitted by: Wolf Ramovsky END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-01T16:52:41.594286Z K 7 svn:log V 62 Add support for REPORT TIMESTAMP command. MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-07-01T17:16:59.852712Z K 7 svn:log V 103 MFH @r268103 in preparation to merge this branch back to ^/head. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-07-01T17:27:48.500365Z K 7 svn:log V 83 Remove old reference to IP_RSSCPUID. Submitted by: Eggert, Lars END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-07-01T17:31:47.729917Z K 7 svn:log V 427 MFS r267876 (MFC r267616): Retooling addrconfig() to exclude addresses on loopback interfaces when looking for configured addresses. This change is based upon the code from the submitter, and made following changes: - Exclude addresses assigned on interfaces which are down, like NetBSD does. - Exclude addresses assigned on interfaces which are ifdisabled. PR: 190824 Submitted by: Justin McOmie Approved by: re (marius) END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-07-01T18:05:38.471714Z K 7 svn:log V 140 MFS r268053 (MFC r267800): Exclude IPv4 address from doing longest match. It prevented DNS based load balancing. Approved by: re (delphij) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-07-01T18:23:00.659704Z K 7 svn:log V 311 MFC 266322,266323: - Use 'RESOURCE' instead of the more generic 'TYPE' for the resource name column header when displaying resource usage. This more closely matches other procstat displays. - Add descriptions of the display formats for -e, -l, -r, and -x. Fix a few typos in indent settings while here. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-07-01T18:24:54.687316Z K 7 svn:log V 94 Free the static DMA buffer holding the command ring during detach as well as if attach fails. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-07-01T18:26:30.192487Z K 7 svn:log V 231 Merge r267837 from ^/projects/release-debugdist: When building world when WITH_DEBUG_FILES is set, avoid building ar(1) archives with '-g'. Tested on: head@r267801 Reviewed by: emaste, imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-07-01T19:04:04.528556Z K 7 svn:log V 1649 Merge ^/projects/release-debugdist into ^/head: r262491, r262493, r262516, r267345, r267397: r262491: Add DEBUG_DISTRIBUTIONS, and set it to include base and EXTRA_DISTRIBUTIONS, excluding 'doc', since the documentation distribution does not have corresponding debug information. Use DEBUG_DISTRIBUTIONS in the 'distributeworld installworld' and 'packageworld' targets, to reduce the number of occurances of excluding distributions that do not have .debug files. r262493: In release/Makefile, explicitly set WITHOUT_DEBUG_FILES=1 for dvdrom and cdrom targets. (Later reverted.) Exclude the *.debug.txz distributions from dvdrom and cdrom images, but include them for ftp distribution. r262516: Rename ${dist}.debug.txz to ${dist}-dbg.txz to prevent the following output: eval: ${base....}: Bad substitution eval: ${doc....}: Bad substitution eval: ${games....}: Bad substitution eval: ${lib32....}: Bad substitution This also follows other naming conventions seen in the wild. r267345: Explicitly set MK_DEBUG_FILES=no, which overrides the WITH_DEBUG_FILES=1 and WITHOUT_DEBUG_FILES=1 collisions previously experienced. This change allows us to create the {base,kernel}_debug.txz distributions without accidentally installing the *.debug files on the medium itself. r267397: Remove evaluations of MK_DEBUG_FILES where not needed. If DEBUG_DISTRIBUTIONS is empty, which is true if MK_DEBUG_FILES evaluates to 'no' above, the loop does nothing. MFC after: 1 month Tested on: head@r267801 Reviewed by: brooks [1], emaste, imp [1] [1] earlier version Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-07-01T19:11:00.908432Z K 7 svn:log V 110 Remove branch that is no longer needed, and merged to head/ in r268111. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-07-01T19:50:47.071355Z K 7 svn:log V 140 Convert bge(4) to use the driver API. Submitted by: Sreekanth Rupavatharam Obtained from: Juniper Networks, Inc. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-07-01T20:00:35.753286Z K 7 svn:log V 1332 Change NFS readdir() to only ignore cookies preceding the given offset for UFS rather than for all but ZFS. This code was assuming that offsets were monotonically increasing for all file systems except ZFS and that the cookies from a previous call may have been rewound to a block boundary. According to mckusick@ only UFS is known to do this, so only requests against UFS file systems should remove cookies smaller than the given offset. This fixes serving TMPFS over NFS as it too does not have monotonically increasing offsets. The comment around the code also indicated it was specific to UFS. Some of the code using 'not_zfs' is specific to ZFS snapshot handling, so add a 'is_zfs' variable for those cases. It's possible that 'is_zfs' check for VFS_VGET() support may not be specific to ZFS. This needs more research and testing. After this fix TMPFS and other file systems can be served over NFS. To test I compared the results of syncing a /usr/src tree into a tmpfs and serving that over NFS. Before the fix 3589 files were missing on the remote view. After the fix all files were successfully found. Reviewed by: rmacklem Discussed with: mckusick, rmacklem via fs@ Discussed at: http://lists.freebsd.org/pipermail/freebsd-fs/2014-April/019264.html MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-07-01T20:47:16.233307Z K 7 svn:log V 290 Merge the NFSv4.1 server code in projects/nfsv4.1-server over into head. The code is not believed to have any effect on the semantics of non-NFSv4.1 server behaviour. It is a rather large merge, but I am hoping that there will not be any regressions for the NFS server. MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T20:57:39.248994Z K 7 svn:log V 221 - Fix handling of "new" style of ioctl in compatiblity mode [1]; - Reorganize code and reduce diff from upstream; - Improve forward compatibility shims for previous kernel; Reported by: sbruno [1] X-MFC-With: r268075 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-07-01T21:04:40.232597Z K 7 svn:log V 132 Document r268045, vt(4) now in GENERIC. Remove r260888, VT kernel configuration file is gone. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-07-01T21:12:48.524045Z K 7 svn:log V 127 Bump __FreeBSD_version since r268115 changed the internal interfaces used between the NFS related modules, including the krpc. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T21:14:35.838407Z K 7 svn:log V 390 4914 zfs on-disk bookmark structure should be named *_phys_t Reviewed by: George Wilson Reviewed by: Christopher Siden Reviewed by: Richard Lowe Reviewed by: Saso Kiselkov Approved by: Robert Mustacchi illumos/illumos-gate@7802d7bf98dec568dadf72286893b1fe5abd8602 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T21:16:27.073429Z K 7 svn:log V 295 4936 lz4 could theoretically overflow a pointer with a certain input Reviewed by: Saso Kiselkov Reviewed by: Keith Wesolowski Approved by: Gordon Ross illumos/illumos-gate@58d0718061c87e3d647c891ec5281b93c08dba4e END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T21:19:10.648283Z K 7 svn:log V 260 4924 LZ4 Compression for metadata Reviewed by Matthew Ahrens Reviewed by Saso Kiselkov Approved by: Christopher Siden illumos/illumos-gate@b8289d24d866c1af02d7007348f7f057693c15d3 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T21:21:56.081347Z K 7 svn:log V 401 4929 want prevsnap property Reviewed by: Adam Leventhal Reviewed by: Matt Amdur Reviewed by: Saso Kiselkov Reviewed by: Boris Protopopov Reviewed by: Richard Lowe Approved by: Dan McDonald illumos/illumos-gate@b461c7460e5e77cf65f00151162e654220c6e2fb END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T21:51:30.486761Z K 7 svn:log V 158 MFV r268119: 4914 zfs on-disk bookmark structure should be named *_phys_t illumos/illumos-gate@7802d7bf98dec568dadf72286893b1fe5abd8602 MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T21:57:15.626443Z K 7 svn:log V 134 Mark r268120 as merged. We believe that the LZ4 usage in ZFS is not affected and plans to sync with upstream LZ4 in the near future. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-07-01T22:16:44.708941Z K 7 svn:log V 282 Small merges from OpenSolaris: These have no effect on FreeBSD, in fact they are ifdef'ed, but make easier future merges: 6699767 panic in spec_open() 6718877 crgetzoneid() use can cause problems when forking processes with USDT providers in a non global zone MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T22:31:09.638970Z K 7 svn:log V 131 MFV r268121: 4924 LZ4 Compression for metadata illumos/illumos-gate@b8289d24d866c1af02d7007348f7f057693c15d3 MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-07-01T22:32:11.985344Z K 7 svn:log V 38 Add an entry for r268115 to UPDATING. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T22:42:53.931484Z K 7 svn:log V 125 MFV r268122: 4929 want prevsnap property illumos/illumos-gate@b461c7460e5e77cf65f00151162e654220c6e2fb MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-07-01T22:46:39.190597Z K 7 svn:log V 114 Check if fchflags() is needed by fstat'ing before and check the results. Reviewed by: jilles X-MFC-With: r267977 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-07-01T23:37:24.601423Z K 7 svn:log V 120 Merge from OpenSolaris (15-Sep-2008): 6735480 race between probe enabling and provider registration MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-07-01T23:41:54.604719Z K 7 svn:log V 75 Convert nfe(4) to use the driver API. Submitted by: Mikhail END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-07-02T01:28:38.718944Z K 7 svn:log V 128 MVC r268014: Reduce some warnings in the Solaris unicode support. Clean some warnings from parenthesis and minor style issues. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-07-02T01:32:40.445879Z K 7 svn:log V 128 MVC r268014: Reduce some warnings in the Solaris unicode support. Clean some warnings from parenthesis and minor style issues. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-07-02T04:06:06.484288Z K 7 svn:log V 62 Prepare for merging to stable/10: update the history section. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-07-02T05:09:41.149947Z K 7 svn:log V 98 Add documentation for svnlite. PR: 191544 Reported by: eric Reviewed by: imp MFC After: 1 week END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-07-02T05:45:40.403157Z K 7 svn:log V 112 Plug gcc warning after r268074 about unitialized newsigacts Reported by: Gary Jennejohn END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-07-02T08:45:26.922854Z K 7 svn:log V 54 Define a "__weak" macro for declaring symbols "weak". END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-07-02T08:49:06.605317Z K 7 svn:log V 180 Add support for empty data sets. Data set begin and end pointers should resolve to "NULL" when not present. This is done by declaring the data set begin and end symbols as "weak". END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:16:12.690613Z K 7 svn:log V 669 MFC r266981: Overhaul CAM SG driver IOCTL interfaces. Make it really work for native FreeBSD programs. Before this it was broken for years due to different number of pointer dereferences in Linux and FreeBSD IOCTL paths, permanently returning errors to FreeBSD programs. This change breaks the driver FreeBSD IOCTL ABI, making it more strict, but since it was not working any way -- who bother. Add shims for 32-bit programs on 64-bit host, translating the argument of the SG_IO IOCTL for both FreeBSD and Linux ABIs. With this change I was able to run 32-bit Linux sg3_utils tools and simple 32 and 64-bit FreeBSD test tools on both 32 and 64-bit FreeBSD systems. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:18:42.021970Z K 7 svn:log V 139 MFC r267606: On discovery stage add set of TargetAddress keys to reply, reporting to the client all the portal groups addresses and ports. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:20:08.088600Z K 7 svn:log V 241 MFC r267872: Allow to use iSCSI immediate data by several ctl_datamove() calls. While for FreeBSD client that is only a minor optimization, VMWare client doesn't support additional data requests after all data being sent once as immediate. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:32:44.435981Z K 7 svn:log V 118 MFC r265323 (by trasz): Provide better descriptions for 'struct ctl_scsiio' fields; based mostly on emails from ken@. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:35:06.172708Z K 7 svn:log V 91 MFC r267481, r267952: Implement small KPI to access LUN options instead doing it by hands. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:36:04.638181Z K 7 svn:log V 87 MFC r267485: Remove non-functional remnants of control LUN -- 18MB of RAM for nothing. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:37:22.550068Z K 7 svn:log V 94 MFC r267496, r267498: Add "vendor", "product" and "revision" options to control inquiry data. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:38:22.647181Z K 7 svn:log V 57 MFC r267499: Remove custom processing for "file" option. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:39:45.242886Z K 7 svn:log V 179 MFC r267500: Format Portal Group Tag same as istgt does -- %4.4x instead of %x. SPC-4 spec tells it should be "two or more hexadecimal digits". RFC3720 tells it is 16-bit value. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:41:11.545000Z K 7 svn:log V 68 MFC r267514: Move kern_total_len setting from backend to core code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:42:43.211315Z K 7 svn:log V 113 MFC r267515: Remove memcpy() from ctl_private[] accesses. That union is aligned enough to access data directly. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:43:53.902351Z K 7 svn:log V 220 MFC r267519: Make backends track completion by processed number of sectors instead of total transfer size. Commands such as VERIFY or COMPARE AND WRITE may have transfer size not matching directly to number of sectors. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:45:31.918285Z K 7 svn:log V 732 MFC r267537: Add support for VERIFY(10/12/16) and COMPARE AND WRITE SCSI commands. Make data_submit backends method support not only read and write requests, but also two new ones: verify and compare. Verify just checks readability of the data in specified location without transferring them outside. Compare reads the specified data and compares them to received data, returning error if they are different. VERIFY(10/12/16) commands request either verify or compare from backend, depending on BYTCHK CDB field. COMPARE AND WRITE command executed in two stages: first it requests compare, and then, if succeesed, requests write. Atomicity of operation is guarantied by CTL request ordering code. Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:48:06.408210Z K 7 svn:log V 54 MFC r267506: Document additional LUN/backend options. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-07-02T10:49:06.354982Z K 7 svn:log V 60 MFC r267516i (by joel): mdoc: add missing width to Bl -tag. END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-07-02T11:49:15.847031Z K 7 svn:log V 101 MFC r267871: Introduce $RA_SERVER to set default whois server. Requested by: nork Reviewed by: nork END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-07-02T11:51:01.808384Z K 7 svn:log V 101 MFC r267871: Introduce $RA_SERVER to set default whois server. Requested by: nork Reviewed by: nork END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-07-02T12:13:11.454719Z K 7 svn:log V 474 Various bugfixes from Stefano Garzarella: 1. oce_multiq_start(): make sure the buffer is consumed even on ENXIO 2. oce_multiq_transmit(): there is an extra call to drbr_enqueue() causing the mbuf to be enqueued twice when the NIC's queue is full, and potential panics 3. oce_multiq_transmit(): same problem fixed recently in ixgbe (r267187) and other drivers: if the mbuf is enqueued, the proper return value is 0 Submitted by: Stefano Garzarella MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-07-02T13:09:26.338473Z K 7 svn:log V 243 MFC r267651 (by attilio): Add the possibility to specify ecx when performing cpuid calls. MFC r267673: Restore the ABI of the cpuctl(4) ioctl request CPUCTL_CPUID. MFC r267814: Make cpuctl_do_cpuid() and cpuctl_do_cpuid_count() return void. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-07-02T13:24:21.967417Z K 7 svn:log V 387 Prefer vt(4) for UEFI boot The UEFI framebuffer driver vt_efifb requires vt(4), so add a mechanism for the startup routine to set the preferred console. This change is ugly because console init happens very early in the boot, making a cleaner interface difficult. This change is intended only to facilitate the sc(4) / vt(4) transition, and can be reverted once vt(4) is the default. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-07-02T14:34:01.802021Z K 7 svn:log V 100 Add a ful stop after FreeBSD's version in the history section. Pointed out by: brueffer@ (thanks!) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-07-02T14:47:48.668946Z K 7 svn:log V 45 Fix typos in VTY constant names from r268158 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-07-02T14:54:41.756929Z K 7 svn:log V 400 MFC mkimg(1) -- revisions 268159, 268134, 266556, 266514, 266513, 266512, 266511, 266510, 266509, 266176, 265468, 265467, 265462, 265170, 263926, 263924, 263923, 263919 and 263918. Revision 267182 changed mkimg.1 alongside other unrelated manpages. The change to mkimg.1 has been applied without registering a merge of the revision. This allows a future merge of r267182 to happen. Relnotes: yes END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-07-02T15:23:13.997714Z K 7 svn:log V 203 Now that GENERIC can boot on UEFI systems (r268158), switch the build to use UEFI-compatible images. These will boot as before on BIOS systems, but will boot using the UEFI loader on UEFI-aware systems. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-07-02T15:40:25.388239Z K 7 svn:log V 77 Adding initial uinput support, adapting uinput.h to FreeBSD ioctl specifics. END