ĵ=265527 164 197 169 121 159 174 180 143 441 334 189 189 189 199 168 172 164 217 220 168 177 129 239 246 153 510 458 598 958 1490 958 267 294 431 206 159 461 182 215 221 202 267 294 431 206 159 461 182 514 215 221 202 383 386 523 633 2466 166 337 135 1366 775 217 639 1212 259 368 871 262 227 184 147 160 191 159 202 187 189 293 351 401 220 282 289 206 170 647 332 647 255 141 177 438 176 304 267 157 233 179 298 234 167 169 360 201 559 298 298 895 162 162 196 213 213 236 308 313 624 317 734 351 160 299 224 211 225 205 232 143 240 305 224 211 173 624 173 205 233 317 240 1435 263 202 402 284 330 237 144 173 371 202 296 856 278 186 146 280 315 373 449 357 336 318 534 297 K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-07T07:57:50.872385Z K 7 svn:log V 101 There's no need to be this paranoid - ni is deferenced before this point. Coverity ID: CID 1211937 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-05-07T07:57:53.440838Z K 7 svn:log V 75 MFC r264604: Remove redundant code. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-05-07T07:59:44.134765Z K 7 svn:log V 27 MFC r264876: Grammar fix. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-05-07T08:00:59.451648Z K 7 svn:log V 65 MFC r264877: Style fixes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-05-07T08:03:30.722088Z K 7 svn:log V 80 MFC r264355 by mav@: Remove unused val argument value from SYSCTL_INT() calls. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-05-07T08:04:41.331165Z K 7 svn:log V 86 MFC r264405: Fix periph listing when IOCTL buffer border hits result for wanted bus. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-07T08:06:54.830190Z K 7 svn:log V 47 MFC r264573+264608+264609: Sync with OpenBSD. END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-05-07T08:38:02.302356Z K 7 svn:log V 348 msync(2) must return ENOMEM and not EINVAL when the address is outside the allowed range or when one or more pages are not mapped. This according to The Open Group Base Specifications Issue 7. Discussed with: attilio, Bruce Evans Reviewed by: alc, Garrett Cooper Reported by: ATF MFC after: 2 weeks Sponsored by: EMC / Isilon storage division END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-07T09:15:46.120407Z K 7 svn:log V 238 - Sprinkle const and static as appropriate. - Fix whitespace bugs. - Remove pointless returns in void functions. - Nuke pointless switch cases mirroring the default. MFC after: 3 days Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-07T09:55:47.485810Z K 7 svn:log V 94 MFC: r265248 Allow GEOM_VINUM to be statically compiled into the kernel. Submitted by: gleb END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-07T09:56:14.108888Z K 7 svn:log V 94 MFC: r265248 Allow GEOM_VINUM to be statically compiled into the kernel. Submitted by: gleb END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-07T09:56:28.797471Z K 7 svn:log V 94 MFC: r265248 Allow GEOM_VINUM to be statically compiled into the kernel. Submitted by: gleb END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-05-07T11:18:27.665726Z K 7 svn:log V 107 It is safe to allow shrinking, when aligned size is bigger than current. Tested by: jmg MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T12:45:26.576626Z K 7 svn:log V 76 Document r265236, addition of mpr(4). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T12:45:28.378999Z K 7 svn:log V 80 Document r265348, Atheros AR1111 support. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T12:45:30.153799Z K 7 svn:log V 72 Move r265348 to 'net-if' section. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T12:45:31.931140Z K 7 svn:log V 124 Sort entries by svn revision as oldest-newest to match entry order in other branches. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T12:45:33.723847Z K 7 svn:log V 127 Add svn revision number to sendmail entry and wrap line. Fix capitalization of Sendmail. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T12:48:18.519313Z K 7 svn:log V 76 Document r265388, addition of mpr(4). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-05-07T13:53:38.657174Z K 7 svn:log V 85 Fix possible divide by zero. Spotted by: many Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-07T14:20:58.752841Z K 7 svn:log V 34 Merge ^/head/usr.bin/mkimg@265546 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-07T14:57:56.176708Z K 7 svn:log V 143 Eliminate mkimg_seek() by moving the lseek(2) calls into fdcopy(). While here, minimize use of the global tmpfd by passing it as ofd to mkimg. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-05-07T15:01:14.470059Z K 7 svn:log V 154 MFC r257654 cxgbe(4): Exclude MPS_RPLC_MAP_CTL (0x11114) from the register dump. Turns out it's a write-only register with strange side effects on read. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-07T15:08:00.091521Z K 7 svn:log V 58 Abstract the use of ftruncate(2) behind mkimg_set_size(). END K 10 svn:author V 2 np K 8 svn:date V 27 2014-05-07T15:13:57.242599Z K 7 svn:log V 418 MFC r257772, r258441, and r258689. r257772: cxgbe(4): Tidy up the display for payload memory statistics (pm_stats). # sysctl -n dev.t4nex.0.misc.pm_stats # sysctl -n dev.t5nex.0.misc.pm_stats r258441: cxgbe(4): update the internal list of device features. r258689: Disable an assertion that relies on some code[1] that isn't in HEAD yet. [1] http://lists.freebsd.org/pipermail/freebsd-net/2013-August/036573.html END K 10 svn:author V 2 np K 8 svn:date V 27 2014-05-07T15:24:24.891570Z K 7 svn:log V 366 MFC r258879: cxgbe(4): T4_SET_SCHED_CLASS and T4_SET_SCHED_QUEUE ioctls to program scheduling classes in the chip and to bind tx queue(s) to a scheduling class respectively. These can be used for various kinds of tx traffic throttling (to force selected tx queues to drain at a fixed Kbps rate, or a % of the port's total bandwidth, or at a fixed pps rate, etc.). END K 10 svn:author V 2 np K 8 svn:date V 27 2014-05-07T15:34:04.263794Z K 7 svn:log V 506 MFC r259103 and r259382. r259103: cxgbe(4): save a copy of the RSS map for each port for the driver's use. r259382: Read card capabilities after firmware initialization, instead of setting them up as part of firmware initialization (which the driver gets to do only if it's the master driver). Read the range of tids available for the ETHOFLD functionality if it's enabled. New is_ftid() and is_etid() functions to test whether a tid falls within the range of filter tids or ETHOFLD tids respectively. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-05-07T15:52:41.111156Z K 7 svn:log V 865 MFC r262338 When the kernel is running in a virtual machine, it cannot rely upon the processor family to determine if the workaround for AMD Family 10h Erratum 383 should be enabled. To enable virtual machine migration among a heterogeneous collection of physical machines, the hypervisor may have been configured to report an older processor family with a reduced feature set. Effectively, the reported processor family and its features are like a "least common denominator" for the collection of machines. Therefore, when the kernel is running in a virtual machine, instead of relying upon the processor family, we now test for features that prove that the underlying processor is not affected by the erratum. (The features that we test for are unlikely to ever be emulated in software on an affected physical processor.) PR: 186061 END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2014-05-07T16:16:49.777179Z K 7 svn:log V 1391 Add mrsas(4) driver from LSI official support of newer MegaRAID SAS cards. LSI has been maintaining this driver outside of the FreeBSD tree. It overlaps support of ThunderBolt and Invader cards that mfi(4) supports. By default mfi(4) will attach to cards. If the tunable: hw.mfi.mrsas_enable=1 is set then mfi(4) will not probe and attach to these newer cards and allow mrsas(4) to attach. So by default this driver will not effect a FreeBSD system unless mfi(4) is removed from the kernel or the tunable is enabled. mrsas(4) attaches disks to the CAM layer so it depends on CAM and devices show up as /dev/daX. mfiutil(8) does not work with mrsas. The FreeBSD version of MegaCli and StorCli from LSI do work with mrsas. It appears that StorCli only works with mrsas. MegaCli appears to work with mfi(4) and mrsas(4). It would be good to add mfiutil(4) support to mrsas, emulations modes, kernel logging, device aliases to ease the transition between mfi(4) and mrsas(4). Style issues should be resolved by LSI when they get committers approved. The plan is get this driver in FreeBSD 9.3 to improve HW support. Thanks to LSI for developing, testing and working with FreeBSD to make this driver co-exist in FreeBSD. This improves the overall support of MegaRAID SAS. Submitted by: Kashyap Desai Reviewed by: scottl MFC after: 3 days Sponsored by: LSI END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-05-07T16:28:36.681268Z K 7 svn:log V 865 MFC r262338 When the kernel is running in a virtual machine, it cannot rely upon the processor family to determine if the workaround for AMD Family 10h Erratum 383 should be enabled. To enable virtual machine migration among a heterogeneous collection of physical machines, the hypervisor may have been configured to report an older processor family with a reduced feature set. Effectively, the reported processor family and its features are like a "least common denominator" for the collection of machines. Therefore, when the kernel is running in a virtual machine, instead of relying upon the processor family, we now test for features that prove that the underlying processor is not affected by the erratum. (The features that we test for are unlikely to ever be emulated in software on an affected physical processor.) PR: 186061 END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:37:04.958232Z K 7 svn:log V 168 MFC r258071: Check for special status code from FIRMWARE_ACTIVATE command signifying that a reboot is required to complete activation of the requested firmware image. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:40:44.369150Z K 7 svn:log V 195 MFC r260381: For "nvmecontrol devlist", show namespace sizes in terms of MB instead of GB to improve granularity of the reporting - especially for namespaces that are on the order of 1 or 2 GB. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:42:19.214787Z K 7 svn:log V 332 MFC r260382: For IDENTIFY passthrough commands to Chatham prototype controllers, copy the spoofed identify data into the user buffer rather than issuing the command to the controller, since Chatham IDENTIFY data is always spoofed. While here, fix a bug in the spoofed data for Chatham submission and completion queue entry sizes. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:43:10.476199Z K 7 svn:log V 107 MFC r263275: isci: Ensure ATA passthrough commands with RETURN_RESPONSE bit set translate their response. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:44:02.386540Z K 7 svn:log V 61 MFC r263276: Base the max number of SG elements on MAXPHYS. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:45:05.738460Z K 7 svn:log V 362 MFC r263277: nvme: Remove the software progress marker SET_FEATURE command during controller initialization. The spec says OS drivers should send this command after controller initialization completes successfully, but other NVMe OS drivers are not sending this command. This change will therefore reduce differences between the FreeBSD and other OS drivers. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:45:50.987560Z K 7 svn:log V 84 MFC r263278: nvme: NVMe specification dictates 4-byte alignment for PRPs (not 8). END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:46:56.123942Z K 7 svn:log V 116 MFC r263303: Update nvme(4) and nvd(4) man pages to clarify the differences between their respective device nodes. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:47:58.253746Z K 7 svn:log V 122 MFC r263310: nvme: Close hole where nvd(4) would not be notified of all nvme(4) instances if modules loaded during boot. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:48:43.790426Z K 7 svn:log V 103 MFC r263311: nvme: Allocate all MSI resources up front so that we can fall back to INTx if necessary. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:52:29.539427Z K 7 svn:log V 168 MFC r258071: Check for special status code from FIRMWARE_ACTIVATE command signifying that a reboot is required to complete activation of the requested firmware image. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:53:42.312958Z K 7 svn:log V 195 MFC r260381: For "nvmecontrol devlist", show namespace sizes in terms of MB instead of GB to improve granularity of the reporting - especially for namespaces that are on the order of 1 or 2 GB. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:55:08.068768Z K 7 svn:log V 332 MFC r260382: For IDENTIFY passthrough commands to Chatham prototype controllers, copy the spoofed identify data into the user buffer rather than issuing the command to the controller, since Chatham IDENTIFY data is always spoofed. While here, fix a bug in the spoofed data for Chatham submission and completion queue entry sizes. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:56:20.603012Z K 7 svn:log V 107 MFC r263275: isci: Ensure ATA passthrough commands with RETURN_RESPONSE bit set translate their response. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T16:57:33.228535Z K 7 svn:log V 61 MFC r263276: Base the max number of SG elements on MAXPHYS. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T17:00:39.192331Z K 7 svn:log V 362 MFC r263277: nvme: Remove the software progress marker SET_FEATURE command during controller initialization. The spec says OS drivers should send this command after controller initialization completes successfully, but other NVMe OS drivers are not sending this command. This change will therefore reduce differences between the FreeBSD and other OS drivers. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T17:02:15.650112Z K 7 svn:log V 84 MFC r263278: nvme: NVMe specification dictates 4-byte alignment for PRPs (not 8). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-07T17:12:15.144686Z K 7 svn:log V 418 Add image.c and image.h. These files will contain functions to implement the management of the raw image that's being created. The most notable of the API is that there's no file descriptor argument. This is because the image is managed in memory. Once we have the in-memory (raw) image, we can write it out acording to different formats. This two-pass approach shields schemes from formats and formats from schemes. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T17:17:16.469127Z K 7 svn:log V 116 MFC r263303: Update nvme(4) and nvd(4) man pages to clarify the differences between their respective device nodes. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T17:18:51.781990Z K 7 svn:log V 122 MFC r263310: nvme: Close hole where nvd(4) would not be notified of all nvme(4) instances if modules loaded during boot. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-05-07T17:20:15.328348Z K 7 svn:log V 103 MFC r263311: nvme: Allocate all MSI resources up front so that we can fall back to INTx if necessary. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-07T17:21:22.655916Z K 7 svn:log V 288 - Export the function added in r265456 rather than the non-existent _rtld_debug_postinit(). [1] - Use __compiler_membar() instead of inline asm in _r_debug_state() and _r_debug_postinit(). [2] Pointy hat to: markj [1] Reported by: attilio [2] Discussed with: kib X-MFC-With: r265456 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-07T17:33:31.015234Z K 7 svn:log V 290 Switch to the image API: 1. Replace calls to mkimg_set_size() with calls to image_set_size() 2. Remove the mkimg_set_size() function 3. As above but for mkimg_write() and image_write() Note that this breaks mkimg(1). The image API has no implementation. Hence doing it on my branch :-) END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-07T18:14:56.433645Z K 7 svn:log V 430 All the NO_foo options processed in src.opts.mk are really bsd.opts.mk options, so move their processing there. This fixes issues with Makefiles that define NO_MAN=t and only inlcude bsd.*.mk files. A few ports fell into this category, and they should be fixed by this change. Also, for now, disable the warning about NO_foo being deprecated. More work is needed than anticipated before we can do that, so kill the noise for now. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-07T18:15:02.802335Z K 7 svn:log V 540 bsd.compiler.mk was implicitly included by bsd.own.mk in historical versions. With its movement to src.opts.mk, bsd.prog.mk was testing COMPILER_TYPE without including the bsd.compiler.mk anymore. In the source tree, this caused no problems, for reasons that aren't clear, but does cause problems outside of the source tree. Allow bsd.compiler.mk to be included multiple times safely, and always include bsd.compiler.mk at the top of bsd.prog.mk. Resist the urge to put it in bsd.init.mk, since that would reintroduce the implicit include. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-05-07T18:15:20.406832Z K 7 svn:log V 2373 MFC r259527, r260210 (by adrian@), r261533, r261536, r261537, r261558 (by scottl@), r263317, r263412, r263457, and r264621 (by emax@). r259527: Do not create a hardware IPv6 server if the listen address is not in6addr_any and is not in the CLIP table either. This fixes a reported TOE+IPv6 NULL-dereference panic in do_pass_open_rpl(). While here, stop creating hardware servers for any loopback address. It's just a waste of server tids. r260210: Add an option to enable or disable the small RX packet copying that is done to improve performance of small frames. When doing RX packing, the RX copying isn't necessarily required. r261533: cxgbe(4): Use the port's tx channel to identify it to t4_clr_port_stats. r261536: cxgbe(4): The T5 allows for a different freelist starvation threshold for queues with buffer packing. Use the correct value to calculate a freelist's low water mark. r261537: cxgbe(4): Use the rx channel map (instead of the tx channel map) as the congestion channel map. r261558: Add a new sysctl, dev.cxgbe.N.rsrv_noflow, and a companion tunable, hw.cxgbe.rsrv_noflow. When set, queue 0 of the port is reserved for TX packets without a flowid. The hash value of packets with a flowid is bumped up by 1. The intent is to provide a private queue for link-level packets like LACP that is unlikely to overflow or suffer deep queue latency. r263317: cxgbe(4): significant rx rework. - More flexible cluster size selection, including the ability to fall back to a safe cluster size (PAGE_SIZE from zone_jumbop by default) in case an allocation of a larger size fails. - A single get_fl_payload() function that assembles the payload into an mbuf chain for any kind of freelist. This replaces two variants: one for freelists with buffer packing enabled and another for those without. - Buffer packing with any sized cluster. It was limited to 4K clusters only before this change. - Enable buffer packing for TOE rx queues as well. - Statistics and tunables to go with all these changes. The driver's man page will be updated separately. r263412: cxgbe(4): if_iqdrops statistic should include tunnel congestion drops. r263457: cxgbe(4): Recognize the "spider" configuration where a T5 card's 40G QSFP port is presented as 4 distinct 10G SFP+ ports to the driver. r264621: use correct (integer) type for the temperature sysctl END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-07T18:21:38.191185Z K 7 svn:log V 69 First cleanup pass: new sentence -> new line, mdoc, typos and style. END K 10 svn:author V 3 ken K 8 svn:date V 27 2014-05-07T18:22:30.510659Z K 7 svn:log V 244 Add Steve McConnell (slm) as a src committer. Steve works for LSI (which is now Avago) and will be maintaing drivers for LSI's SAS and RAID products (mps(4), mpr(4), mrsas(4)). scottl, ambrisko and ken will be his mentors. Approved by: core END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-07T18:27:12.023828Z K 7 svn:log V 38 Generate hardware notes for mrsas(4). END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-05-07T18:49:25.628403Z K 7 svn:log V 1268 MFC r263445 and r265385. Note that the change to ObsoleteFiles.inc in r265385 does not need to be MFCed, because the obsolete files in question were never MFCed to any stable branch. r265385 Remove the ifconfig test added in rev 263445. After discussion with melifaro, we agreed that ifconfig's behavior was not a bug. The main motivation for bin/187551 was to partially resolve kern/187549, but we resolved kern/187549 in a different way instead. ObsoleteFiles.inc etc/mtree/BSD.tests.dist sbin/ifconfig/tests/fibs_test.sh sbin/ifconfig/tests/Makefile sbin/ifconfig/Makefile Remove /usr/tests/sbin/ifconfig r263445 Add several ATF tests that deal with multiple fibs. They're described in several different PRs, but the tests share some common code, so I'm committing them together. sbin/ifconfig/tests sbin/ifconfig/tests/fibs_test.sh sbin/ifconfig/tests/Makefile sbin/ifconfig/Makefile Add fibs_test.sh, which regresses bin/187551 tests/sys/netinet tests/sys/netinet/fibs_test.sh tests/sys/netinet/udp_dontroute.c tests/sys/netinet/Makefile tests/sys/Makefile Add fibs_test.sh, which regresses kern/167947, kern/187552 kern/187549, kern/187550, and kern/187553 etc/mtree/BSD.tests.dist Add newly created directories END K 10 svn:author V 2 np K 8 svn:date V 27 2014-05-07T19:05:14.966919Z K 7 svn:log V 683 MFC r258692 and r260207 (both by gnn@) r258692: Add constants for use in interrogating various fiber and copper connectors most often used with network interfaces. The SFF-8472 standard defines the information that can be retrieved from an optic or a copper cable plugged into a NIC, most often referred to as SFP+. Examples of values that can be read include the cable vendor's name, part number, date of manufacture as well as running data such as temperature, voltage and tx and rx power. Copious comments on how to use these values with an I2C interface are given in the header file itself. r260207: Convert #defines to enums so that the values are visible in the debugger. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-07T19:07:45.156009Z K 7 svn:log V 121 Add casts to have it compile on amd64 without complaining about mismatched types. Tested: * AR9280, TDMA slave, amd64. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-05-07T19:13:09.007301Z K 7 svn:log V 547 MFC r253870, r258698 (by gnn@), r259048, and r261534. r253870: Teach cxgbetool to display T5 congestion manager context. r258698: cxgbetool: "modinfo" command to display SFP+ module information. trantor:~# cxgbetool t5nex0 modinfo 1 ID: SFP Vendor FINISAR CORP. SN AJ10JQR PN FTLX8571D3BCL Rev A Temp: +35C Vcc 3.225600V TX Bias 2.176000uA TX Power 0.588800mW RX Power 0.486400mW r259048: Two new cxgbetool subcommands to set up scheduler classes and to bind them to NIC queues. r261534: cxgbetool: Display the congestion channel map in hex. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T19:20:54.962494Z K 7 svn:log V 1118 Modify release.xsl to allow proper attribution for sponsored and/or contributed works. This works similarly to how the subversion revision is suffixed in release notes entries when 'revision="NNNNNN"' is set. The tag in relnotes/article.xml can now take the following new elements: - contrib: defined to what type of contribution the change is. Right now, only 'vendor' or 'sponsor' are used. 'vendor' is intended for vendor-contributed code, such as driver updates, etc. 'sponsor' is intended for sponsored work (the 'Sponsored by:' in the commit template). - vendor: The canonical name of the vendor. - sponsor: The canonical name of the sponsor. - vendorurl: The URL for the vendor website, if applicable. - sponsorurl: The URL for the sponsor website, if applicable. If 'vendor' or 'sponsor' are set, but 'contrib' is not, nothing is rendered. If 'contrib' is set, but no 'vendor' or 'sponsor' are defined, nothing is printed. If 'vendorurl' or 'sponsorurl' are set, the 'vendor' or 'sponsor' text is link, otherwise is non-clickable text. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 thomas K 8 svn:date V 27 2014-05-07T19:22:54.190448Z K 7 svn:log V 163 Introduce a new command line switch '-H' for stat(1) causing arguments to be interpreted as NFS file handles. Reviewed by: -arch (jhb, eadler) MFC after: 1 month END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-05-07T19:30:28.349524Z K 7 svn:log V 275 Add width and precision specifiers to printf(1) %n$. This actually completes r264743 so that width and precision specifiers work properly with %n$. These keeps consistency with ksh93 and zsh. Requested by: jilles Obtained from: Garrett D'Amore (Illumos) MFC after: 4 days END K 10 svn:author V 6 thomas K 8 svn:date V 27 2014-05-07T19:33:29.759612Z K 7 svn:log V 775 (dd_out): Fix handling of all-zeroes block at end of input with conv=sparse. This change fixes two separate issues observed when the last output block is all zeroes, and conv=sparse is in use. In this case, care must be taken to roll back the last seek and write the entire last zero block at the original offset where it should have occurred: when the destination file is a block device, it is not possible to roll back by just one character as the write would then not be properly aligned. Furthermore, the buffer used to write this last all-zeroes block needs to be properly zeroed-out. This was not the case previously, resulting in a junk data byte appearing instead of a zero in the output stream. PR: bin/189174 PR: bin/189284 Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T19:43:23.055564Z K 7 svn:log V 169 Add two new entity files in followup to r265590, sponsor.ent and vendor.ent, which will be used for sponsor/vendor names and URLs. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T19:44:44.062806Z K 7 svn:log V 134 Add references to sponsor.ent and vendor.ent in relnotes/article.xml and share/xml/catalog.xml. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T19:53:51.434307Z K 7 svn:log V 92 Add sponsorship attribution for r258838 (casperd(8)). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-05-07T20:09:17.495003Z K 7 svn:log V 53 MFC 254959: Allow more space for interface names. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-05-07T20:13:46.163536Z K 7 svn:log V 66 Merge r254959 from head: Allow more space for interface names. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T20:15:30.041857Z K 7 svn:log V 99 Add attribution for r258884. Add DARPA, AFRL to sponsor.ent. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T20:15:32.011809Z K 7 svn:log V 67 Add attribution for r264601. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T20:15:34.279602Z K 7 svn:log V 109 Add attribution for r265236. Add LSI and Spectra Logic to sponsor.ent. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T20:15:36.409590Z K 7 svn:log V 95 Add attribution for r265348. Add Netgate to sponsor.ent. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T20:18:50.699133Z K 7 svn:log V 97 Add a note to keep the entity lists sorted alphabetically. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-05-07T20:20:52.637617Z K 7 svn:log V 197 Merged r262424-262425,265085 Add the -a option to pmcstat. This produces a full stack track on the sampled points. See the man page for details on how this works. Obtained from: Netflix, Inc. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T20:27:57.699634Z K 7 svn:log V 258 Correct attribution for casperd, co-sponsored by The FreeBSD Foundation and Google, Inc.[1] Since this was dual-sponsored, the sponsorurl needs to be empty. Add Google to the sponsor.ent file. Reminded by: rwatson [1] Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-05-07T20:28:27.731659Z K 7 svn:log V 305 Merge r264984 Retire smp_active. It was racey and caused demonstrated problems with the cpufreq code. Replace its use with smp_started. There's at least one userland tool that still looks at the kern.smp.active sysctl, so preserve it but point it to smp_started as well. Obtained from: Netflix, Inc. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T20:31:44.222262Z K 7 svn:log V 127 Separate &darpa; entity and create &darpa_afrl to avoid confusion. Suggested by: rwatson Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 np K 8 svn:date V 27 2014-05-07T20:40:23.182574Z K 7 svn:log V 190 MFC r259569, r259770 (by joel@), and r263451. r259569: cxgbe.4: Belated update to the man page to reflect T5 support. r259770: mdoc: nuke whitespace. r263451: cxgbe(4): man page updates. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-07T20:50:16.573860Z K 7 svn:log V 193 Replace 2 instances of fdcopy() with image_copyin(). With this, the mkimg() function does not need the ofd argument and all references to an output file descriptor in the input phase are gone. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-05-07T20:57:16.148930Z K 7 svn:log V 111 Merge r256782 from head: Add 26 new device IDs to uslcom(4). This brings us in sync with Linux v3.12 rc5 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T21:00:09.950138Z K 7 svn:log V 78 Document r265555, addition of mrsas(4). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-05-07T21:01:35.910836Z K 7 svn:log V 552 Merge r259393 from head: Fix several panics when initialization of an ISA or PC-CARD device fails: o Assign sc->an_dev in an_probe() (which isn't really a probe function in the standard newbus sense) as we may need it for printing errors. o Use device_printf() rather than if_printf() in an_reset() - this is called from an_probe() long before the ifp structure is initialised in an_attach(). o Initialize the ifp structure early in an_attach() as we use if_printf() in cases where allocation of descriptors etc fails. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-05-07T21:16:47.943770Z K 7 svn:log V 236 Handle ELF files with 65280 or more sections If e_shnum or e_shstrndx are at least SHN_LORESERVE (0xff00) then an escape value is used to indicate that the actual value is found in one of section 0's fields. Sponsored by: DARPA, AFRL END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-05-07T21:38:33.407638Z K 7 svn:log V 552 Merge r259393 from head: Fix several panics when initialization of an ISA or PC-CARD device fails: o Assign sc->an_dev in an_probe() (which isn't really a probe function in the standard newbus sense) as we may need it for printing errors. o Use device_printf() rather than if_printf() in an_reset() - this is called from an_probe() long before the ifp structure is initialised in an_attach(). o Initialize the ifp structure early in an_attach() as we use if_printf() in cases where allocation of descriptors etc fails. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T21:39:01.401330Z K 7 svn:log V 162 Document r264423, sh(1) changes in variable assignments with 'local', 'export', and 'readonly'. Helped by: jilles (thanks!) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-07T21:45:25.349802Z K 7 svn:log V 46 sh: Add some tests for normal use of getopts. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T21:46:06.710790Z K 7 svn:log V 85 Document r264699, find(1) -ignore_readdir_race Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-07T22:06:54.513077Z K 7 svn:log V 342 Provide a file-based implementation for the image API. This almost copies the logic verbatim from mkimg.c to image.c. The difference is that in image.c the temporary file is always created, whereas before we only created a temporary file when writing to stdout. Cleanup mkimg.c now that the song and dance of using a temporary file is gone. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-07T22:17:16.405112Z K 7 svn:log V 84 Add a missing comma, and add a missing space. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-07T22:27:03.818882Z K 7 svn:log V 206 MFC: r264842 Modify the NFSv4 client's Pathconf RPC (actually a Getattr Op.) so that it only does the RPC for names that are answered by the RPC. Doing the RPC for other names is harmless, but unnecessary. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-07T22:33:36.932850Z K 7 svn:log V 169 MFC: r264845 Remove an unnecessary level of indirection for an argument. This simplifies the code and should avoid the clang sparc port from generating an abort() call. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-07T23:50:44.281856Z K 7 svn:log V 65 Update - allow collecting stats when WITH_META_STATS is defined. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-08T00:08:19.055146Z K 7 svn:log V 137 When write sparse files, make sure to truncate(2) the file. Otherwise any hole at the end is lost and the file is not of the right size. END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2014-05-08T00:26:21.541170Z K 7 svn:log V 83 Silence no interrupt-parent found message during boot. Approved by: stas (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-08T01:13:18.889890Z K 7 svn:log V 202 Add a linker set for output formats. This is mostly copied and trimmed from the linker set for schemes. Add stubs for raw and vmdk output formats so as to demonstrate that the usage message is correct. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-08T01:43:33.391057Z K 7 svn:log V 138 Add the -f option for specifying the output format. Update the manpage accordingly. Print the scheme and the format when running verbose. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-08T02:18:36.396008Z K 7 svn:log V 75 Fix a typo make should have complained about. Submitted by: Mark Johnston END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-08T02:24:30.324162Z K 7 svn:log V 77 Put bsd.own.mk back in the list, and take src.opts.mk out. Fix a silly typo. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-08T03:26:25.144407Z K 7 svn:log V 265 Handle the different event types properly in rd_event_addr(). In particular, with r265456 _r_debug_postinit can be used for RD_POSTINIT events. rtld(1) uses r_debug_state for dl state transitions, so we use its address for RD_DLACTIVITY events. MFC after: 2 weeks END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-08T03:33:54.694492Z K 7 svn:log V 106 Fix the rd_event_addr prototype and slightly clarify the use of the "event" parameter. MFC after: 3 days END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-08T03:43:18.300309Z K 7 svn:log V 464 Re-apply r248644. This fixes an annoying problem which caused dtrace -c to fail to attach to stripped binaries. With the _r_debug_postinit symbol, dtrace(1) can now set a breakpoint in the victim process after it has registered its DOF table(s) with the kernel. r_debug_state cannot be used for this purpose since it is called before DOF is made available, in which case dtrace(1) cannot create USDT probes before the program begins execution. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T06:55:48.360156Z K 7 svn:log V 205 MFC r260509: Replace several instances of -1 with appropriate CAM_*_WILDCARD and types. It was equal before r259397, but for good or bad, not any more for LUNs. This change fixes at least CAM debugging. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T06:56:59.267308Z K 7 svn:log V 205 MFC r260509: Replace several instances of -1 with appropriate CAM_*_WILDCARD and types. It was equal before r259397, but for good or bad, not any more for LUNs. This change fixes at least CAM debugging. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:00:45.931849Z K 7 svn:log V 802 MFC r264274, r264279, r264283, r264296, r264297: Add support for SCSI UNMAP commands to CTL. This patch adds support for three new SCSI commands: UNMAP, WRITE SAME(10) and WRITE SAME(16). WRITE SAME commands support both normal write mode and UNMAP flag. To properly report UNMAP capabilities this patch also adds support for reporting two new VPD pages: Block limits and Logical Block Provisioning. UNMAP support can be enabled per-LUN by adding "-o unmap=on" to `ctladm create` command line or "option unmap on" to lun sections of /etc/ctl.conf. At this moment UNMAP supported for ramdisks and device-backed block LUNs. It was tested to work great with ZFS ZVOLs. For file-backed LUNs UNMAP support is unfortunately missing due to absence of respective VFS KPI. Sponsored by: iXsystems, Inc END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:01:54.172470Z K 7 svn:log V 70 MFC r264406: Report more readable state "-" for idle CAM scan thread. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:02:46.672603Z K 7 svn:log V 70 MFC r264406: Report more readable state "-" for idle CAM scan thread. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:04:13.332565Z K 7 svn:log V 103 MFC r264407: Join CTL worker threads into one process for convenience. Report their idle state as "-". END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:05:19.212093Z K 7 svn:log V 120 MFC r264834: Disable UNMAP support for STEC 842 SSDs. In some unknown cases UNMAP commands make device firmware stuck. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:06:15.797875Z K 7 svn:log V 120 MFC r264834: Disable UNMAP support for STEC 842 SSDs. In some unknown cases UNMAP commands make device firmware stuck. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:07:51.566271Z K 7 svn:log V 143 MFC r264880 (by trasz): Modify CTL iSCSI frontend to properly handle situations where datamove routine is called multiple times per SCSI task. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:08:47.661052Z K 7 svn:log V 215 MFC r264884: Make CAM target CTL frontend respect SIM I/O size limitations. If datamove size is bigger then SIM can handle, or it has more segments then this code can handle -- split it into several CTIO requests. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:10:38.291336Z K 7 svn:log V 220 MFC r264886: Remove limits on size of READ/WRITE operations. Instead of allocating up to 16MB or RAM at once to handle whole I/O, allocate up to 1MB at a time, but do multiple ctl_datamove() and storage I/Os if needed. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:12:06.538051Z K 7 svn:log V 531 MFC r265150: Do not reread SCSI disk VPD pages on every device open. Instead of rereading VPD pages on every device open, do it only on initial device probe, and in cases when device reported via UNIT ATTENTIONs that something has changed. Capacity is still rereaded on every open because it is more critical for operation and more probable to change in run time. On my tests with Intel 530 SSDs on mps(4) HBA this change reduces time GEOM needs to retaste the device (that includes few open/close cycles) from ~150ms to ~30ms. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:13:22.693083Z K 7 svn:log V 224 MFC r265159: Respect MAXIMUM TRANSFER LENGTH field of Block Limits VPD page. Nobody yet reported disk supporting I/Os less then our MAXPHYS value, but since we any way have code to read Block Limits VPD page, that is easy. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T07:56:05.723612Z K 7 svn:log V 641 MFC r244015 (by ken): Fix the CTL OOA queue dumping code so that it does not hold a mutex while doing a copyout. That can cause a panic, because copyout can trigger VM faults, and we can't handle VM faults while holding a mutex. The solution here is to malloc a separate buffer to hold the OOA queue entries, so that we don't risk a VM fault while filling up the buffer and we don't have to drop the lock. The other solution would be to wire the user's memory while filling their buffer with copyout, but that would have been a little more complex. Also fix a debugging parenthesis issue in ctl_abort_task() pointed out by Chuck Tuffli. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T08:08:24.542123Z K 7 svn:log V 258 MFC r255043 (by ken): Bump up the default timeouts for move commands in the ch(4) driver to 15 minutes, and 5 minutes for things like READ ELEMENT STATUS. This is needed to account for the worst case scenarios on at least some Spectra Logic tape libraries. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T08:11:44.726487Z K 7 svn:log V 68 MFC r256547 (by smh): Added 4K quirks for Corsair Neutron GTX SSD's END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T08:15:42.788420Z K 7 svn:log V 206 MFC r257946: Introduce seperate mutex lock to protect protect CTL I/O pools, slightly reducing global CTL lock scope and congestion. While there, simplify CTL I/O pools KPI, hiding implementation details. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T08:17:04.856396Z K 7 svn:log V 131 MFC r258871: Properly report an error instead of panicing when user tries to create LUN backed by non-disk device, e.g. /dev/null. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-08T08:17:12.086810Z K 7 svn:log V 118 MFC r264851 Eliminated optarg global being used outside of the function which called getopt Sponsored by: Multiplay END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T08:18:46.986177Z K 7 svn:log V 132 MFC r262782 (by trasz): Fix missing unlock in persistent reservations code, which resulted in panics with Hyper-V Failover Cluster. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-08T08:18:48.341392Z K 7 svn:log V 112 MFC r264863 Add information about supported NCQ functionality to camcontrol identify. Sponsored by: Multiplay END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-08T08:20:23.213712Z K 7 svn:log V 139 MFC r264878 Increase ACPI_MAX_TASKS to be 4 x the number of CPU's as 2 x was still insufficient on some machines Sponsored by: Multiplay END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T08:21:52.647263Z K 7 svn:log V 51 MFC r263811 (by trasz): Remove ctl_mem_pool.{c,h}. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-08T08:23:24.569244Z K 7 svn:log V 147 MFC r264849 & r264883 Exposed debug.acpi.max_tasks and debug.acpi.max_threads via sysctls so their values can be viewed. Sponsored by: Multiplay END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T08:24:08.575188Z K 7 svn:log V 212 MFC r263979 (by trasz): Hide CTL messages about SCSI error responses. Too many users take them for actual target errors. They can be enabled back by setting kern.cam.ctl.verbose=1, or booting with bootverbose. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T08:25:27.755487Z K 7 svn:log V 131 MFC r264020 (by trasz): Remove the homegrown ctl_be_block_io allocator, replacing it with UMA. There is no performance difference. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-08T08:26:20.297957Z K 7 svn:log V 118 MFC r264851 Eliminated optarg global being used outside of the function which called getopt Sponsored by: Multiplay END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-08T08:30:18.223151Z K 7 svn:log V 81 MFC r264853 Add some new ATA defines for SATA 3.1 spec Sponsored by: Multiplay END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T08:31:53.386647Z K 7 svn:log V 531 MFC r265150: Do not reread SCSI disk VPD pages on every device open. Instead of rereading VPD pages on every device open, do it only on initial device probe, and in cases when device reported via UNIT ATTENTIONs that something has changed. Capacity is still rereaded on every open because it is more critical for operation and more probable to change in run time. On my tests with Intel 530 SSDs on mps(4) HBA this change reduces time GEOM needs to retaste the device (that includes few open/close cycles) from ~150ms to ~30ms. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-08T08:32:48.847075Z K 7 svn:log V 81 MFC r264853 Add some new ATA defines for SATA 3.1 spec Sponsored by: Multiplay END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-08T08:33:32.560607Z K 7 svn:log V 112 MFC r264863 Add information about supported NCQ functionality to camcontrol identify. Sponsored by: Multiplay END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-08T08:34:49.927489Z K 7 svn:log V 140 MFC r264878 Increase ACPI_MAX_TASKS to be 4 x the number of CPU's as 2 x was still insufficient on some machines. Sponsored by: Multiplay END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T08:35:24.966956Z K 7 svn:log V 224 MFC r265159: Respect MAXIMUM TRANSFER LENGTH field of Block Limits VPD page. Nobody yet reported disk supporting I/Os less then our MAXPHYS value, but since we any way have code to read Block Limits VPD page, that is easy. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-05-08T08:37:32.747152Z K 7 svn:log V 147 MFC r264849 & r264883 Exposed debug.acpi.max_tasks and debug.acpi.max_threads via sysctls so their values can be viewed. Sponsored by: Multiplay END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T11:56:06.371712Z K 7 svn:log V 1336 Fix incorrect netmasks being passed via rtsock. Since radix has been ignoring sa_family in passed sockaddrs, no one ever has bothered filling valid sa_family in netmasks. Additionally, radix adjusts sa_len field in every netmask not to compare zero bytes at all. This leads us to rt_mask with sa_family of AF_UNSPEC (-1) and arbitrary sa_len field (0 for default route, for example). However, rtsock have been passing that rt_mask intact for ages, requiring all rtsock consumers to make ther own local hacks. We even have unfixed on in base: do `route -n monitor` in one window and issue `route -n get addr` for some directly-connected address. You will probably see the following: got message of size 304 on Thu May 8 15:06:06 2014 RTM_GET: Report Metrics: len 304, pid: 30493, seq 1, errno 0, flags: locks: inits: sockaddrs: 10.0.0.0 link#1 (255) ffff ffff ff em0:8.0.27.c5.29.d4 10.0.0.92 _________________^^^^^^^^^^^^^^^^^^ after the change: got message of size 312 on Thu May 8 15:44:07 2014 RTM_GET: Report Metrics: len 312, pid: 2895, seq 1, errno 0, flags: locks: inits: sockaddrs: 10.0.0.0 link#1 255.255.255.0 em0:8.0.27.c5.29.d4 10.0.0.92 _________________^^^^^^^^^^^^^^^^^^ Sponsored by: Yandex LLC MFC after: 1 month END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-08T11:59:23.300904Z K 7 svn:log V 165 MFC: r264888 The PR reported that the old NFS server did not set uio_td == NULL for the VOP_READ() call. This patch fixes both the old and new server for this case. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T12:04:40.486358Z K 7 svn:log V 109 MFC r264313: Do not increment bio_data in case of BIO_DELETE. This fixes KASSERT() panic in g_io_request(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T12:07:40.882501Z K 7 svn:log V 309 MFC r265054: Reduce number of opens by REOM RAID during provider taste. Instead opening/closing provider by each of metadata classes, do it only once in core code. Since for SCSI disks open/close means sending some SCSI commands to the device, this change reduces taste time. Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T12:23:30.302513Z K 7 svn:log V 191 MFC r254252: Fix the formatting of the error message. The G_MIRROR_DEBUG() macro already appends a newline. Also, most of the log messages emitted by gmirror start with an uppercase letter. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T12:26:08.044934Z K 7 svn:log V 237 MFC r256603: Introduce new function devstat_end_transaction_bio_bt(), adding new argument to specify present time. Use this function to move binuptime() out of lock, substantially reducing lock congestion when slow timecounter is used. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T12:27:24.343677Z K 7 svn:log V 144 MFC r256606: Move g_io_deliver() out of the lock, as required for direct dispatch. Move g_destroy_bio() out too to reduce lock scope even more. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T12:28:24.470767Z K 7 svn:log V 52 MFC r256610: Add unmapped I/O support to GEOM RAID. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T12:35:37.927572Z K 7 svn:log V 81 MFC r256607, r259247: Fix passing uninitialized bio_resid argument to g_trace(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T12:39:07.229904Z K 7 svn:log V 278 MFC r265054: Reduce number of opens by REOM RAID during provider taste. Instead opening/closing provider by each of metadata classes, do it only once in core code. Since for SCSI disks open/close means sending some SCSI commands to the device, this change reduces taste time. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T12:50:31.265133Z K 7 svn:log V 109 MFC r264313: Do not increment bio_data in case of BIO_DELETE. This fixes KASSERT() panic in g_io_request(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T13:10:39.876544Z K 7 svn:log V 203 MFC r264086: 3580 Want zvols to return volblocksize when queried for physical block size illumos/illumos-gate@a0b60564dfc644f4bfaef1ce26d343b44cf68bc5 It is irrelevant for FreeBSD, just reducing diff. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T13:12:24.318601Z K 7 svn:log V 763 MFC r264145: Add property and sysctl to control how ZVOLs are exposed to OS. New ZFS property volmode and sysctl vfs.zfs.vol.mode allow switching ZVOL between three modes: geom -- existing fully functional behavior (default); dev -- exposing volumes only as raw disk device file in devfs; none -- not exposing volumes outside ZFS. The "dev" mode is less functional (can't be partitioned, mounted, etc), but it is faster, and in some scenarios with untrusted consumers safer. It can be useful for NAS, VM block storages, etc. The "none" mode may be convenient for backup servers, etc. that don't need direct data access. Due to the way ZVOL is integrated with main ZFS code, those property and sysctl are checked only during pool import and volume creation. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T13:31:01.821882Z K 7 svn:log V 185 MFC r260234, r260328: Remove extra conversion to nanoseconds from ddi_get_lbolt64(). As result this uses one multiplication and shifts instead of one division and two multiplications. END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-05-08T13:38:29.816154Z K 7 svn:log V 94 No need to assign fields required and checked on probe. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-05-08T13:46:36.138388Z K 7 svn:log V 54 Fix scrollback. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T13:54:57.926223Z K 7 svn:log V 182 Rename rt_msg1() to more handy rtsock_msg_mbuf(). (Just for history purposes: rt_msg2() was renamed to rtsock_msg_buffer() in r265019). Sponsored by: Yandex LLC MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-05-08T14:28:51.713833Z K 7 svn:log V 219 MFC: r251394 CAM_DEV_QFREEZE handling should only be done on request submission but neither on completion nor by SIM drivers in the first place. This issue has been revealed by r249466 (MFC'ed to stable/8 in r265147). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-08T15:24:51.420928Z K 7 svn:log V 277 Define the sparse extent header and document the steps to take to create the VMDK file. Add some notes as well. What I needed to know (roughly) is what interface the image API is to provide and whether there are (knowledge) gaps that prevent me from implementing it for real. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-08T15:33:52.494434Z K 7 svn:log V 353 Have image_write() call sparse_write() so that we can use SEEK_HOLE and SEEK_DATA to "quickly" find occupied sectors. This is all short- lived, because the image should not be kept in a file, but in memory. To be precise: the image API should be both efficient and scalable and using a file is not efficient -- it works, which is what I need right now. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-08T15:58:34.197418Z K 7 svn:log V 264 Add usr/share/mk/src.opts.mk to obsolete files. It never should have been installed in the first place, and it must be removed ASAP or weird build errors may start happening in the future if this file is ever taken from the installed system. Add note to UPDATING. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-05-08T16:12:38.965951Z K 7 svn:log V 240 MFC r265201 Fix a 2038 bug. If time_t is 64-bit (i.e. isn't 32-bit) allow any value of year, not just years less than 2038. Don't bother fixing the underflow in the case of years before 1903. MFC after: 1 week Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-05-08T16:26:36.626115Z K 7 svn:log V 222 MFC r265201 Fix a 2038 bug. If time_t is 64-bit (i.e. isn't 32-bit) allow any value of year, not just years less than 2038. Don't bother fixing the underflow in the case of years before 1903. Sponsored by: DARPA, AFRL END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-08T16:59:36.502873Z K 7 svn:log V 441 Import adapted OpenSolaris' thread pool API implementation. The thread pool is used by libzfs to implement parallel disk scanning. Without this change our dummy wrapper made `zpool import ZZZ` command to scan all disks sequentially from the single thread when searching for pools. This change makes it use two threads per CPU, same as in OpenSolaris. On system with 200 HDDs this change reduces ZFS pool import time from 35 to 22 seconds. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-08T17:20:45.632369Z K 7 svn:log V 204 Use edge-triggered interrupts rather than polling loops to avoid missing transitions of the INIT_B line. Also, release the mutex during uiomove(). Submitted by: Thomas Skibo END