Commit Graph

194553 Commits

Author SHA1 Message Date
gjb
ba2f98e1a6 Fix wording from r260842.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-01-18 04:06:00 +00:00
gjb
0506af8909 Document a bsdconfig(8) compatibility nit with pkg(7) 1.2.x.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-01-18 04:03:05 +00:00
gjb
78cc26793a Document possible poor NFSv6 performance with bxe(4) when 'tso'
is enabled.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-01-18 03:44:43 +00:00
bryanv
c634686d69 MFC r260566: Remove incorrect bit shift when assigning the LUN request field 2014-01-18 03:33:01 +00:00
delphij
d51d93481f Document the killall(1) regression.
While I'm there also correct a typo.

Reviewed by:	gjb (earlier version), hrs
2014-01-17 21:37:55 +00:00
mckusick
ccb26f3b89 MFC of 260088:
Fine tune filesystem block allocations under low free-space
conditions (-r254995) based on further operational experience.

Submitted by:  Dmitry Sivachenko
Fix Tested by: Dmitry Sivachenko
2014-01-17 16:22:10 +00:00
mckusick
f241188281 MFC of 260079:
Properly handle unsigned comparison.
2014-01-17 16:17:07 +00:00
avg
c1dbdbde60 MFC r258622: dtrace sdt: remove the ugly sname parameter of SDT_PROBE_DEFINE 2014-01-17 10:58:59 +00:00
avg
c2040a08a9 MFC r258605: Convert over the TCP probes to use mtod()
MFC slacker:	adrian
2014-01-17 10:48:44 +00:00
avg
f481239dd3 MFC r257037: Redefine the io provider using the SDT(9) macros
MFC slacker:	markj
2014-01-17 10:34:01 +00:00
avg
cc2516d697 MFC r258744-258746: zfs: add zfs_freebsd_putpages 2014-01-16 18:15:59 +00:00
gjb
f05153a94a MFC r260772:
Update the pkg-stage target to be more compatible with pkg-1.2:

 - Add a release-dvd.conf pkg(8) configuration file to override
   the default FreeBSD.conf configuration.
 - Remove architecture-specific pkg-stage.conf files, consolidate,
   and move their contents to scripts/pkg-stage.sh.
 - Use 'pkg -vv' to determine the ABI, which is used as the
   cache directory.

  Prior to these changes, it would be possible for pkg-stage to fetch
  conflicting binary packages from multiple repositories.

Tested against:	head@r260522, stable/10@r260522

Sponsored by:	The FreeBSD Foundation
2014-01-16 16:44:23 +00:00
avg
5bc00a6112 MFC r259612: ttm_bo_vm_lookup_rb: actually make use of the red-black tree 2014-01-16 16:28:19 +00:00
avg
c80798a63f MFC r258720: MFV r258665: 4347 ZPL can use dmu_tx_assign(TXG_WAIT) 2014-01-16 16:15:38 +00:00
avg
f06ee197d0 MFC r258739: zfs mappedread_sf: assert that a page is never partially valid 2014-01-16 16:13:21 +00:00
avg
9446d15bf5 MFC r258634: MFV r258376: 3964 L2ARC should always compress metadata buffers 2014-01-16 16:07:59 +00:00
avg
926bf5d727 MFC r258633: MFV r255256: 3954 metaslabs continue to load even after
hitting zfs_mg_alloc_failure limit
2014-01-16 16:05:21 +00:00
avg
26096ba436 MFC r258632,258704: MFV r255255: 4045 zfs write throttle & i/o scheduler
performance work

Sponsored by:	HybridCluster [merge]
2014-01-16 15:57:39 +00:00
avg
81894fb568 MFC r258631: MFV r247578
3581 spa_zio_taskq[ZIO_TYPE_FREE][ZIO_TASKQ_ISSUE]->tq_lock is piping hot
2014-01-16 14:47:29 +00:00
avg
df666f4c3e MFC r258743: drop ZUT_OBJ 2014-01-16 14:37:31 +00:00
avg
a4ee4e9fb0 MFC r258630: 734 taskq_dispatch_prealloc() desired 2014-01-16 14:34:53 +00:00
avg
16f4d5cb30 MFC r258628: opensolaris taskq: some cosmetic changes 2014-01-16 14:30:26 +00:00
avg
564d281d6a MFC r258648: use saner calculations in should_yield 2014-01-16 14:27:20 +00:00
avg
0882f177bb MFC r258647: zfsboottest: properly specify a library dependency 2014-01-16 14:24:33 +00:00
avg
2a24dbf417 MFC r258638,258642: expose zfs_flags as debug.zfs_flags r/w tunable and sysctl
Sponsored by:	HybridCluster
2014-01-16 14:21:24 +00:00
avg
545049923a MFC r258352: fsx: add an option to randomly call msync(MS_INVALIDATE) 2014-01-16 14:17:31 +00:00
avg
96bc67ec2a MFC r258351: fsx: new option to disable msync(MS_SYNC) after each write 2014-01-16 14:14:49 +00:00
avg
903d9c4e01 MFC r258354: taskqueue_cancel: garbage collect a write-only variable 2014-01-16 14:11:45 +00:00
ae
7c65e72b87 MFC r260481:
Add MRT6_DLOG() macro for debugging.
  Reduce number of MRT6DEBUG ifdefs and fix some broken format strings.
2014-01-16 13:21:32 +00:00
hrs
2789cacd95 Document a Heimdal fix and interoperability. 2014-01-15 19:09:11 +00:00
hrs
08ad613a38 Document an issue of FreeBSD/i386 on VirtualBox.
Discussed with:	glebius and delphij
2014-01-15 18:48:34 +00:00
hrs
aadbdaff96 MFC of r260691:
- Fix indent.
 - Minor clean up after DB5 migration.
2014-01-15 17:51:49 +00:00
dteske
1f9d47c9f7 MFC r260261 (gavin):
Lower the priority of the "connect to any open wireless network" network
description, so guaranteeing that any other defined network will be tried
first.

MFC r260262 (gavin):
Allow bsdinstall to use WPA-Enterprise networks when installing.  This
only allows basic username/password config, and does not provide the
ability to set any of the other WPA options.  Regardless, this is
generally sufficient to associate.

Perhaps in the future this could allow full configuring (e.g. being able
to set "anonymous identity", and perhaps some of the more obscure WPA
options), though perhaps that will better belong in bsdconfig when that
grows wlan config ability.
2014-01-15 08:17:31 +00:00
dteske
b12b4da87e MFC r260260 (gavin): Remove what appears to be a stray debugging printf. 2014-01-15 08:12:19 +00:00
dteske
c7d6611e4d MFC r259686:
Move the installer's keymap solution introduced by SVN r259468. The new
location of /etc/rc.local on the install media is more appropriate as it
knows serial vs. non-serial and can also do the change earlier (so that
even the initial Install dialog can benefit from the change).

Discussed with:	nwhitehorn
2014-01-15 08:10:41 +00:00
dteske
75e3be07b8 MFC r257824,257826-257830,258411: Updates to sysrc(8)
257824: Fix a bug with `-d' form working as documented
257826: Add `--version' long option
257827: Add a `-c' option for `check only'
257828: Comments and whitespace
257829: Fix a bug with `-e' introduced by above 257828
257830: Document SYSRC_VERBOSE enviroment variable in the manual
258411: Revert the above 257830 (both merged to get .Dd bump in man-page)
2014-01-15 08:03:01 +00:00
dteske
a35804263c MFC r259054:
Performance and debugging enhancements:
+ Remove UNAME_P=$(...) from startup/misc -- already supplied by common.subr
+ Use f_getvar instead of $(eval echo \$$var) -- f_getvar is sub-shell free
+ Add `-e' and `-k var' options to f_eval_catch -- increasing use-cases
+ Use f_eval_catch to display errors on failure -- reducing duplicated code
+ Use f_eval_catch when we need output from a command -- improving debugging
+ Optimize f_isinter of strings.subr for performance -- now sub-shell free
+ Improve error checking on pidfiles -- using f_eval_catch and f_isinteger
+ Use $var_to_set arg of f_ifconfig_{inet,netmask} -- eliminate sub-shells
+ Use f_sprintf instead of $(printf ...) -- consolidate sub-shells
+ Use $var_to_set arg of f_route_get_default -- eliminate sub-shells
+ Add f_count to replace $(set -- ...;echo $#) -- eliminate sub-shells
+ Add f_count_ifs to replace $(IFS=x;set -- ...;echo $#) -- no sub-shells
+ Replace var="$var${var:+ }..." in loops with var="$var ..." with a follow-
  up var="${var# }" to trim leading whitespace -- optimize loops
+ Use $var_to_set arg of f_resolv_conf_nameservers -- eliminate sub-shells
+ Comments for the f_eval_catch function
+ Remove a duplicate `local ... desc ...' in f_device_get_all of device.subr
+ Use $var_to_set arg of f_device_capacity -- eliminate sub-shells
+ Whitespace fixes in f_dialog_init of dialog.subr
+ Optimize f_inet_atoi of media/tcpip.subr for performance -- sub-shell free
+ In several cases, send stderr to /dev/null -- clean up runtime execution
+ Change f_err of common.subr to go to program stderr not terminal stderr,
  allowing redirection of output from functions that use f_err
+ Disable debugging when using f_getvar to get variable argument to
  f_startup_rcconf_map_expand of startup/rcconf.subr
+ Use f_replace_all instead of $(echo ... | tr | sed) -- performance
+ Add a $var_to_set option to f_index_{file,menusel_{command,keyword}} of
  common.subr -- centralize sub-shells
2014-01-15 07:49:17 +00:00
dteske
44abef9537 MFC r258458:
Improve network device scanning in the netdev module. First, make it use the
`device.subr' framework (improving performane and reducing sub-shells). Next
improve the `device.subr' framework itself. Make use of the `flags' device
struct member for network interfaces to indicate if an interface is Active,
Wired Ethernet, or 802.11 Wireless. Functions have been added to make checks
against the `flags' bit-field quick and efficient. Last, add function for
rescanning the network to update the device registers. Remove an unnecessary
local (ifn) while we're here (use already provided local `if').
2014-01-15 07:42:31 +00:00
dteske
a623494f5e MFC r258355,258360,258400-258401,258406-258407,258418,258430,258439,258589-
258590,258592,258727-258728,258785, with the following descriptions:

Revisions 258400-258401,258406-258407,258590,258727-258728,258785:
+ Add a new `includes' module (see: bsdconfig includes -h) for exploring
  the bsdconfig(8) API

Remaining revisions:
258592: Sort all the messages.subr files
258355: Fix typo in a comment in networking/device.subr
258360: Whitespace, style, and other changes in networking/device.subr
258418: Quote interface names for good measure in networking/device.subr
258430: Remove an unused line in networking/device.subr
258439: Minor bugfix to f_die() function in common.subr
258589: Minor bugfix to syscons_ttys module
2014-01-15 07:36:34 +00:00
jhibbits
0920d1cd65 MFC r259284,r259287
Add PMU-based CPU frequency scalling.  This is used on most Titanium
PowerBooks.
2014-01-15 06:17:15 +00:00
jhibbits
876be05179 MFC r259082
Make some unsigned ints signed.

Found by:	clang (powerpc64)
2014-01-15 05:52:06 +00:00
jhibbits
18daeaf646 MFC r257941,r258119
Add the necessary bits for dumps on ppc64.
2014-01-15 05:41:28 +00:00
jhibbits
04f97f6231 MFC r258362
Use 'int' to store the return value of getopt(), rather than char.

On some architectures (powerpc), char is unsigned by default, which means
comparisons against -1 always fail, so the programs get stuck in an
infinite loop.
2014-01-15 05:30:05 +00:00
jhibbits
b1391adbae MFC r256543,r259245,r259421,r259668,r259674
r256543:

Add fasttrap for PowerPC.  This is the last piece of the DTrace/ppc puzzle.
It's incomplete, it doesn't contain full instruction emulation, but it should be
sufficient for most cases.

r259245,r259421: (FBT)

FBT now does work fully on PowerPC.

Save r3 before using it for the trap check, else we end up saving the new r3,
containing the trap instruction encoding (0x7c810808), and restoring it back
with the frame on return.  This caused it to panic on my ppc32 machine.

r259668,r259674:
Fix a typo in the FBT code.
2014-01-15 05:19:37 +00:00
jhibbits
44cab258a2 MFC r259394,r259395,r259699
r259394:
Rebase the PMC indices at 1, since PMC_SOFT is at 0.

r259395,r259699:
Add userland PMC backtracing, and use the PMC trapframe macros for kernel
backtraces.
2014-01-15 04:44:52 +00:00
jhibbits
541949d319 MFC r256542,r256581
Move the PMC handling to the first level interrupt handler where it belongs.
Also add the pmc_hook use, to handle callchain tracing.
2014-01-15 04:16:45 +00:00
hrs
95bb8ad4b6 Remove a non-applicable sentence. 2014-01-15 00:12:19 +00:00
hrs
21f388f6a6 Fix release numbers and branch names. 2014-01-15 00:11:09 +00:00
hrs
24a7dad85e - MFC 260653,260655:
* Purge old translations.
* Add missing footer due to DSSSL->XSLT migration and use XML catalog to
  resolve URI.
* Add missing arch= and revision= support.

- Update release.ent and fix release number in Errata.
2014-01-14 23:15:53 +00:00
delphij
c152bbe479 MFC r260637:
Disable 'monitor' feature in ntpd by default.

Security:	FreeBSD-SA-14:02.ntpd
Approved by:	so
2014-01-14 19:04:33 +00:00