summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add ip_gre.h to ObsoleteFiles.inc.ae2014-11-241-0/+2
| | | | Sponsored by: Yandex LLC
* Replace home-grown CTL IO allocator with UMA.mav2014-11-249-543/+186
| | | | | | | | | | | | | | | | | | Old allocator created significant lock congestion protecting its lists of preallocated I/Os, while UMA provides much better SMP scalability. The downside of UMA is lack of reliable preallocation, that could guarantee successful allocation in non-sleepable environments. But careful code review shown, that only CAM target frontend really has that requirement. Fix that making that frontend preallocate and statically bind CTL I/O for every ATIO/INOT it preallocates any way. That allows to avoid allocations in hot I/O path. Other frontends either may sleep in allocation context or can properly handle allocation errors. On 40-core server with 6 ZVOL-backed LUNs and 7 iSCSI client connections this change increases peak performance from ~700K to >1M IOPS! Yay! :) MFC after: 1 month Sponsored by: iXsystems, Inc.
* Limit descriptors and enter capability mode.brueffer2014-11-241-0/+18
| | | | | | | Differential: D1009 Reviewed by: jonathan, pjd MFC after: 2 weeks Relnotes: yes
* Remove the pidfile clause from the ctl.conf example. Why do everyonetrasz2014-11-241-3/+1
| | | | | | | just copy/paste this line into their configs, it's beyond me. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix rendering of manpages with mandoc(1)bapt2014-11-247-14/+7
|
* We already have "int i" in this scope.glebius2014-11-241-1/+1
| | | | Submitted by: alc
* The arm PJ4B cpu is armv7 architecture, not v6.ian2014-11-241-2/+2
| | | | | | If this feels like deja vu... the last time this was fixed in this file only ARM_MMU_V6 was fixed, this time it's ARM_ARCH_V6 (and this time I searched for other occurrances of pj4b in here).
* Read cs_outstanding_ctl_pdus before incrementing it for NEXUS RESET task.mav2014-11-241-1/+1
| | | | | | This removes extra log noise on idle connection termination. MFC after: 1 week
* Fix rendering with mandocbapt2014-11-241-2/+1
|
* Add ARMV6 as an arm option. This will cause obscure magic in config(8)ian2014-11-242-4/+5
| | | | | | to automatically set the armv6 option when MACHINE_ARCH is armv6. That allows replacing ever-growing lists of cpu names as options to compile a given file with the using either "optional armv6" or "optional !armv6".
* Fix the negation (!) operator so that it binds only to the word thatian2014-11-231-12/+12
| | | | | immediately follows it, which means 'not' has to be reset every time an option word or device name is processed.
* Fix rendering with mandocbapt2014-11-231-2/+1
|
* Fix rendering with mandocbapt2014-11-231-2/+1
|
* Ta is only allowed with Bl -column not in Bl -itembapt2014-11-231-1/+1
|
* Workaround help2man defficiency that prevents mandoc from renderingbapt2014-11-231-3/+2
|
* Change the lower bound for guest vmspace allocation to 0 instead ofgrehan2014-11-231-1/+1
| | | | | | | | | | | | | | using the VM_MIN_ADDRESS constant. HardenedBSD redefines VM_MIN_ADDRESS to be 64K, which results in bhyve VM startup failing. Guest memory is always assumed to start at 0 so use the absolute value instead. Reported by: Shawn Webb, lattera at gmail com Reviewed by: neel, grehan Obtained from: Oliver Pinter via HardenedBSD https://github.com/HardenedBSD/hardenedBSD/commit/23bd719ce1e3a8cc42fc8317b1c7c6d9e74dcba0 MFC after: 1 week
* Install mdoc(7) and man(7) from mdoc instead of the one from groffbapt2014-11-233-5/+2
|
* Regenerate the manpage in mdoc(7) format using pod2mdocbapt2014-11-231-433/+280
| | | | Now mandoc can render the manpage properly
* Correct the functions declaration.br2014-11-231-8/+8
|
* Fix an error (case on a .Nm) preventing mandoc from rendering the manpagebapt2014-11-231-15/+15
| | | | Fix mandoc warnings: extrat space at end of lines
* Squelch a (bogus) used before init warning when building with gcc.ian2014-11-231-0/+1
|
* Misc mdoc fixes:joel2014-11-2313-56/+43
| | | | | | | | - Remove superfluous paragraph macros. - Remove/fix empty or incorrect macros. - Sort sections into conventional order. - Terminate quoted strings properly. - Remove EOL whitespace.
* Consider the negation operator (!) to be a word even if it is not followedian2014-11-231-0/+5
| | | | | by whitespace. This allows "optional !foo" which is what most programmers are naturally going to tend to do as opposed to "optional ! foo".
* \n at end of panicstr is redundant.glebius2014-11-231-1/+1
| | | | Submitted by: alc
* Fix the following -Werror warning from clang 3.5.0, while building thedim2014-11-231-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | ath kernel module: sys/dev/ath/ath_hal/ar5212/ar5212_reset.c:2642:7: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value] if (abs(lp[0] * EEP_SCALE - target) < EEP_DELTA) { ^ sys/dev/ath/ah_osdep.h:74:18: note: expanded from macro 'abs' #define abs(_a) __builtin_abs(_a) ^ sys/dev/ath/ath_hal/ar5212/ar5212_reset.c:2642:7: note: remove the call to '__builtin_abs' since unsigned values cannot be negative sys/dev/ath/ah_osdep.h:74:18: note: expanded from macro 'abs' #define abs(_a) __builtin_abs(_a) ^ 1 error generated. This warning occurs because both lp[0] and target are unsigned, so the subtraction expression is also unsigned, and calling abs() is a no-op. However, the intention was to look at the absolute difference between the two unsigned quantities. Introduce a small static function to clarify what we're doing, and call that instead. Reviewed by: adrian MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D1212
* Don't use the synchronization endpoint unless referenced by thehselasky2014-11-231-2/+13
| | | | | | | | | | isochronous endpoint descriptor used for the data transfers, hence the synchronization feature might not be supposed to be supported [yet]. This makes seamless playback synced with the USB HOST clock work with the DN32-USB module for Midas audio systems and possibly other similar products from Klark Teknik. MFC after: 1 week
* Merge from projects/sendfile:glebius2014-11-239-49/+214
| | | | | | | | | | | | | | o Provide a new VOP_GETPAGES_ASYNC(), which works like VOP_GETPAGES(), but doesn't sleep. It returns immediately, and will execute the I/O done handler function that must be supplied as argument. o Provide VOP_GETPAGES_ASYNC() for the FFS, which uses vnode_pager. o Extend pagertab to support pgo_getpages_async method, and implement this method for vnode_pager. Reviewed by: kib Tested by: pho Sponsored by: Netflix Sponsored by: Nginx, Inc.
* Do not include buf.h.glebius2014-11-231-1/+0
|
* ifdef RACCT ui_racct_foreach and struct uidinfo's ui_racctmjg2014-11-233-9/+8
| | | | | Change racct_ create and destroy to macros evaluating to nothing without RACCT so that their callers passing ui_racct don't have to be ifdefed.
* buf.h is not needed here, and pollutes when ufsmount.h is includedglebius2014-11-231-2/+0
| | | | | | from userland code. Sponsored by: Nginx, Inc.
* Include required files directly instead of pollution via ufs/ufsmount.h.glebius2014-11-233-0/+3
| | | | Sponsored by: Nginx, Inc.
* Fix commentsbapt2014-11-231-2/+4
|
* filedesc: plug a test for impossible condition in fgetvp_rightsmjg2014-11-231-3/+1
|
* Fix typobapt2014-11-231-1/+1
|
* Change man(1) to use mandoc to render manpagesbapt2014-11-231-4/+44
| | | | | | | man(1) now first test the manpage to run with mandoc to make sure it can be rendered. In case groff cannot be found (because base has been built WITHOUT_GROFF) it recommands to install groff from the packages
* Fix the following -Werror warnings from clang 3.5.0, while buildingdim2014-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | bsnmpd's snmp_hostres module: usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:204:20: error: absolute value function 'abs' given an argument of type 'const long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] str[9] = (u_char)(abs(tm->tm_gmtoff) / 3600); ^ usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:204:20: note: use function 'labs' instead str[9] = (u_char)(abs(tm->tm_gmtoff) / 3600); ^~~ labs usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:205:22: error: absolute value function 'abs' given an argument of type 'const long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] str[10] = (u_char)((abs(tm->tm_gmtoff) % 3600) / 60); ^ usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:205:22: note: use function 'labs' instead str[10] = (u_char)((abs(tm->tm_gmtoff) % 3600) / 60); ^~~ labs Since tm::tm_gmtoff is a long, use labs(3) instead. MFC after: 3 days
* sh: Prepend "$0: " to error messages if there is no command name.jilles2014-11-222-0/+4
|
* Fix the following -Werror warnings from clang 3.5.0, while buildingdim2014-11-221-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usr.sbin/rtadvd: usr.sbin/rtadvd/rtadvd.c:1291:7: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value] abs(preferred_time - pfx->pfx_pltimeexpire) > rai->rai_clockskew) { ^ usr.sbin/rtadvd/rtadvd.c:1291:7: note: remove the call to 'abs' since unsigned values cannot be negative abs(preferred_time - pfx->pfx_pltimeexpire) > rai->rai_clockskew) { ^~~ usr.sbin/rtadvd/rtadvd.c:1324:7: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value] abs(valid_time - pfx->pfx_vltimeexpire) > rai->rai_clockskew) { ^ usr.sbin/rtadvd/rtadvd.c:1324:7: note: remove the call to 'abs' since unsigned values cannot be negative abs(valid_time - pfx->pfx_vltimeexpire) > rai->rai_clockskew) { ^~~ 2 errors generated. These warnings occur because both preferred_time and pfx_pltimeexpire are uint32_t's, so the subtraction expression is also unsigned, and calling abs() is a no-op. However, the intention was to look at the absolute difference between the two unsigned quantities. Introduce a small static function to clarify what we're doing, and call that instead. Reviewed by: hrs MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D1197
* Lower warnings to fix build with gccbapt2014-11-221-0/+2
|
* Lower warning to allow building with gccbapt2014-11-221-0/+2
|
* Add the demandoc utility from the mandoc projectbapt2014-11-222-0/+11
| | | | | This is a modern version of the deroff utility, useful for example to do spellchecking on manpages
* Define LIBSQLITE3 and LIBMANDOCbapt2014-11-221-0/+8
|
* Add the preconv utility from mandoc projectbapt2014-11-222-0/+8
| | | | it recodes multibyte UNIX manual files into mandoc(1)
* Rework mandoc Makefile to ease maintainancebapt2014-11-222-5/+22
| | | | | Add compat_reallocarray into libmandoc given other mandoc components will use it.
* Rework makefile in something closer to upstream Makefile to ease maintainancebapt2014-11-221-5/+28
|
* There never was a PC Card joystick attachment that worked. Kill theimp2014-11-223-70/+1
| | | | current stub one until such time as one shows up.
* Add missing bits svn merge did not catchbapt2014-11-226-0/+1110
|
* Forgot to update libmandocbapt2014-11-221-6/+5
|
* Promote SQLite3 as a privatelib as it will also be used by mandocbapt2014-11-2214-47/+68
| | | | While here ensure sqlite3 is using pread(2) and enable the suppot for FTS4
* Update sqlite3 to 3.8.7.2bapt2014-11-226-4742/+9007
|
OpenPOWER on IntegriCloud