summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement the FLUSH operation in the virtio-block emulation.neel2014-10-071-0/+6
| | | | | | | | This gets rid of the following error message during FreeBSD guest bootup: "vtbd0: hard error cmd=flush fsbn 0" Reported by: rodrigc Reviewed by: grehan
* l2arc_write_buffers: reduce headroom valueavg2014-10-071-1/+1
| | | | | | | | | | | | | | FreeBSD has ARC_BUFC_NUMMETADATALISTS metadata lists and ARC_BUFC_NUMDATALISTS data lists (currently both are 16) while illumos has just a single list of each kind. headroom determines how much data is scanned on a single list during each run of the l2arc feed thread. Because FreeBSD has more lists we proportionally decrease the limit. Reviewed by: Brendan Gregg (earlier version) MFC after: 2 weeks Sponsored by: HybridCluster
* revert r272702: wrong (earlier) change was committedavg2014-10-071-3/+1
|
* Fix a bug introduced intuexen2014-10-071-1/+1
| | | | | | https://svnweb.freebsd.org/base?view=revision&revision=272347 MFC after: 3 days
* reduce L2ARC_WRITE_SIZE on FreeBSDavg2014-10-071-1/+3
| | | | | | | | | | | | | | | | FreeBSD has ARC_BUFC_NUMMETADATALISTS metadata lists and ARC_BUFC_NUMDATALISTS data lists (currently both are 16) while illumos has just a single list of each kind. L2ARC_WRITE_SIZE determines the default value of l2arc_write_max which defines limits on how much data is scanned and written to a cache device during each run of the l2arc feed thread. The limits are applied on the per buffer list basis. Because FreeBSD has more lists we proportionally reduce the limits. Reviewed by: Brendan Gregg (earlier version) MFC after: 2 weeks Sponsored by: HybridCluster
* make userland __assfail from opensolaris compat honor 'aok' variableavg2014-10-071-4/+8
| | | | | | This should allow zdb -A option to actually make difference. MFC after: 2 weeks
* Our packet filters use mbuf's rcvif pointer to determine incoming interface.ae2014-10-071-0/+4
| | | | | | | Change mbuf's rcvif to enc0 and restore it after pfil processing. PR: 110959 Sponsored by: Yandex LLC
* Fix compile warning when compiling with GCC.hselasky2014-10-072-1/+1
| | | | | MFC after: 3 days Sponsored by: Mellanox Technologies
* 1) Fix the case we have less arguments for format string than we expected.ache2014-10-071-4/+3
| | | | | | | 2) Return error on unsupported format specs. (both according to POSIX) PR: 93197
* Back out timegm error check from r272562.ache2014-10-071-2/+0
| | | | | | | POSIX treats negative time_t as undefined (i.e. may be valid too, depends on system's policy we don't have) and we don't set EOVERFLOW in mktime/timegm as POSIX requires to surely distinguish -1 return as valid negative time from -1 as error return.
* Add MLINK for explicit_bzero(3) and bump .Dd date.delphij2014-10-072-1/+2
| | | | MFC after: 2 weeks
* Bump __FreeBSD_version for the addition of explicit_bzero(3).delphij2014-10-071-1/+1
|
* Add explicit_bzero(3) and its kernel counterpart.delphij2014-10-078-2/+74
| | | | | Obtained from: OpenBSD MFC after: 2 weeks
* Treat D keywords as identifiers in certain postfix expressions. This allowsmarkj2014-10-061-0/+23
| | | | | | | | | | one to, for example, access the "provider" field of a struct g_consumer, even though "provider" is a D keyword. PR: 169657 MFC after: 2 months Discussed with: Bryan Cantrill Sponsored by: EMC / Isilon Storage Division
* Inject #UD into the guest when it executes either 'MONITOR' or 'MWAIT'.neel2014-10-063-0/+14
| | | | | | | | The hypervisor hides the MONITOR/MWAIT capability by unconditionally setting CPUID.01H:ECX[3] to 0 so the guest should not expect these instructions to be present anyways. Discussed with: grehan
* Properly set the timeout in a query_state. The global query_timeoutjhb2014-10-061-2/+2
| | | | | | | | | | configuration value is an integer count of seconds, it is not a timeval. Using memcpy() to copy a timeval from it put garbage into the tv_usec field. PR: 194025 Submitted by: David Shane Holden <dpejesh@yahoo.com> MFC after: 1 week
* Fix build for i386 kernels with out 'I686_CPU'.jhb2014-10-061-1/+1
| | | | | PR: 193660 Submitted by: holger@freyther.de
* Add netmap support to libpcap. Tcpdump and other native pcap application can nowluigi2014-10-065-0/+298
| | | | | | | | | | | | | | run directly on netmap ports using netmap:foo or valeXX:YY device names. Modifications to existing code are small and trivial, the netmap-specific code is all in a new file. Please be aware that in netmap mode the physical interface is disconnected from the host stack, so libpcap will steal the traffic not just make a copy. For the full version of the code (including linux and autotools support) see https://code.google.com/p/netmap-libpcap/ MFC after: 3 days
* Call initializecpucache() on the BSP for i386 in the !XEN case. This wasjhb2014-10-061-2/+0
| | | | my bug in r271409 that I noticed while reviewing r272492.
* Import byacc 20141005 from vendorbapt2014-10-06104-1497/+8019
|\
| * import byacc 20141005bapt2014-10-06104-1497/+8026
| |
| * import byacc 20140715bapt2014-07-1789-581/+156
| |
| * Import byacc 20140422bapt2014-05-2517-282/+322
| |
* | Fix comment and sort rights by nameluigi2014-10-061-4/+4
| | | | | | | | MFC after: 3 days
* | Set CAM_SIM_QUEUED flag before calling ctl_queue() to avoid race.mav2014-10-061-2/+4
| | | | | | | | | | | | | | PR: 194128 Submitted by: Scott M. Ferris <smferris@gmail.com> MFC after: 3 days Sponsored by: EMC/Isilon Storage Division
* | MFV:rodrigc2014-10-063-1/+8
| | | | | | | | | | | | | | | | use calloc in get_line() when allocating line to ensure it is fully initialized, fixes a later uninitialized value in copy_param() (FreeBSD #193499). PR: 193499 Submitted by: Thomas E. Dickey <tom@invisible-island.net>
* | Improve r272609 (O_TCPOPTS).melifaro2014-10-061-4/+2
| | | | | | | | MFC after: 3 dayes
* | Add support for MaxBurstLength and Expected Data transfer Length parameters.mav2014-10-062-16/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change target could send R2T request for write transfer of any size, that could violate iSCSI RFC, which allows initiator to limit maximum R2T size by negotiating MaxBurstLength connection parameter. Also report an error in case of write underflow, when initiator provides less data than initiator expects. Previously in such case our target sent R2T request for non-existing data, violating the RFC, and confusing some initiators. SCSI specs don't explicitly define how write underflows should be handled and there are different oppinions, but reporting error is hopefully better then violating iSCSI RFC with unpredictable results. MFC after: 2 weeks
* | Fix O_TCPOPTS processing.melifaro2014-10-061-3/+7
| | | | | | | | Obtained from: luigi
* | Improve "reserved keywords" hack:melifaro2014-10-061-4/+25
| | | | | | | | | | | | | | | | | | | | | | we can't easily predict (in current parsing model) if the keyword is ipfw(8) reserved keyword or port name. Checking proto database via getprotobyname() consumes a lot of CPU and leads to tens of seconds for parsing large ruleset. Use list of reserved keywords and check them as pre-requisite before doing getprotobyname(). Obtained from: Yandex LLC
* | Use r271207 optimization only for MSI-enabled HBAs.mav2014-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | It was found that VirtualBox' AHCI does not allow nterrupt to be cleared before the interrupt status register is read, causing interrupt storm. AHCI specification allows to skip this register use when multi-vector MSI is enabled and so interrupting port is known. For single-vector MSI that is not stated explicitly, but if the port is only one, it is obviously known too.
* | Disable generating vfp and NEON instructions in the arm kernel.andrew2014-10-061-0/+3
| |
* | Use documented compat string for msm uart.ganbold2014-10-061-1/+1
| | | | | | | | | | | | Whilst here use tab instead of spaces. Approved by: stas (mentor)
* | MFV r272591:delphij2014-10-062-18/+37
| | | | | | | | | | | | | | | | | | Use loaned ARC buffer for zfs receive to avoid copy. Illumos issue: 5162 zfs recv should use loaned arc buffer to avoid copy MFC after: 2 weeks
* | devfs: tidy up after 272596mjg2014-10-061-3/+3
| | | | | | | | | | | | This moves a var to an if statement, no functional changes. MFC after: 1 week
* | MFV r272588:delphij2014-10-061-0/+5
| | | | | | | | | | | | | | | | | | Handle old format deadlist. Illumos issue: 5178 zdb -vvvvv on old-format pool fails in dump_deadlist() MFC after: 2 weeks
* | MFV r272585:delphij2014-10-064-11/+26
| | | | | | | | | | | | | | | | | | | | Split the godfather zio into CPU number's to reduce lock contention. Illumos issue: 5176 lock contention on godfather zio MFC after: 2 weeks
* | Fix length of Extended INQUIRY Data VPD page.mav2014-10-061-3/+1
| | | | | | | | MFC after: 3 days
* | devfs: don't take proctree_lock unconditionally in devfs_closemjg2014-10-061-10/+13
| | | | | | | | MFC after: 1 week
* | Minor code styling.hselasky2014-10-061-17/+16
| | | | | | | | Suggested by: glebius @
* | MFV r272501:delphij2014-10-061-44/+36
| | | | | | | | | | | | | | Illumos issue: 5177 remove dead code from dsl_scan.c MFC after: 2 weeks
* | MFV r272500:delphij2014-10-061-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | Don't inherit flags other than DS_FLAG_CI_DATASET and DS_FLAG_INCONSISTENT when cloning. This prevents DS_FLAG_DEFER_DESTROY being inherited from a clone that is marked for deferred destroy, which causes snapshots of the clone being destroyed when getting a hold or clone. Illumos issue: 5150 zfs clone of a defer_destroy snapshot causes strangeness MFC after: 1 week
* | Convert racct stubs to inline functions.mjg2014-10-062-84/+87
| | | | | | | | | | | | This saves some symbols and function calls for kernel without RACCT. MFC after: 1 week
* | Bump .Dd missed in r271424bdrewery2014-10-061-1/+1
| |
* | - Add some tests for modifying groupsbrd2014-10-062-1/+35
| | | | | | | | Reviewed by: will
* | Fix dependency errors when linking libproc.markj2014-10-051-0/+3
| | | | | | | | | | Reported by: Oliver Hartmann X-MFC-With: r272488
* | sh: Eliminate some gotos.jilles2014-10-055-56/+43
| |
* | seq_t needs to be visible to userspacemjg2014-10-051-3/+10
| | | | | | | | | | | | Pointy hat to: mjg Reported by: bz X-MFC: with r272567
* | Change the UMA mutex into a rwlockbryanv2014-10-051-20/+20
| | | | | | | | | | | | | | | | | | | | Acquire the lock in read mode when just needed to ensure the stability of the keg list. The UMA lock may be held for a long time (relatively speaking) in uma_reclaim() on machines with lots of zones/kegs. If the uma_timeout() would fire during that period, subsequent callouts on that CPU may be significantly delayed. Reviewed by: jhb
* | Virtualize if_edsc(4).hrs2014-10-051-18/+33
| |
OpenPOWER on IntegriCloud