summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed ZFS TRIM sysctl from vfs.zfs.trim_disable -> vfs.zfs.trim.enabledsmh2013-04-265-15/+21
| | | | | | | | Enabled ZFS TRIM by default Reviewed by: pjd (mentor) Approved by: pjd (mentor) MFC after: 2 weeks
* Octeon 2 (6xxx) and newer CPUs don't use the clock CPU speed for itsimp2013-04-261-1/+1
| | | | | | | | | | I/O clock. Thankfully, the simple executive provies a way to querry the proper clock that works on all models. Move to asking for the SCLK via this interface. This gets the serial console working after we start init and open the console and set the divisor (which turned the output from good to bad). I can login on the console now.
* Remove a comment that shouldn't have gone in.jhibbits2013-04-261-3/+0
| | | | X-MFC-with: r249864
* Use a thread for the processing of virtio tx descriptors rathergrehan2013-04-261-21/+111
| | | | | | | | | | | than blocking the vCPU thread. This improves bulk data performance by ~30-40% and doesn't harm req/resp time for stock netperf runs. Future work will use a thread pool rather than a thread per tx queue. Submitted by: Dinakar Medavaram Reviewed by: neel, grehan Obtained from: NetApp
* Gripe if some <slot,function> tuple is specified more than once instead ofneel2013-04-263-20/+47
| | | | | | | | | | | | silently overwriting the previous assignment. Gripe if the emulation is not recognized instead of silently ignoring the emulated device. If an error is detected by pci_parse_slot() then exit from the command line parsing loop in main(). Submitted by (initial version): Chris Torek (chris.torek@gmail.com)
* In the case where the controller supports an sg_list LESS than our predefinedsbruno2013-04-251-1/+1
| | | | | | | | | | | and tuned value, we would advertise the unsupported value to CAM and it would merrily destroy the controller with way too many IO operations. This manifests itself in a Zero Memory RAID configuration for a P410 and possibly other controllers. Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Use the system MAKEOBJDIRPREFIX when running make targets inbrooks2013-04-252-5/+14
| | | | | | | | | | mergemaster. This allows bootstrap verions of tools to be used. Add a note to UPDATING about this change. Discussed with: jhb Sponsored by: DARPA, AFRL MFC after: 5 days
* Remove deprecated APIs to get the total and free memory available to vmm.ko.neel2013-04-252-26/+0
| | | | | | | | | These APIs were relevant when memory for virtual machine allocation was hard partitioned away from the rest of the system but that is no longer the case. The sysctls that provided this information were garbage collected a while back. Obtained from: NetApp
* mdoc: remove superfluous paragraph macro.joel2013-04-251-2/+0
|
* Fix couple of mbuf leaks in incoming ARP processing.glebius2013-04-251-2/+2
|
* Minor whitespace nitimp2013-04-251-1/+1
|
* Use the offsets from pcb.h rather than regnum.h to store the registersimp2013-04-253-84/+68
| | | | | | | | | in the pcb. setjmp/longjmp in the kernel also used these values, so continue to use them although their use isn't technically the pcb register array (matching is all that's important for setjmp/longjmp in the kernel). Finally, eliminate the old register names from regnum.h. This is a lexical change only. The non-debug .o files have the same md5.
* Don't free memory that is going to be used as error string.glebius2013-04-251-3/+1
| | | | | PR: bin/178121 Submitted by: Garrett Cooper <yaneurabeya gmail.com>
* Restore the ipNetToMedia MIB, that was broken with new ARP commitglebius2013-04-251-0/+45
| | | | | | in the r186119. Submitted by: Konstantin Kukushkin <dark rambler-co.ru>
* Adds Host Protected Area (HPA) support for ATA disks to camcontrolsmh2013-04-253-2/+802
| | | | | | Reviewed by: mav Approved by: pjd (mentor) MFC after: 2 weeks
* Introduce a pointer to const variable gw, which points either at theglebius2013-04-251-13/+6
| | | | | | | | | | | same place as dst, or to the sockaddr in the routing table. The const constraint of gw makes us safe from modifing routing table accidentially. And "onstantness" of dst allows us to remove several bandaids, when we switched it back at &ro->ro_dst, now it always points there. Reviewed by: rrs
* Fix installworld with DB_FROM_SRC after r249807bdrewery2013-04-251-0/+1
| | | | | Approved by: bapt Reported by: Tom Everett
* revert r248644 because of the regression for usdt probesavg2013-04-251-1/+1
| | | | | | | | | | | | | | | USDT probes are advertised to kernel by initialization code with atrribute((constructor))). It seems that on Solaris the .init-ish code of the main object is executed before RD_PREINIT point is hit. On FreeBSD that is not the case. And because on FreeBSD there is no other well-defined point between RD_PREINIT and main() we have to parse a DTrace script when main is hit, for time being. A footnote: currently we actually post RD_POSTINIT event, but that's a bug because the event is triggered by hitting r_debug_state which happens before any init code is executed. Reported by: markj
* Respect the enoent_ok flag if reporting error for holding an non-existingmm2013-04-251-4/+7
| | | | | | | | | | snapshot. Related illumos ZFS issue: 3699 zfs hold or release of a non-existent snapshot does not output error Reported by: Steven Hartland <smh@FreeBSD.org> MFC after: 3 days
* Make it possible to include this file in assembler .S sources.imp2013-04-251-13/+14
|
* Use the defines from pcb.h over the ones from regnum.h for this 'C'imp2013-04-251-3/+3
| | | | | code. In theory, the ones from regnum.h should be used only for assembler code.
* Remove the Fortran directories.rpaulo2013-04-253-70/+0
|
* Add RIP-relative addressing to the instruction decoder.grehan2013-04-256-79/+72
| | | | | | | | | | | | Rework the guest register fetch code to allow the RIP to be extracted from the VMCS while the kernel decoder is functioning. Hit by the OpenBSD local-apic code. Submitted by: neel Reviewed by: grehan Obtained from: NetApp
* Fix mips64 and mipsn32 bilds by using proper register names.imp2013-04-251-0/+11
|
* Introduce kernel coredumps to ppc32 AIM. Leeched from the booke code.jhibbits2013-04-251-0/+111
| | | | MFC after: 2 weeks
* Add myself as a src committerasomers2013-04-241-0/+3
| | | | Approved by: ken (mentor)
* Add myself to the committers list.ken2013-04-241-0/+1
|
* Fix the Dvorak Programmer Keymapeadler2013-04-241-2/+1
| | | | | PR: conf/177572 Submitted by: Sean DuBois <sean@siobud.com>
* getdtablesize(2): Describe what this function actually does.jilles2013-04-241-9/+11
| | | | | | | getdtablesize() returns the limit on new file descriptors; this says nothing about existing descriptors. MFC after: 1 week
* MFV r249857:mm2013-04-245-14/+78
| | | | | | | | | | | | | Merge vendor bugfix for a possible deadlock related to async destroy and improve write performance by introducing a new lock protecting tx_open_txg. Illumos ZFS issues: 3642 dsl_scan_active() should not issue I/O to determine if async destroying is active 3643 txg_delay should not hold the tc_lock MFC after: 1 week
* Move hptmv and mpt drivers shutdown a bit later to the SHUTDOWN_PRI_LASTmav2013-04-242-3/+5
| | | | | | | stage of shutdown_post_sync. That should allow CAM to do final cache flush at the SHUTDOWN_PRI_DEFAULT without using polling magic. MFC after: 3 days
* This fixes the issue with the "randomly changing" defaultrrs2013-04-241-1/+1
| | | | | | | | | | | | | | | | route. What it was is there are two places in ip_output.c where we do a goto again. One place was fine, it copies out the new address and then resets dst = ro->rt_dst; But the other place does *not* do that, which means earlier when we found the gateway, we have dst pointing there aka dst = ro->rt_gateway is done.. then we do a goto again.. bam now we clobber the default route. The fix is just to move the again so we are always doing dst = &ro->rt_dst; in the again loop. PR: 174749,157796 MFC after: 1 week
* Fix N32/N64 ABIs to use proper registers after recent changes.imp2013-04-241-8/+8
| | | | Pointy Hat to: imp
* When rebooting (exiting) from the BTX loader, make sure to restore thedim2013-04-242-2/+2
| | | | | | | | | | | GDT from the correct segment, otherwise a triple fault would be caused. In some virtual environments (VMware, VirtualBox, etc) this could lead to a unhandled error or hang in the guest emulation software. Thanks to avg and jhb for a few hints in the right direction. Noticed by: Jeremy Chadwick <jdc@koitsu.org> (and many others) MFC after: 1 week
* Fix for duplicate sample rate detection after recent patches.hselasky2013-04-241-6/+13
|
* Fix the USB audio feedback endpoint algorithm. There should nothselasky2013-04-241-4/+0
| | | | | | be any need to bias the returned value. Reported by: Craig Leres <leres@ee.lbl.gov>
* Base the calculation of maxmbufmem in part on kmem_map sizeandre2013-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | instead of kernel_map size to prevent kernel memory exhaustion by mbufs and a subsequent panic on physical page allocation failure. On architectures without a direct map all mbuf memory (except for jumbo mbufs larger than PAGE_SIZE) comes from kmem_map. It is the limiting factor hence. For architectures with a direct map using the size of kmem_map is a good proxy of available kernel memory as well. If it is much smaller the mbuf limit may be sub-optimal but remains reasonable, while avoiding panics under exhaustion. The overall mbuf memory limit calculation may be reconsidered again later, however due to the many different mbuf sizes and different backing KVM maps it is a tricky subject. Found by: pho's new network stress test Pointed out by: alc (kmem_map instead of kernel_map) Tested by: pho
* Merge updated "no such identity file" patch.des2013-04-243-34/+29
| | | | PR: bin/178060
* Remove unused variable.ae2013-04-242-3/+0
| | | | MFC after: 1 week
* Fix playback for Focusrite Scarlett 2i2 USB recording interface.hselasky2013-04-241-0/+4
| | | | Submitted by: Ed Maste, emaste @
* Fix copy/paste error.dteske2013-04-241-1/+1
|
* Handle the IRQ for the reset button.rpaulo2013-04-243-2/+35
|
* wiigpio depends on options WII.rpaulo2013-04-241-1/+1
|
* iso639: Add Standard Moroccan Tamazight.eadler2013-04-241-0/+1
| | | | | | See http://www.loc.gov/standards/iso639-2/php/code_changes.php Obtained from: DragonflyBSD (commit 2d64ea1d0ec1beacc8f4e22353b7eb84c6f2b3f0)
* Add missing include.dteske2013-04-231-0/+1
|
* Fix declarations to slightly increase WARNS level.jkim2013-04-232-6/+9
|
* Clean up generated files added in r233250.jkim2013-04-231-1/+2
|
* Pull in r180121 from upstream llvm trunk:dim2013-04-231-4/+4
| | | | | | | | | | | | | | | LoopVectorizer: Fix 15830. When scalarizing and unrolling stores make sure that the order in which the elements are scalarized is the same as the original order. This fixes a miscompilation in FreeBSD's regex library. This should fix lib/libc/regex/regcomp.c at -O3 with clang 3.3 r178860 on CPUs with SSE. Before this change, the vectorizer could incorrectly rearrange the second loop in computejumps(), leading to possibly invalid entries in the re_gets::charjump table. The net result was that for example "sed s/@CC@/foo/" failed to work correctly, leading to trouble with many configure scripts.
* Fix white spaces.jkim2013-04-233-7/+7
|
* Return a lun count of 1 and a lun id of 0 when CAM attempts a REPORT_LUNSsbruno2013-04-231-0/+13
| | | | | | | | command on a disk device. This quieseces some noise on the console that recently appeared. Obtained from: Yahoo! Inc. MFC after: 2 weeks
OpenPOWER on IntegriCloud