summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use .Mt to mark up email addresses consistently (final part)bapt2014-06-26411-737/+678
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
*-. MFV illumosrpaulo2014-06-2619-6/+1477
|\ \ | | | | | | | | | | | | | | | 4477 DTrace should speak JSON MFC after: 2 weeks
| | * OS-1723 DTrace should speak JSONrpaulo2014-06-261-0/+79
| | | | | | | | | | | | | | | | | | Reviewed by: Bryan Cantrill <bmc@joyent.com> illumos/illumos-gate@8017f1f8eea31bd1160b5e50755242a2a9aabc7d
| | * 4756 metaslab_group_preload() could deadlockdelphij2014-06-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org> illumos/illumos-gate@30beaff42d8240ebf5386e8b7a14e3d137a1631f
| | * 4891 want zdb option to dump all metadatadelphij2014-06-174-7/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: Sonu Pillai <sonu.pillai@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Garrett D'Amore <garrett@damore.org> illumos/illumos-gate@df15e419cb7359ba56ddddab9045e438d89e7cbc
| | * 4390 i/o errors when deleting filesystem/zvol can lead to space map corruptiondelphij2014-06-172-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com> illumos/illumos-dist@7fd05ac4dec0c343d2f68f310d3718b715ecfbaf
| | * 4757 ZFS embedded-data block pointers ("zero block compression")delphij2014-06-1710-56/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4913 zfs release should not be subject to space checks Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Max Grossman <max.grossman@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Dan McDonald <danmcd@omniti.com> illumos/illumos-dist@5d7b4d438c4a51eccc95e77a83a437b4d48380eb
| | * 4470 overly aggressive D integer narrowing breaks 32-bit ustack helpersmarkj2014-06-032-1/+49
| | | | | | | | | | | | illumos/illumos-gate@2e0552679e3175533ade93573ac1229d20a8367b
| | * 4471 DTrace count() with histogrammarkj2014-06-0318-38/+2278
| | | | | | | | | | | | | | | | | | | | | 4472 DTrace full width distribution histograms 4473 DTrace frequency trails illumos/illumos-gate@33093f5bcdc51014933497dd39374080c1ac5705
| | * 4474 DTrace Userland CTF Supportmarkj2014-06-0378-200/+2035
| | | | | | | | | | | | | | | | | | | | | | | | | | | 4475 DTrace userland Keyword 4476 DTrace tests should be better citizens 4479 pid provider types 4480 dof emulation is missing checks illumos/illumos-gate@a386cc11a86ecb60f5a48078d22c1500e2ad003e
* | | use .Mt to mark up email addresses consistently (part6)bapt2014-06-26168-217/+212
| | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* | | Sync the E1000 shared code with Intel internal, this adds fixes,jfv2014-06-2625-229/+806
| | | | | | | | | | | | | | | | | | and more importantly, new I218 adapter support to the em driver. MFC after: 1 week
* | | - Document -b to enable the bvmcons console (but mark it as deprecatedjhb2014-06-262-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | similar to -g.) - Document -U to set the SMBIOS UUID. - Add missing options to the usage output and to the manpage Synopsis. - Don't claim that bvmdebug is amd64-only (it is also a device, not an option).
* | | Simplify statistics calculation.mav2014-06-261-119/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of trying to guess size of disk I/O operations (it just won't work that way for newly added commands, and is equal to data move size for old ones), account data move traffic. If disk I/Os are that interesting, then backends have to account and provide that information. Block backend already exports the information about disk I/Os via devstat, so having it here too is excessive. MFC after: 2 weeks
* | | MFV illumos r266986:rpaulo2014-06-2611-46/+845
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2915 DTrace in a zone should see "cpu", "curpsinfo", et al 2916 DTrace in a zone should be able to access fds[] 2917 DTrace in a zone should have limited provider access MFC after: 2 weeks
* | | | Revert r267898.rpaulo2014-06-2619-2297/+40
| | | |
* | | | Use dtrace -s instead of /bin/sh for DTrace scripts.rpaulo2014-06-263-119/+114
| | | |
* | | | Fix whitspace indentation from spaces to tabs.bz2014-06-261-64/+64
| | | | | | | | | | | | | | | | | | | | | | | | No functional changes. MFC after: 2 weeks
* | | | Introduce opt_netfpga.h and allow setting NF10BMAC_64BIT from mips kernelbz2014-06-264-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configs. Switch the BERI_NETFPGA_MDROOT to 64bit by default. Give we have working interrupts also cleanup the extra polling CFLAGS from the module Makefile. MFC after: 2 weeks
* | | | Add support for emulating the move instruction: "mov r/m8, imm8".tychon2014-06-261-0/+15
| | | | | | | | | | | | | | | | Reviewed by: neel
* | | | Allow switching between 32bit and 64bit bus width data access at compilebz2014-06-262-19/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | time by setting NF10BMAC_64BIT and using a REGWTYPE #define to set correct variable and return value widths. Adjust comments to indicate the 32 or 64bit register widths. MFC after: 2 weeks
* | | | Rather than using a constant use sizeof(val) allowing for the lengthbz2014-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | to automatically change as we switch between 32/64bit. MFC after: 2 weeks
* | | | In preparation for 64bit mode remove all the _4 from the function andbz2014-06-261-58/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macro names, rename val4 to val, and m4 to md. No functional change. MFC after: 2 weeks
* | | | Delay the call to crhold() in vm_map_insert() until we know that we won'talc2014-06-261-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | have to undo it by calling crfree(). This reduces the total number of calls by vm_map_insert() to crhold() and crfree() by 45% in my tests. Eliminate an unnecessary variable from vm_map_insert(). Reviewed by: kib Tested by: pho
* | | | Fix build with WITHOUT_INET6.ume2014-06-261-0/+2
| | | | | | | | | | | | | | | | | | | | Spotted by: bf MFC after: 1 week
* | | | Remove duplicated includes.pjd2014-06-264-9/+2
| | | | | | | | | | | | | | | | Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
* | | | - Exclude loopback address rather than loopback interface.ume2014-06-261-13/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - style(9) TODO: When AI_ADDRCONFIG is specified, getaddrinfo() can be quite slow for system with many interfaces. We should have some kernel sysctls to report IPv4/IPv6 status. Spotted by: melifaro MFC after: 1 week
* | | | Remove not needed initialisation code.hselasky2014-06-261-11/+2
| | | |
* | | | Document EINVAL as per POSIX.pluknet2014-06-262-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also follows r124335-r124336, r225827. PR: 191382 MFC after: 1 week Sponsored by: Nginx, Inc.
* | | | Allow MODE SENSE commands through Write Exclusive persistent reservation,mav2014-06-263-4/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as required by SPC-4. Report that fact in persistent reservation capabilities. MFC after: 2 weeks
* | | | Add READ BUFFER and improve WRITE BUFFER SCSI commands support.mav2014-06-264-22/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives some use to 512KB per-LUN buffers, allocated for Copan-specific processor code and not used. It allows, for example, to test transport performance and/or correctness without accessing the media, as supported by Linux version of sg3_utils. MFC after: 2 weeks
* | | | Bring the following change from the illumos-joyent repository:rpaulo2014-06-2619-40/+2297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 78e24ab6803bbe11ba37642624e1498ede5b239d Author: Bryan Cantrill <bryan@joyent.com> Date: Thu Oct 31 01:20:54 2013 OS-1688 DTrace count() with histogram OS-2360 DTrace full width distribution histograms OS-2361 DTrace frequency trails MFC after: 2 weeks
* | | | MFV r267843: update file/libmagic to 5.19.delphij2014-06-26362-7574/+40468
|\ \ \ \ | | | | | | | | | | | | | | | MFC after: 2 weeks
| * | | | Vendor import of file 5.19.delphij2014-06-24357-7261/+40350
| | | | |
* | | | | Improve r264388 removing namespace pollution previously introduced indavide2014-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <sys/time.h>. INT64_MAX actually requires __INT64_C() hack to get the type right on exotic architectures (e.g. on ones with 63-bit ints or long 0x7fffffffffffffff is unsigned int or long). The hardcoded LL suffix is good enough to avoid these problems for SBT_MAX (it makes the type always signed long long, without overflow since long long has at least 64 bits). Many thanks to Bruce Evans for the time spent me to explain this. Reported by: bde Reviewed by: bde
* | | | | Retire IP_RSSCPUID ; the right thing to do is query the RSS bucket;adrian2014-06-262-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | map the bucket to an RSS queue, then map the queue to a CPU ID. This way the bucket->queue and queue->CPU mapping can change over time. Introduce IP_RSSBUCKETID - which instead looks up the RSS bucket. User applications can then map the RSS bucket to a CPU.
* | | | | Add another RSS method to query the indirection table entries.adrian2014-06-262-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's 128 indirection table entries which correspond to the low 7 bits of the 32 bit RSS hash. Each value will correspond to an RSS bucket. (Then each RSS bucket currently will map to a CPU.) This is a more explicit way of figuring out which RSS bucket is in each RSS indirection slot. It can be inferred by the other methods but I'd rather drivers use something more simplified and explicit.
* | | | | Correct buffer size.delphij2014-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Sascha Wildner <swildner dragonflybsd org> MFC after: 2 weeks
* | | | | Use correct length for buffer.delphij2014-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Sascha Wildner <swildner dragonflybsd org> MFC after: 2 weeks
* | | | | Expose the amount of resident and wired memory from the guest's vmspace.grehan2014-06-253-5/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is different than the amount shown for the process e.g. by /usr/bin/top - that is the mappings faulted in by the mmap'd region of guest memory. The values can be fetched with bhyvectl # bhyvectl --get-stats --vm=myvm ... Resident memory 413749248 Wired memory 0 ... vmm_stat.[ch] - Modify the counter code in bhyve to allow direct setting of a counter as opposed to incrementing, and providing a callback to fetch a counter's value. Reviewed by: neel
* | | | | Expand r261243 even further and ignore any I/O port resources assigned tojhb2014-06-251-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PCI root bridges except for the one known-valid case on x86 where bridges claim the I/O port registers used for PCI config space access. Tested by: Hilko Meyer <hilko.meyer@gmx.de> MFC after: 1 week
* | | | | Lock devstat updates in block backend to make it usable. Polish lock names.mav2014-06-252-96/+87
| | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks Sponsored by: iXsystems, Inc.
* | | | | MFV r258381:pfg2014-06-251-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4251 libdtrace leaks open file handles Illumos commit: 93ed8d0d4b068b95d0bb50d57bb854df462a8485 (partial) Reference: https://www.illumos.org/issues/4251 Discussed with: Robert Mustacchi Obtained from: Illumos MFC after: 1 week
* | | | | Introduce fine-grained CTL locking to improve SMP scalability.mav2014-06-254-498/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split global ctl_lock, historically protecting most of CTL context: - remaining ctl_lock now protects lists of fronends and backends; - per-LUN lun_lock(s) protect LUN-specific information; - per-thread queue_lock(s) protect request queues. This allows to radically reduce congestion on ctl_lock. Create multiple worker threads, depending on number of CPUs, and assign each LUN to one of them. This allows to spread load between multiple CPUs, still avoiging congestion on queues and LUNs locks. On 40-core server, exporting 5 LUNs, each backed by gstripe of SATA SSDs, accessed via 6 iSCSI connections, this change improves peak request rate from 250K to 680K IOPS. MFC after: 2 weeks Sponsored by: iXsystems, Inc.
* | | | | Allow to use iSCSI immediate data by several ctl_datamove() calls.mav2014-06-251-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. MFC after: 1 week Sponsored by: iXsystems, Inc.
* | | | | Introduce $RA_SERVER to set default whois server.ume2014-06-251-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: nork Reviewed by: nork MFC after: 1 week
* | | | | * Handle ++x as well as x++ while converting.marcel2014-06-251-7/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add special case handling where normal conversion would not work (some APIs have special names) * Fix conversion for function calls involving ifnet Submitted by: Sreekanth Rupavatharam <rupavath@juniper.net> Obtained from: Juniper Networks, Inc.
* | | | | MFV r260708pfg2014-06-252-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4427 pid provider rejects probes with valid UTF-8 names This make use of Solaris' u8_validate() which we happen to use since r185029 for ZFS. Illumos Revision: 1444d846b126463eb1059a572ff114d51f7562e5 Reference: https://www.illumos.org/issues/4427 Obtained from: Illumos MFC after: 2 weeks
* | | | | Remove example cvsup config files.gavin2014-06-257-269/+5
| | | | | | | | | | | | | | | | | | | | MFC after: 1 week
* | | | | Drop references to updating over csup from build(7).gavin2014-06-251-4/+2
| | | | | | | | | | | | | | | | | | | | MFC after: 1 week
OpenPOWER on IntegriCloud