summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r302908:bdrewery2016-07-221-1/+1
| | | | | Fix dlsym(RTLD_NEXT) handling to only return the next library in last library cases.
* MFC: merge in all new features and improvements into geom_uzip(8) from current,sobomax2016-07-2113-152/+1122
| | | | | | | | | | | | | | which includes: o LZMA compression; o block de-duplication; o performance improvements; o pop out worker kthread to do extraction. This includes the following revisions: r295943,r295952,r298502,r298619,r299195,r302284 Suggested by: emaste
* MFC r302957: Fix NCQ TRIM emulation.mav2016-07-211-2/+10
| | | | When this code was written, there was no guests using it to test.
* MFC r303000: Update if_hwassist when interface options are changed.mav2016-07-211-9/+22
| | | | | In particular for me this fixes checksum problem when if_bridge attached to the interface requests TXCSUM to be disabled, but effectively ignored.
* MFC r303003:gjb2016-07-211-0/+3
| | | | | | | Make sure we clean up the rdoc and reldoc directories if NODOC is not set. Sponsored by: The FreeBSD Foundation
* Fix lem(4) build after r303107sbruno2016-07-201-1/+1
| | | | Submitted by: Jason Wolfe <j@nitrology.com>
* Fix em(4) build after r303107sbruno2016-07-201-1/+1
| | | | Reported by: Jason Wolf <j@nitrology.com>
* MFC - r302384 to 10-STABLEsbruno2016-07-208-8/+16
| | | | | | | | | | Do not initialize the adapter on MTU change when adapter status is down. This fixes long-standing problems when changing settings of the adapter. Discussed in: https://lists.freebsd.org/pipermail/freebsd-net/2016-June/045509.html Differential Revision: https://reviews.freebsd.org/D7254
* MFC: merge in all new features and improvements into mkuzip(8) from current,sobomax2016-07-2022-113/+1658
| | | | | | | | | | | | | | which includes: o LZMA compression; o block de-duplication; o performance improvements; o multi-thread support. This includes the following revisions: r295943,r296626,r296628,r296810,r298504,r298505,r298577 Suggested by: emaste
* MFC r302770:kib2016-07-203-0/+44
| | | | Trace timeval parameters to the getitimer(2) and setitimer(2) syscalls.
* MFC r302673slm2016-07-208-91/+237
| | | | | | | | Use real values to calculate Max I/O size instead of guessing. Reviewed by: ken, scottl Approved by: ken, scottl, ambrisko (mentors) Differential Revision: https://reviews.freebsd.org/D7043
* MFC r302558:gahr2016-07-201-108/+133
| | | | | | | Do not truncate lines longer than 512 chars. PR: 210344 Differential Revision: https://reviews.freebsd.org/D6881
* MFC r302973:pfg2016-07-201-1/+1
| | | | | | | | | sed(1): Fix off by one introduced in r299211. Detected by running the gsed tests. Submitted by: Mikhail Teterin PR: 195929
* MFC r302179:markj2016-07-201-3/+13
| | | | gcore: Forward pending signals when detaching from the target.
* MFC r302091:markj2016-07-201-2/+15
| | | | Do not complete pending gmirror BIOs when tearing down the provider.
* MFC r302797:markj2016-07-201-1/+6
| | | | Document DDB's "alltrace" and "show all trace" commands.
* MFC r261242:jch2016-07-182-10/+3
| | | | | | | | | | | | Decrease lock contention within the TCP accept case by removing the INP_INFO lock from tcp_usr_accept. As the PR/patch states this was following the advice already in the code. See the PR below for a full discussion of this change and its measured effects. PR: 183659 Submitted by: Julien Charbon Reviewed by: jhb
* MFC r302772: re-apply r299908: zfsctl_snapdir_lookup: clear VV_ROOT ofavg2016-07-181-0/+1
| | | | snapshot's root
* MFC r302667truckman2016-07-181-136/+87
| | | | | | | | | | | | | | | | | | | | | | | Fix problems in the FQ-PIE AQM cleanup code that could leak memory or cause a crash. Because dummynet calls pie_cleanup() while holding a mutex, pie_cleanup() is not able to use callout_drain() to make sure that all callouts are finished before it returns, and callout_stop() is not sufficient to make that guarantee. After pie_cleanup() returns, dummynet will free a structure that any remaining callouts will want to access. Fix these problems by allocating a separate structure to contain the data used by the callouts. In pie_cleanup(), call callout_reset_sbt() to replace the normal callout with a cleanup callout that does the cleanup work for each sub-queue. The instance of the cleanup callout that destroys the last flow will also free the extra allocated block of memory. Protect the reference count manipulation in the cleanup callout with DN_BH_WLOCK() to be consistent with all of the other usage of the reference count where this lock is held by the dummynet code. Submitted by: Rasool Al-Saadi <ralsaadi@swin.edu.au> Differential Revision: https://reviews.freebsd.org/D7174
* MFC r302573:kib2016-07-181-2/+2
| | | | Fill tf_trapno for trap frames created for syscall.
* MFC r302511, r302771, r302845:pfg2016-07-172-4/+8
| | | | mail(1): check for out of memory conditions when calling calloc(3).
* MFC r302517:dchagin2016-07-1713-554/+321
| | | | | | | | | | | | | Fix a copy/paste bug introduced during X86_64 Linuxulator work. FreeBSD support NX bit on X86_64 processors out of the box, for i386 emulation use READ_IMPLIES_EXEC flag, introduced in r302515. While here move common part of mmap() and mprotect() code to the files in compat/linux to reduce code dupcliation between Linuxulator's. MFC r302518, r302626: Add linux_mmap.c to the appropriate conf/files.
* Regen for r302962 (Linux personality), record mergeinfo for r320516.dchagin2016-07-1715-21/+21
|
* MFC r302515:dchagin2016-07-177-9/+89
| | | | | | | | Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag. In Linux if this flag is set, PROT_READ implies PROT_EXEC for mmap(). Linux/i386 set this flag automatically if the binary requires executable stack. READ_IMPLIES_EXEC flag will be used in the next Linux mmap() commit.
* MFC r302857:jamie2016-07-171-3/+6
| | | | | | | Start jails non-parallel if jail_parallel_start is NO. This was true for an explicitly specified jail list; now it's also true for all jails. PR: 209112
* MFC r302856:jamie2016-07-173-6/+23
| | | | | | | Fix up the order in which jail creation processes are run, to preserve the config file's order in the non-parallel-start case. PR: 209112
* MFC r302855:jamie2016-07-171-15/+16
| | | | | | | | Wait for jails to complete startup if jail_parallel_start is YES, instead of assuming they'll take less than one second. PR: 203172 Submitted by: dmitry2004@yandex.ru
* MFH r301732, r302288cperciva2016-07-161-7/+4
| | | | | | | Updates to EC2 loader.conf: * Use console=comconsole (r301732) since EC2 now has a "VGA" console; * Enable blkif indirect segment I/O (r302288) since EC2 now consistently gets better disk performance with this option enabled.
* MFC r301877:markj2016-07-161-1/+2
| | | | Add a missing error check for a malloc() call in idr_get().
* MFC r302346:markj2016-07-161-1/+8
| | | | Ensure that spinlock sections are balanced even after a panic.
* MFC r301090:markj2016-07-161-0/+3
| | | | mkimg: Indicate that input file pages are unlikely to be reused.
* MFC r301212:markj2016-07-161-0/+2
| | | | Reset the page busy lock state after failing to insert into the object.
* MFC r301210:markj2016-07-161-6/+2
| | | | Don't preserve the page's object linkage in vm_page_insert_after().
* MFC r302507:markj2016-07-151-1/+1
| | | | Avoid truncating the return value of DTrace predicates.
* MFC r297187sbruno2016-07-152-7/+53
| | | | | | | | Support checksum offloading for TCP/IPV6 and UDP/IPV6. Support SCTP checksum offloading for SCTP/IPV6. Support SCTP checksum offloading on all controllers except 82575. Differential Revision: https://reviews.freebsd.org/D7215
* MFC 302541,302605sephe2016-07-151-57/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 302541 hyperv/stor: Fix the INQUIRY checks Don't check the area that the host has not filled. PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209443 PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210425 Submitted by: Hongjiang Zhang <honzhan microsoft com> Reviewed by: sephe, Dexuan Cui <decui microsoft com> Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6955 302605 hyperv/stor: Save the response status and xfer length properly. The current command response handling discards status and xfer length unconditionally, so that all of the commands would be considered successful, even if errors happened. When errors really happens, this causes all kinds of wiredness, since the buffer will not be filled on the host side and sense data will be ignored. Most of the time, errors do not happen, however, error does happen for the request sent immediately after the disk resizing. Discarding the SCSI status (SCSI_STATUS_CHECK_COND) and sense data (capacity changes) prevents the disk resizing from working properly. This commit saves the response status and xfer length properly for later use. Submitted by: Dexuan Cui <decui microsoft com> Noticed by: sephe Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7181
* MFC changes relating to warnings in opensolaris-derived librariesasomers2016-07-147-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC r257592 MFC r257657 MFC r257638 MFC r257647 MFC r302141 r257592 | sbruno | 2013-11-03 14:05:44 -0700 (Sun, 03 Nov 2013) | 8 lines This library uses macros to define fprintf behvavior for several object types The compiler will see the non-string literal arguments to the fprintf calls and omit warnings for them. Quiese these warnings in contrib code: cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c:743:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ARENDER(pctl, nvlist_array, nvl, name, val, nelem); r257657 | sbruno | 2013-11-04 14:32:07 -0700 (Mon, 04 Nov 2013) | 5 lines Quiesce warning assigning to void * from const ctf_header_t * by explicity casting to void * before assignment. Submitted as Illumos issue 4287 r257638 | sbruno | 2013-11-04 09:15:43 -0700 (Mon, 04 Nov 2013) | 6 lines Quiesce warning regarding %llf which has no effect. Submitted as illumos issue #4284 Reviewed by: delphij r257647 | sbruno | 2013-11-04 12:32:35 -0700 (Mon, 04 Nov 2013) | 4 lines spelling in comments fixup Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de> r302141 | asomers | 2016-06-23 09:02:57 -0600 (Thu, 23 Jun 2016) | 14 lines Raise the WARNS level in cddl/lib cddl/lib/libavl/Makefile cddl/lib/libctf/Makefile cddl/lib/libnvpair/Makefile cddl/lib/libumem/Makefile cddl/lib/libuutil/Makefile Increase WARNS to the highest working level for each of these libraries Sponsored by: Spectra Logic Corp
* MFH: r297023julian2016-07-142-6/+28
| | | | | | | Add the ability to print out the module specific information in likely formats. Among other things this gives us the ability to find out the syscall number of a dynamically loaded syscall that has a dynamicly allocated vector number. Sponsored by: Panzura inc.
* MFC r302402: Fix ahci(4) driver attach to controller with 32 ports.mav2016-07-142-4/+4
| | | | | | | Incorrect sign expansion in variables that supposed to be a bit fields caused infinite loop. Fixing this allows system properly detect maximal possible 32 devices configured on AHCI HBA of BHyVe. That case did not happen in a wild before due to lack of hardware AHCI HBAs with 32 ports.
* MFC r302476:pfg2016-07-132-2/+2
| | | | | | ng_mppc(4): basic readability cleanups. No functional change.
* MFC r300134: move zfsctl_freebsd_root_lookup right next toavg2016-07-131-48/+44
| | | | zfsctl_root_lookup
* MFC r300130: zfsctl_freebsd_root_lookup: gfs_vop_lookup may return aavg2016-07-131-8/+14
| | | | doomed vnode
* MFC r299951: do not destroy 'snapdir' when it becomes inactiveavg2016-07-131-35/+5
|
* MFC r299949: try to recycle "snap" vnodes as soon as possibleavg2016-07-131-5/+15
|
* MFC r299947: fix locking in zfsctl_root_lookupavg2016-07-131-10/+20
|
* MFC r299946: gfs_lookup_dot() does not have to acquire any locksavg2016-07-132-14/+13
|
* MFC r299945: avoid deadlock between zfsctl_snapdir_lookup andavg2016-07-131-2/+11
| | | | zfsctl_snapshot_reclaim
* MFC r299940: fix a vnode reference leak caused by illumos compat traverse()avg2016-07-132-9/+8
|
* MFC r299914: zfsctl_ops_snapshot: remove methods should never be calledavg2016-07-131-96/+0
|
* MFC r301273: zfs_root: fix a potential root vnode reference leakavg2016-07-131-4/+6
|
OpenPOWER on IntegriCloud