summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't ever create object directories here with MK_AUTO_OBJ.bdrewery2016-03-082-8/+5
| | | | Sponsored by: EMC / Isilon Storage Division
* drm/i915: Update to match Linux 3.8.13dumbbell2016-03-0857-8673/+19751
| | | | | | | | | This update brings initial support for Haswell GPUs. Tested by: Many users of FreeBSD, PC-BSD and HardenedBSD Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5554
* Better english.dchagin2016-03-081-1/+1
| | | | | Submitted by: Kevin P. Neal MFC after: 1 week
* cxgbe(4): Reshuffle and rototill t4_hw.c, solely to reduce diffs withnp2016-03-081-817/+920
| | | | | | the internal shared code. Obtained from: Chelsio Communications
* Put a commit message from r296502 about Linux alarm() system calldchagin2016-03-081-0/+5
| | | | | | | | behaviour to the source. Suggested by: emaste@ MFC after: 1 week
* Load linux64 module for amd64 if Linux abi enabled.dchagin2016-03-081-0/+5
| | | | | | Reviewed by: emaste@ MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D5567
* MFV r296540: 4448 zfs diff misprints unicode charactersmav2016-03-081-6/+8
| | | | | | | | | Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Matthew Ahrens <mahrens@delphix.com> Author: Joshua M. Clulow <jmc@joyent.com> illumos/illumos-gate@b211eb9181f99c20acbf4c528f94cb44b4ca8c31
* MFV r296538: 6544 incorrect comment in libzfs.h about offline statusmav2016-03-081-1/+1
| | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Gerhard Roethlin <git@the-color-black.net> illumos/illumos-gate@cb605c4d8ab24b5a900b8b4ca85db65c22d05fad
* MFV r296536: 6551 cmd/zpool: cleanup gcc warningsmav2016-03-083-34/+13
| | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Robert Mustacchi <rm@joyent.com> illumos/illumos-gate@b327cd3f3b4dab4f29e7140159b1e01ed2ceef2a
* MFV r296534: 6550 cmd/zfs: cleanup gcc warningsmav2016-03-081-17/+37
| | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Igor Kozhukhov <ikozhukhov@gmail.com> illumos/illumos-gate@c16bcc4577f389573eff411c7b7e040294078c3b
* MFV r296532: 6637 replacing "dontclose" with "should_close"mav2016-03-081-3/+3
| | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: David Schwartz <dschwartz783@gmail.com> illumos/illumos-gate@d189620258b3c9b0e2f7e2104840be2eee7c68e5
* MFV r296529:mav2016-03-082-5/+8
| | | | | | | | | | | | | | 6672 arc_reclaim_thread() should use gethrtime() instead of ddi_get_lbolt() 6673 want a macro to convert seconds to nanoseconds and vice-versa Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Eli Rosenthal <eli.rosenthal@delphix.com> illumos/illumos-gate@a8f6344fa0921599e1f4511e41b5f9a25c38c0f9
* MFV r296527: 6659 nvlist_free(NULL) is a no-opmav2016-03-0812-40/+20
| | | | | | | | | Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com> Author: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> illumos/illumos-gate@aab83bb83be7342f6cfccaed8d5fe0b2f404855d
* Record command exit status in the typescript file when running simple commands.bdrewery2016-03-081-3/+9
| | | | | | | | Also capitalize 'command:'. Relnotes: yes MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Just exit in the child if execve(2) fails.bdrewery2016-03-081-9/+1
| | | | | | | | | | | | | | No functional change. This is mostly addressing a false-positive from the clang static analyzer due to it thinking that done() was being called with freed memory, however the kill(0, SIGTERM) made the done() never reached. It doesn't make sense to the show the footer from the child anyhow, nor does it make sense to kill the process group here since the execve(2) failed in the child. This code was leftover from many years of refactoring. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Filemon: Attach from the child to avoid racing with the parent attach.bdrewery2016-03-081-4/+10
| | | | | | | | | | This is the same as how the bmake filemon usage works. This also fixes failed attach not properly flushing the TTY. MFC after: 1 week Relnotes: yes Sponsored by: EMC / Isilon Storage Division
* MFV r296522: 6541 Pool feature-flag check defeated if "verify" is includedmav2016-03-082-1/+7
| | | | | | | | | | | in the dedup property value Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Richard Laager <rlaager@wiktel.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: ilovezfs <ilovezfs@icloud.com> illumos/illumos-gate@971640e6aa954c91b0706543741aa4570299f4d7
* MFV r296520: 6562 Refquota on receive doesn't account for overagemav2016-03-081-3/+28
| | | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com> Author: Dan McDonald <danmcd@omniti.com> illumos/illumos-gate@5f7a8e6d750cb070a3347f045201c6206caee6aa
* MFV r296518: 5027 zfs large block support (add copyright)mav2016-03-0851-0/+51
| | | | | | Author: Matthew Ahrens <matt@mahrens.org> illumos/illumos-gate@c3d26abc9ee97b4f60233556aadeb57e0bd30bb9
* boot1.efi: use += to append to LDFLAGSemaste2016-03-081-1/+1
| | | | | This is for consistency with loader.efi's Makefile and simplifies some out-of-tree experimentation.
* MFV r296515: 6536 zfs send: want a way to disable setting ofmav2016-03-082-1/+14
| | | | | | | | | | | | DRR_FLAG_FREERECORDS Reviewed by: Anil Vijarnia <avijarnia@racktopsystems.com> Reviewed by: Kim Shrier <kshrier@racktopsystems.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Andrew Stormont <astormont@racktopsystems.com> illumos/illumos-gate@880094b6062aebeec8eda6a8651757611c83b13e
* MFV r296513: 6450 scrub/resilver unnecessarily traverses snapshots createdmav2016-03-081-4/+50
| | | | | | | | | | | | after the scrub started Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Approved by: Richard Lowe <richlowe@richlowe.net> Author: Matthew Ahrens <mahrens@delphix.com> illumos/illumos-gate@38d61036746e2273cc18f6698392e1e29f87d1bf
* MFV r296511: 6537 Panic on zpool scrub with DEBUG kernelmav2016-03-081-2/+4
| | | | | | | | | | | Reviewed by: Steve Gonczi <gonczi@comcast.net> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Matthew Ahrens <mahrens@delphix.com> Author: Gary Mills <gary_mills@fastmail.fm> illumos/illumos-gate@8c04a1fa3f7d569d48fe9b5342d0bd4c533179b9
* MFV r296505: 6531 Provide mechanism to artificially limit disk performancemav2016-03-0812-30/+456
| | | | | | | | | | Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Prakash Surya <prakash.surya@delphix.com> illumos/illumos-gate@97e81309571898df9fdd94aab1216dfcf23e060b
* Delete empty sys/modules/aio/ directoryngie2016-03-080-0/+0
| | | | | | | This was missed in r296277 X-MFC with: r296277 Sponsored by: EMC / Isilon Storage Division
* Follow-up r296324: Fix STATICOBJS dependency guesses conditions.bdrewery2016-03-081-2/+2
| | | | | | Reported by: antoine Pointyhat to: bdrewery Sponsored by: EMC / Isilon Storage Division
* Does not leak fp. While here remove bogus cast of fp->f_data.dchagin2016-03-081-2/+5
| | | | MFC after: 1 week
* Linux accept() system call return EOPNOTSUPP errno instead of EINVALdchagin2016-03-081-1/+12
| | | | | | for UDP sockets. MFC after: 1 week
* According to POSIX and Linux implementation the alarm() system calldchagin2016-03-081-4/+1
| | | | | | | | | | is always successfull. So, ignore any errors and return 0 as a Linux do. XXX. Unlike POSIX, Linux in case when the invalid seconds value specified always return 0, so in that case Linux does not return proper remining time. MFC after: 1 week
* Link the newly created process to the corresponding parent asdchagin2016-03-081-0/+12
| | | | | | | if CLONE_PARENT is set, then the parent of the new process will be the same as that of the calling process. MFC after: 1 week
* Mention resolvconf(8) in resolv.conf(5).trasz2016-03-081-1/+2
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* cxgbe(4): Minor updates to the shared routines that deal with firmware images.np2016-03-082-85/+58
|
* cxgbe(4): Fix t4_tp_get_rdma_stats.np2016-03-081-1/+1
|
* cxgbe(4): Many new functions in the shared code, unused at this time.np2016-03-082-0/+659
| | | | Obtained from: Chelsio Communications
* cxgbe(4): Use t4_link_down_rc_str in shared code to decode the reasonnp2016-03-083-7/+27
| | | | the link is down, instead of doing it in OS specific code.
* Add MIPS_INTRNG to sys/conf/options.mipssgalabov2016-03-081-0/+5
| | | | | | | | | This was somehow missed in the commit of https://reviews.freebsd.org/D5182 although it was in the original diff submitted for review. Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5568
* cxgbe(4): Updates to shared routines that get/set various parameters vianp2016-03-082-41/+107
| | | | | | the firmware. Obtained from: Chelsio Communications
* cxgbe(4): Remove __devinit and SPEED_<foo> as part of catch up withnp2016-03-083-22/+15
| | | | | | internal shared code. Obtained from: Chelsio Communications
* cxgbe(4): Updates to the shared routines that deal with the serial EEPROM,np2016-03-085-430/+616
| | | | | | flash, and VPD. Obtained from: Chelsio Communications
* cxgbe(4): Updates to mailbox routines in the shared code.np2016-03-082-28/+112
| | | | Obtained from: Chelsio Communications
* cxgbe(4): Update the interrupt handlers for hardware errors.np2016-03-083-81/+199
| | | | Obtained from: Chelsio Communications
* cxgbe(4): Overhaul the shared code that deals with the chip's TP block,np2016-03-086-178/+441
| | | | | | | | | | which is responsible for filtering and RSS. Add the ability to use filters that match on PF/VF (aka "VNIC id") while here. This is mutually exclusive with filtering on outer VLAN tag with Q-in-Q. Sponsored by: Chelsio Communications
* Fix a couple of silly mistakes in r291962.markj2016-03-081-2/+2
| | | | | | | - Handle the case where no DOF helper is provided. This occurs with the currently-unused DTRACEHIOC_ADD ioctl. - Fix some checks that prevented the loading DOF in the (non-default) lazyload mode.
* Fix fasttrap tracepoint locking.markj2016-03-084-20/+37
| | | | | | | | | | | | | Upstream, tracepoints are protected by per-CPU mutexes. An unlinked tracepoint may be freed once all the tracepoint mutexes have been acquired and released - this is done in fasttrap_mod_barrier(). This mechanism was not properly ported: in some places, the proc lock is used in place of a tracepoint lock, and in others the locking is omitted entirely. This change implements tracepoint locking with an rmlock, where the read lock is used in fasttrap probe context. As a side effect, this fixes a recursion on the proc lock when the raise action is used from a userland probe. MFC after: 1 month
* cxgbe(4): Add a struct sge_params to store per-adapter SGE parameters.np2016-03-089-138/+172
| | | | | | | Move the code that reads all the parameters to t4_init_sge_params in the shared code. Use these per-adapter values instead of globals. Sponsored by: Chelsio Communications
* Remove the fasttrap implementation for sparc.markj2016-03-082-1689/+0
| | | | | Other machine-dependent code required for DTrace on sparc is not present in the tree, so there's no point to keeping the fasttrap code.
* Fix a sneaky bug where we were missing an externrrs2016-03-081-1/+1
| | | | | | to get the rxt threshold.. and thus created our own defaulted to 0 :-( Sponsored by: Netflix Inc
* MFV r296306: 6604 harden DIF bounds checkingmarkj2016-03-081-2/+75
| | | | | | | | | | | | Reviewed by: Alex Wilson <alex.wilson@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: Bryan Cantrill <bryan@joyent.com> illumos/illumos-gate@1c0cef67dba05c477dba779bc99224693e809a14 MFC after: 2 weeks
* libc/{i386,amd64}: Do not export .cerror when building WITHOUT_SYMVERemaste2016-03-082-0/+2
| | | | | | | | | | | | | | | Further to r240152 (i386) and r240178 (amd64), hide the .cerror symbol so that it is not exported if symbol versioning is not in use. Without this change WITHOUT_SYMVER libc contains .text relocations for .cerror, as described in LLVM PR 26813 (http://llvm.org/pr26813). This is a no-op for the regular build as the symbol version script already controls .cerror visibility. PR: 207712 Submitted by: Rafael EspĂ­ndola Reviewed by: jilles, kib Differential Revision: https://reviews.freebsd.org/D5571
* Add missing break for r296472.bdrewery2016-03-071-0/+1
| | | | | | | This was lost in git rebasing, though it has no functional change. X-MFC-With: r296472 MFC after: 1 week
OpenPOWER on IntegriCloud