]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
9 years agoMFC r267216
grehan [Sun, 17 Aug 2014 01:00:42 +0000 (01:00 +0000)]
MFC r267216
Add ioctl(VM_REINIT) to reinitialize the virtual machine state maintained
by vmm.ko. This allows the virtual machine to be restarted without having
to destroy it first.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270071 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266933
grehan [Sun, 17 Aug 2014 00:52:07 +0000 (00:52 +0000)]
MFC r266933
Activate vcpus from bhyve(8) using the ioctl VM_ACTIVATE_CPU instead of doing
it implicitly in vmm.ko.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270070 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r269771
rmacklem [Sat, 16 Aug 2014 21:36:22 +0000 (21:36 +0000)]
MFC: r269771
Change the NFS server's printf related to hitting
the DRC cache's flood level so that it suggests
increasing vfs.nfsd.tcphighwater.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270066 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264601,264646,265766,267918,267919,267920:
bz [Sat, 16 Aug 2014 14:30:46 +0000 (14:30 +0000)]
MFC r264601,264646,265766,267918,267919,267920:

 Merge if_nf10bmac(4), a driver to support an NetFPGA-10G Embedded
 CPU Ethernet Core.

 The current version operates on a simple PIO based interface connected
 to a NetFPGA-10G port.

 To avoid confusion: this driver operates on a CPU running on the FPGA,
 e.g. BERI/mips, and is not suited for the PCI host interface.

 Adjust the register layout to allow for 64bit registers in the
 future for nf10bmac(4).  Also, add support for and enable RX interrupts.

 Allow switching between 32bit and 64bit bus width data access at compile
 time by setting NF10BMAC_64BIT and using a REGWTYPE #define to set correct
 variable and return value widths.

 Adjust comments to indicate the 32 or 64bit register widths.

Relnotes: yes
Sponsored by: DARPA/AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@270061 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r263632:
bz [Sat, 16 Aug 2014 14:21:03 +0000 (14:21 +0000)]
MFC r263632:

 For BERI on NetFPGA assume HZ=100 by default.

 Remove the uart support in favour of a "jtag-uart" interface imitation
 providing a much simpler interface, directly exported to the host,
 allowing the toolchain to be shared with BERI on Altera. [1]

 Submitted by: Jong Hun HAN (jong.han cl.cam.ac.uk) [1]
Sponsored by: DARPA/AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@270060 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264542:
bz [Sat, 16 Aug 2014 14:17:09 +0000 (14:17 +0000)]
MFC r264542:

 Use ETHER_ALIGN as argument to m_adj() to offset the beginning of packet
 rather than the magic number 2.

 While here fix a typo in a comment.

 No functional changes.

Sponsored by: DARPA/AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@270059 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264605:
bz [Sat, 16 Aug 2014 14:14:29 +0000 (14:14 +0000)]
MFC r264605:

 Based on xlp_machdep.c and completed the list of options based on
 boot/mips/beri/loader/metadata.c allow FDT configuration to set
 command line options.
 This leads to an interesting quesiton of future interactions with loader.
 However for configurations without loader this allows bootverbose or boot
 single user to be set by compiling a new kernel, which is good enough for
 testing and debugging.

 Reviewed by: rwatson
Sponsored by: DARPA/AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@270058 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266907:
bz [Sat, 16 Aug 2014 14:09:26 +0000 (14:09 +0000)]
MFC r266907:

 While PAWS is disabled, there are no consumers for the tcp options
 argument to tcp_twcheck();  thus mark it __unused.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270057 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266620:
bz [Sat, 16 Aug 2014 14:05:31 +0000 (14:05 +0000)]
MFC r266620:

 Remove the prototpye for the static inline function
 tcp_signature_verify_input().
 The function is defined before first use already.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270056 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266619:
bz [Sat, 16 Aug 2014 14:03:00 +0000 (14:03 +0000)]
MFC r266619:

 syncache_lookup() is a file local function.  Make it static and
 take it out of the public KPI; seems it was never used elsewhere.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270055 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266618:
bz [Sat, 16 Aug 2014 13:58:45 +0000 (13:58 +0000)]
MFC r266618:

 Make tcp_twrespond() file local private;  this removes it from the
 public KPI; it is not used anywhere else and seems it never was.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270054 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266606:
bz [Sat, 16 Aug 2014 13:55:44 +0000 (13:55 +0000)]
MFC r266606:

 Only do a ports check if this is a NAT-T SA.  Otherwise other
 lookups providing ports may get unexpected results.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270053 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266597:
bz [Sat, 16 Aug 2014 13:53:05 +0000 (13:53 +0000)]
MFC r266597:

 Remove the prototypes for things that are no longer file local but were
 moved to the header file.

 Was suppoed to be MFCed with: r266596
 Pointy hat to: bz

git-svn-id: svn://svn.freebsd.org/base/stable/10@270052 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266596:
bz [Sat, 16 Aug 2014 13:50:15 +0000 (13:50 +0000)]
MFC r266596:

 Move the tcp_fields_to_host() and tcp_fields_to_net() (inline)
 functions to the tcp_var.h header file in order to avoid further
 duplication with upcoming commits.

 Reviewed by: np

git-svn-id: svn://svn.freebsd.org/base/stable/10@270051 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264539:
bz [Sat, 16 Aug 2014 13:47:04 +0000 (13:47 +0000)]
MFC r264539:

 When switching variables to flags in r243185 a few cases were missed.
 After r263152 (in head) this leaves unused variables if route(8) is
 compiled without INET support.
 Switch the remaining variable accesses to flags and remove now obsolete
 variables.

 Reviewed by: glebius

git-svn-id: svn://svn.freebsd.org/base/stable/10@270050 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261525:
bz [Sat, 16 Aug 2014 13:25:49 +0000 (13:25 +0000)]
MFC r261525:

 Print the MD5 signature information introduced in r221023 (head) in the
 TCP statistics output.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270049 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r259886:
bz [Sat, 16 Aug 2014 13:23:23 +0000 (13:23 +0000)]
MFC r259886:

 Bite the bullet and start removing the first compile time warnings
 by removing unsued file local functions and then unused callees.
 A lot more warnings to resolve but someone had to break the ice.

 X-Comment: I am not the new maintainer; chime in, it's ours.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270048 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r259916:
bz [Sat, 16 Aug 2014 13:20:44 +0000 (13:20 +0000)]
MFC r259916:

 Use feature_present(3) to determine whether to open an INET or an
 INET6 socket when needed to allow pfctl to work on noinet and noinet6
 kernels (and try to provide a fallback using AF_LINK as best effort).
 Adjust the Makefile to also respect relevant src.conf(5) options
 for compile time decisions on INET and INET6 support.

 Reviewed by: glebius (no objections)

git-svn-id: svn://svn.freebsd.org/base/stable/10@270047 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r259885:
bz [Sat, 16 Aug 2014 13:11:59 +0000 (13:11 +0000)]
MFC r259885:

 As constantly reported during kernel compilation, m_buflen is unsigned so
 can never be < 0.  Remove the expression, which can never be true.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270045 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r259884:
bz [Sat, 16 Aug 2014 13:09:40 +0000 (13:09 +0000)]
MFC r259884:

 Correct warnings comparing unsigned variables < 0 constantly reported
 while building kernels.  All instances removed are indeed unsigned so
 the expressions could not be true.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270044 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269583:
bz [Sat, 16 Aug 2014 13:06:11 +0000 (13:06 +0000)]
MFC r269583:

 Provide -o vers= support for mount_nfs.

 Our mount_nfs does use -o nfsv<2|3|4> or -2 or -3 to specify the version.
 OSX (these days), Solaris, and Linux use -o vers=<2,3,4>.

 With the upcoming autofs support we can make a lot of (entrerprisy) setups
 getting mount options from LDAP just work by providing -o vers= compatibility.

 Reviewed by: wblock, bjk (man page), rmacklem, emaste
 Sponsored by: DARPA,AFRL
PR: 192379

git-svn-id: svn://svn.freebsd.org/base/stable/10@270043 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269669:
bz [Sat, 16 Aug 2014 12:59:47 +0000 (12:59 +0000)]
MFC r269669:

 Split up sys_ktimer_getoverrun() into a sys_ and a kern_ variant
 and export the kern_ version needed by an upcoming linuxolator change.

 Sponsored by: DARPA,AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@270042 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269909:
kib [Sat, 16 Aug 2014 08:38:53 +0000 (08:38 +0000)]
MFC r269909:
Add a knob LIBPTHREAD_BIGSTACK_MAIN, which instructs libthr to leave
the whole RLIMIT_STACK-sized region of the kernel-allocated stack as
the stack of main thread.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270040 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269908:
kib [Sat, 16 Aug 2014 08:37:13 +0000 (08:37 +0000)]
MFC r269908:
Style.

git-svn-id: svn://svn.freebsd.org/base/stable/10@270039 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r268924:
pfg [Sat, 16 Aug 2014 01:29:49 +0000 (01:29 +0000)]
MFC r268924:
Update fflush(3) to return success on a read-only stream.

This is done for compliance with SUSv3. The changes cause
no secondary effects in the gnulib tests (we pass them).

Obtained from: Apple Inc. (Libc 997.90.3 with changes)
Reviewed by: bde
Phabric: D440

git-svn-id: svn://svn.freebsd.org/base/stable/10@270035 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269953:
pfg [Sat, 16 Aug 2014 01:06:23 +0000 (01:06 +0000)]
MFC r269953:
Use "NO NAME" as the default unnamed label.

Microsoft recommends avoiding the use of spaces in the
string structures for FAT. Unfortunately they do just
that by default in the case of unlabeled filesystems.

Follow the default MS behavior to avoid confusion in
common tools like file(1). This was actually the
default behavior before r203868.

Obtained from: NetBSD (CVS rev. 1.39)

git-svn-id: svn://svn.freebsd.org/base/stable/10@270034 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269901:
pfg [Sat, 16 Aug 2014 01:03:51 +0000 (01:03 +0000)]
MFC r269901:
Minor style tweaks.

Obtained from: OpenBSD (CVS rev. 1.7)

git-svn-id: svn://svn.freebsd.org/base/stable/10@270033 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269695:
pfg [Sat, 16 Aug 2014 01:00:37 +0000 (01:00 +0000)]
MFC r269695:
Const-ify character string

Obtained from:  Apple Inc. (Libc 997.90.3)
MFC after: 3 days

git-svn-id: svn://svn.freebsd.org/base/stable/10@270032 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269015:
pfg [Sat, 16 Aug 2014 00:54:56 +0000 (00:54 +0000)]
MFC r269015:
fparseln(3): Update from NetBSD sources.

-fix a condition so that fparseln() doesn't report spurious empty lines
 eg after 2 comment lines, or on EOF after a single comment line
-no escape character means no escaped characters

modify the previous fix so that no pointless realloc()s are done in
the case of multiple empty continuation lines, and comment the code
to make the logics obvious.

fparseln is now part of libc in NetBSD so this changes the previous
revision numbering.

Obtained from: NetBSD (CVS Rev. 1.6-1.7)

git-svn-id: svn://svn.freebsd.org/base/stable/10@270031 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267875:
pfg [Sat, 16 Aug 2014 00:52:13 +0000 (00:52 +0000)]
MFC r267875:

4251 libdtrace leaks open file handles

Illumos commit: 93ed8d0d4b068b95d0bb50d57bb854df462a8485
(partial)
Reference:
https://www.illumos.org/issues/4251

Discussed with: Robert Mustacchi
Obtained from: Illumos

git-svn-id: svn://svn.freebsd.org/base/stable/10@270030 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r259088: Vendor import nvi-2.1.2-c80f493b038 a multikey mapping fix
emaste [Fri, 15 Aug 2014 19:06:59 +0000 (19:06 +0000)]
MFC r259088: Vendor import nvi-2.1.2-c80f493b038 a multikey mapping fix

PR: bin/182463

git-svn-id: svn://svn.freebsd.org/base/stable/10@270026 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269888:
gjb [Fri, 15 Aug 2014 03:52:40 +0000 (03:52 +0000)]
MFC r269888:
  Fix a typo in a comment: s/interprete/interpret/

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@270009 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC of 269674:
mckusick [Thu, 14 Aug 2014 23:38:04 +0000 (23:38 +0000)]
MFC of 269674:

The journal is only prepared to handle full-size block numbers, so we
have to adjust freeblk records to reflect the change to a full-size block.
For example, suppose we have a block made up of fragments 8-15 and
want to free its last two fragments. We are given a request that says:
    FREEBLK ino=5, blkno=14, lbn=0, frags=2, oldfrags=0
where frags are the number of frags to free and oldfrags are the number
of fragments to keep. To block align it, we have to change it to have a
valid full-size blkno, so it becomes:
    FREEBLK ino=5, blkno=8, lbn=0, frags=2, oldfrags=6

Submitted by: Mikihito Takehara
Tested by:    Mikihito Takehara
Reviewed by:  Jeff Roberson

git-svn-id: svn://svn.freebsd.org/base/stable/10@270007 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 268531,269079,269204:
jhb [Thu, 14 Aug 2014 20:20:21 +0000 (20:20 +0000)]
MFC 268531,269079,269204:
Fix various edge cases with rewinddir(), seekdir(), and telldir():
- In the unionfs case, opendir() and fdopendir() read the directory's full
  contents and cache it.  This cache is not refreshed when rewinddir() is
  called, so rewinddir() will not notice updates to a directory.  Fix this
  by splitting the code to fetch a directory's contents out of
  __opendir_common() into a new _filldir() function and call this from
  rewinddir() when operating on a unionfs directory.
- If rewinddir() is called on a directory opened with fdopendir() before
  any directory entries are fetched, rewinddir() will not adjust the seek
  location of the backing file descriptor.  If the file descriptor passed
  to fdopendir() had a non-zero offset, the rewinddir() will not rewind to
  the beginning.  Fix this by always seeking back to 0 in rewinddir().
  This means the dd_rewind hack can also be removed.
- Add missing locking to rewinddir()
- POSIX says that passing a location returned by telldir() to seekdir()
  after an intervening call to rewinddir() is undefined, so reclaim any
  pending telldir() cookies in the directory when rewinddir() is called.
- If telldir() is called immediately after a call to seekdir(), POSIX
  requires the return value of telldir() to equal the value passed to
  seekdir().  The current seekdir code with SINGLEUSE enabled breaks
  this case as each call to telldir() allocates a new cookie.  Instead,
  remove the SINGLEUSE code and change telldir() to look for an existing
  cookie for the directory's current location rather than always creating
  a new cookie.

PR: 121656

git-svn-id: svn://svn.freebsd.org/base/stable/10@270002 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257877:
markj [Thu, 14 Aug 2014 16:45:01 +0000 (16:45 +0000)]
MFC r257877:
Don't try to use the 32-bit drti.o unless the data model is explicitly set
to ILP32. Otherwise dtrace -G will attempt to use it on amd64 if it can't
determine which data model to use, which happens when -64 is omitted and
no object files are provided, e.g. with

# dtrace -G -n BEGIN

This would result in a linker error, but now works properly.

Also remove an unnecessary #ifdef.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMake the ixgbe tunables now match their sysctl counterparts.
smh [Thu, 14 Aug 2014 14:07:05 +0000 (14:07 +0000)]
Make the ixgbe tunables now match their sysctl counterparts.

Previously the tunables and sysctls had different names for example:
hw.ixgbe.enable_aim => hw.ix.enable_aim

Anyone using ixgbe tunables should ensure they update /boot/loader.conf.

This is a direct commit to stable as the changes to sysctls in head
already fix this issue in a different way.

Sponsored by: Multiplay

git-svn-id: svn://svn.freebsd.org/base/stable/10@269975 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r266206 from head (by bjk):
gavin [Thu, 14 Aug 2014 12:50:25 +0000 (12:50 +0000)]
Merge r266206 from head (by bjk):

  Review pass through jail.8

  Replace usage of "prison" with "jail", since that term has mostly dropped
  out of use.  Note once at the beginning that the "prison" term is equivalent,
  but do not use it otherwise. [1]

  Some grammar issues.

  Some mdoc formatting fixes.

  Consistently use \(em for em dashes, with spaces around it.

  Avoid contractions.

  Prefer ssh to telnet.

PR: 176832 [1]

git-svn-id: svn://svn.freebsd.org/base/stable/10@269970 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267615:
trasz [Thu, 14 Aug 2014 12:33:24 +0000 (12:33 +0000)]
MFC r267615:

Rename a variable; no functional changes.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@269969 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267614:
trasz [Thu, 14 Aug 2014 12:31:18 +0000 (12:31 +0000)]
MFC r267614:

Add "iscsictl -M", which allows one to change session parameters
without removing it and adding back.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@269968 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269662:
roberto [Thu, 14 Aug 2014 12:16:03 +0000 (12:16 +0000)]
MFC r269662:

10 has a new flex (2.5.37) and the config.h for unbound has been updated to
take this into account. Alas it breaks source upgrade from any version of
9 because flex is not built as a bootstrap-tools (it would be for older
versions).

That means "libunbound/configlexer.c" is built with the old flex but using
config.h for the new one. Build is thus broken going from 9.* to 10.

Make flex a bootstrap-tools entry if host is less than 1000033 to take into
account the flex update in 10.

Tested on both 9.2-RC3 and 9.3 by myself and dim@. Running buildworld in
head but as both 10 and 11 has the new flex, it will not matter.

Reviewed by:    imp
Approved by:    des, imp
MFC after:      1 week
Phabric:        D554

git-svn-id: svn://svn.freebsd.org/base/stable/10@269967 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoAdd a header to the entries for the removal of csup example files.
gavin [Wed, 13 Aug 2014 22:34:14 +0000 (22:34 +0000)]
Add a header to the entries for the removal of csup example files.

This is a direct commit to 10, as the equivelent commit to head included
other changes that will not be merged to stable branches.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269955 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r268300 r268541 r268544 r268565 r269775 r269838 r269839 r269840
rpaulo [Wed, 13 Aug 2014 16:11:57 +0000 (16:11 +0000)]
MFC  r268300 r268541 r268544 r268565 r269775 r269838 r269839 r269840
     r269842 r269844 r269899:

BSD make support for generating and compiling USDT DTrace probes.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269946 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269306:
ae [Wed, 13 Aug 2014 15:48:10 +0000 (15:48 +0000)]
MFC r269306:
  Add new rule to source address selection algorithm. It prefers address
  with better virtual status. Use ifa_preferred() to choose better address.

PR: 187341

git-svn-id: svn://svn.freebsd.org/base/stable/10@269944 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r267859 (by bapt), r268998 from head:
gavin [Wed, 13 Aug 2014 12:55:44 +0000 (12:55 +0000)]
Merge r267859 (by bapt), r268998 from head:

o Mark send-pr info page as an obsolete file

o /usr/bin/sendbug and the sendbug(1) man page were part of send-pr and
  are no longer installed since r267486 (r267734 in stable/10).  Add them
  to ObsoleteFiles.inc1, which should have been done in r267486.

PR: 192010 (partial)
Submitted by: Vick Khera (partial)

git-svn-id: svn://svn.freebsd.org/base/stable/10@269940 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r268842 from head:
gavin [Wed, 13 Aug 2014 12:47:51 +0000 (12:47 +0000)]
Merge r268842 from head:

  Fix two typos in iscsictl.8

PR: 191581
Submitted by: Jimmy Olgeni

git-svn-id: svn://svn.freebsd.org/base/stable/10@269939 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r268728 from head:
gavin [Wed, 13 Aug 2014 12:44:44 +0000 (12:44 +0000)]
Merge r268728 from head:

  When we fail to extract the pkg binaries (for example, / is read-only),
  give a more helpful error message.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269937 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r268725 from head:
gavin [Wed, 13 Aug 2014 12:41:31 +0000 (12:41 +0000)]
Merge r268725 from head:

  Since r202933, kthread_suspend_check() takes no arguments.  Update the
  example to match.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269935 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r268637 from head:
gavin [Wed, 13 Aug 2014 12:36:59 +0000 (12:36 +0000)]
Merge r268637 from head:

  fortune(8): Search fortune files installed by ports/packages as well as
  those supplied by the base system.

PR: 191800
Submitted by: Andy Kosela

git-svn-id: svn://svn.freebsd.org/base/stable/10@269933 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r268488 from head:
gavin [Wed, 13 Aug 2014 12:35:11 +0000 (12:35 +0000)]
Merge r268488 from head:

  Reword an awkward option description

PR: 191726
Submitted by: yaneurabeya gmail.com

git-svn-id: svn://svn.freebsd.org/base/stable/10@269929 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r267867 from head:
gavin [Wed, 13 Aug 2014 12:32:52 +0000 (12:32 +0000)]
Merge r267867 from head:

  Remove example cvsup config files.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269928 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269197:
trasz [Wed, 13 Aug 2014 11:11:27 +0000 (11:11 +0000)]
MFC r269197:

Fix potential double free that could happen after connection error.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269925 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269567:
hselasky [Wed, 13 Aug 2014 08:21:52 +0000 (08:21 +0000)]
MFC r269567:
Add new USB phone descriptor template for USB device side mode.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269922 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266396 and r267183:
hselasky [Wed, 13 Aug 2014 08:18:49 +0000 (08:18 +0000)]
MFC r266396 and r267183:
Build fixes. Add support for fast interrupts.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269921 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269565:
hselasky [Wed, 13 Aug 2014 07:13:42 +0000 (07:13 +0000)]
MFC r269565:
Rename driver name a bit to avoid unit number confusion in dmesg.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269920 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269566:
hselasky [Wed, 13 Aug 2014 07:02:23 +0000 (07:02 +0000)]
MFC r269566:
Fix for deadlock in USB device side mode.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269917 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269604:
hselasky [Wed, 13 Aug 2014 06:59:40 +0000 (06:59 +0000)]
MFC r269604:
- Implement fast interrupt handler to save CPU usage.
- Cleanup some register reads and writes to use existing register
  access macros.
- Ensure code which only applies to the control endpoint is not run
  for other endpoints in the data transfer path.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269916 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269643:
kib [Wed, 13 Aug 2014 06:58:42 +0000 (06:58 +0000)]
MFC r269643:
Weaken the requirement for the vm object lock by only asserting locked
object in vm_pager_page_unswapped(), instead of locked exclusively.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269915 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269642:
kib [Wed, 13 Aug 2014 06:55:30 +0000 (06:55 +0000)]
MFC r269642:
Add wrappers to assert that vm object is unlocked and for try upgrade.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269914 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269744
rpaulo [Wed, 13 Aug 2014 06:45:02 +0000 (06:45 +0000)]
MFC r269744
 Run dtrace in 32-bit mode when compiling 32-bit libraries.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269913 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269776
rpaulo [Wed, 13 Aug 2014 06:41:06 +0000 (06:41 +0000)]
MFC r269776
 Remove the BROKEN_LIBELF section.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269912 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 269745: Create a redundant grain directory and table.
marcel [Wed, 13 Aug 2014 01:43:38 +0000 (01:43 +0000)]
MFC 269745: Create a redundant grain directory and table.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269900 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269750:
dim [Tue, 12 Aug 2014 17:56:48 +0000 (17:56 +0000)]
MFC r269750:

In r268463, I misplaced a return in demangle(), causing the function to
erroneously skip symbols that were not mangled at all.  Fix this by
moving the return into the preceding if block.

While here, simplify the code by letting __cxa_demangle() allocate the
needed space for the demangled symbol.  This also fixes a memory leak,
which would occur whenever __cxa_demangle() failed.

Reported by: pgj
PR: base/191981

git-svn-id: svn://svn.freebsd.org/base/stable/10@269885 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC cleanup of libusb20 example
emaste [Tue, 12 Aug 2014 14:53:02 +0000 (14:53 +0000)]
MFC cleanup of libusb20 example

r257779 by hselasky:

  - Use libusb20_strerror() function instead of custom usb_error() one.
  - Rename "aux.[ch]" to "util.[ch]" which is a more common name for
  utility functions and allows checkout on some non-FreeBSD systems
  where the "aux.*" namespace is reserved.
  - Fix some compile warnings while at it.

r257796 by glebius:

  Finish r257779.

PR: 183728

git-svn-id: svn://svn.freebsd.org/base/stable/10@269879 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r257594:
hselasky [Tue, 12 Aug 2014 12:22:39 +0000 (12:22 +0000)]
MFC r257594:
Add description of two EHCI PCI IDs.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269864 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r268316:
hselasky [Tue, 12 Aug 2014 12:10:29 +0000 (12:10 +0000)]
MFC r268316:
Fix OFED startup order: All SYSINIT()'s and modules should be loaded
prior to starting "/sbin/init" which will run all the "/etc/rc.d/xxx"
scripts. Else there can be a race configuring the interfaces via
"/etc/rc.conf".

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@269862 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r268315:
hselasky [Tue, 12 Aug 2014 12:07:57 +0000 (12:07 +0000)]
MFC r268315:
Fix compile warning.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@269861 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r268314:
hselasky [Tue, 12 Aug 2014 12:06:21 +0000 (12:06 +0000)]
MFC r268314:
Fix some compile warnings.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@269860 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266728,266731,266735,266736,268135,268960,269833
peter [Tue, 12 Aug 2014 01:40:11 +0000 (01:40 +0000)]
MFC r266728,266731,266735,266736,268135,268960,269833
 Update apr 1.4.8 -> 1.5.1
 Update apr-util 1.5.2 -> 1.5.3
 Update serf 1.3.4 -> 1.3.7
 Update svnlite 1.8.8 -> 1.8.10
 Deal with svnlite.1 manpage.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269847 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269230: MFV r269224:
delphij [Tue, 12 Aug 2014 00:59:19 +0000 (00:59 +0000)]
MFC r269230: MFV r269224:

Increase default ARC buf_hash_table size.  When typical block size is small,
the hash table could be too small, which would lead to long hash chains and
limit performance for cached reads.

A new loader tunable, vfs.zfs.arc_average_blocksize, have been added which
allows users to override the default assumption of average (typical) block
size.  Old default was 65536 (64 KiB) and new default is 8192 (8 KiB).

Illumos issue:
    5034 ARC's buf_hash_table is too small

git-svn-id: svn://svn.freebsd.org/base/stable/10@269846 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269229,269404,269466: MFV r269223:
delphij [Tue, 12 Aug 2014 00:53:03 +0000 (00:53 +0000)]
MFC r269229,269404,269466: MFV r269223:

Change dn->dn_dbufs from linked list to AVL tree.

Illumos issues:
  4873 zvol unmap calls can take a very long time for larger datasets

git-svn-id: svn://svn.freebsd.org/base/stable/10@269845 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269302:
jlh [Mon, 11 Aug 2014 20:38:52 +0000 (20:38 +0000)]
MFC r269302:

  Fix relative numerical addressing (addr,+N).

  As a bonus the patch untangles a bit the logic and makes the code
  easier to grasp.

  PR:           192108

git-svn-id: svn://svn.freebsd.org/base/stable/10@269837 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269740:
dim [Mon, 11 Aug 2014 20:37:03 +0000 (20:37 +0000)]
MFC r269740:

Pull in r214736 from upstream libc++ trunk (by Marshall Clow):

  Fix PR#20520 - predicate called too many times in list::remove_if.
  Add tests for list, forward_list, and the std::remove_if algorithm

This fixes an issue where std::list<>::remove_if() and remove() could
erroneously visit elements twice.

Reported by: Dominic Fandrey <kamikaze@bsdforen.de>
PR: 192303

git-svn-id: svn://svn.freebsd.org/base/stable/10@269836 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: Merge in the changes in -current:
imp [Mon, 11 Aug 2014 18:42:20 +0000 (18:42 +0000)]
MFC: Merge in the changes in -current:

Support ! operator in "files" files.
Improve error detection and reporting
Cleanup code to make it easier to maintain.
Remove mandatory keyword: it has been used for 17 years.
Bump version number (we should have bumped for -I too, but didn't)

r261501 | imp | 2014-02-04 17:26:11 -0700 (Tue, 04 Feb 2014) | 5 lines
Fix ! by not clearing not at the bottom of the loop.
Add a blank line
Submitted by:   bde (blank line)

r261493 | imp | 2014-02-04 11:28:58 -0700 (Tue, 04 Feb 2014) | 5 lines
Implement the '!' operator for files* files. It means 'include this
only if the specified option is NOT specified.' Bump version because
old config won't be able to cope with files* files that have this
construct in them.

r261446 | imp | 2014-02-03 12:14:36 -0700 (Mon, 03 Feb 2014) | 5 lines
Convert the loop by gotos into a for loop to improve readability. I
did this only with the inner loop for the token parsing, and not the
outer loop which was understandable enough when the extra layers of
looping went away...

r261445 | imp | 2014-02-03 12:10:33 -0700 (Mon, 03 Feb 2014) | 4 lines
Fix a bug introduced in r261437 that failed to honor "optional
profiling-routine" to work, since profiling-routine is not really an
option or a device, but a special case elsewhere in the code.

r261444 | imp | 2014-02-03 11:56:41 -0700 (Mon, 03 Feb 2014) | 2 lines
Slight cleanup to the error messaging to compress code vertically...

r261442 | imp | 2014-02-03 11:31:51 -0700 (Mon, 03 Feb 2014) | 2 lines
Better error messages when EOF is hit in the middle of a phrase.

r261438 | imp | 2014-02-03 09:54:53 -0700 (Mon, 03 Feb 2014) | 5 lines
Move the check for standard keyword + optional inclusion specifier to
its proper location. Otherwise you could have 'file.c standard pci'
without an error. This construct isn't in our tree, and has no well
defined meaning.

r261437 | imp | 2014-02-03 09:47:10 -0700 (Mon, 03 Feb 2014) | 4 lines
Don't believe we have a requirement until after we've checked all the
known key words. This will make error messages slightly better in
weird corner cases, but should otherwise be a nop.

r261436 | imp | 2014-02-03 09:46:01 -0700 (Mon, 03 Feb 2014) | 3 lines
In the 17 years since r30796, the mandatory keyword has never been used
in any files as far as I can tell, and is currently unused. Retire it.

r261435 | imp | 2014-02-03 08:10:44 -0700 (Mon, 03 Feb 2014) | 6 lines
Slightly deobfuscate read_file() and likely pessimize the runtime
performance by epsilon.
(Translation: elminate bogus macros that hid 'returns' making it hard
 to read and moved a block of code inline rather than at the end of the
 fuction where it was effectively a 'gosub' kind of goto).

git-svn-id: svn://svn.freebsd.org/base/stable/10@269825 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269522
smh [Mon, 11 Aug 2014 08:58:35 +0000 (08:58 +0000)]
MFC r269522

Added support for extra ifconfig args to jail ip4.addr & ip6.addr params

This allows for CARP interfaces to be  used in jails e.g.
ip4.addr = "em0|10.10.1.20/32 vhid 1 pass MyPass advskew 100"

r269340 will not be MFC'ed as mentioned due to the slim window and the
amount of additional commits required to support it.

Sponsored by: Multiplay

git-svn-id: svn://svn.freebsd.org/base/stable/10@269805 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269180:
delphij [Mon, 11 Aug 2014 06:54:07 +0000 (06:54 +0000)]
MFC r269180:

When interval is set to very small value with limited amount of packets,
ping6(8) would quit before the remote side gets a chance to respond.

Solve this by resetting the itimer when we have reached the maximum packet
number have reached, but let the other handling to continue.

PR: bin/151023
Submitted by: tjmao at tjmao.net

git-svn-id: svn://svn.freebsd.org/base/stable/10@269800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269403, r269405, r269410, r269414:
ian [Mon, 11 Aug 2014 02:20:24 +0000 (02:20 +0000)]
MFC r269403, r269405, r269410, r269414:

  Add 64-bit atomic ops for armv6, and also for armv4 only in kernel code.
  Use the new ops in the cddl code (and avoid defining functions with the
  same names locally).

git-svn-id: svn://svn.freebsd.org/base/stable/10@269798 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269393, r269394, r269395:
ian [Mon, 11 Aug 2014 01:48:00 +0000 (01:48 +0000)]
MFC r269393, r269394, r269395:

  Fix parsing of arch extensions in binutils/gas.
  Use ".arch_extension sec" when compiling ARM TI code that uses the
  security extensions.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269797 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269390: Fix unwind info in hand-written asm (avoid nested functions).
ian [Mon, 11 Aug 2014 01:29:28 +0000 (01:29 +0000)]
MFC r269390: Fix unwind info in hand-written asm (avoid nested functions).

git-svn-id: svn://svn.freebsd.org/base/stable/10@269796 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269341: Populate disk->d_ident with the sd or mmc card's serial number.
ian [Mon, 11 Aug 2014 01:22:10 +0000 (01:22 +0000)]
MFC r269341: Populate disk->d_ident with the sd or mmc card's serial number.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269795 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269206, r269207, r269208, r269209, r269210, r269211, r269212, r269213,
ian [Mon, 11 Aug 2014 01:10:15 +0000 (01:10 +0000)]
MFC r269206, r269207, r269208, r269209, r269210, r269211, r269212, r269213,
    r269214, r269215, r269216, r269217, r269221:

  busdma-v6 improvements, primarily:
  - Allocate the temporary segments array per-map rather than per-tag.
  - Avoid needlessly bouncing IO for mbufs and buffers allocated by
    bus_dmamem_alloc() (in both situations we known they're allocated
    on cacheline boundaries and don't need bouncing).
  - Various minor reformatting and cleanups.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269794 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r268993, r268893, r268994, plus partial r264070, r264082
ian [Sun, 10 Aug 2014 22:26:29 +0000 (22:26 +0000)]
MFC r268993, r268893, r268994, plus partial r264070, r264082

 Fix C++ exception handling for ARM EABI.

 Just the part of r264070 that creates the FBSD_1.4 namespace in libc
 is hand-applied, and then r264082 which creates the Versions.def entry
 is MFC'd.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269792 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r268954
sbruno [Sun, 10 Aug 2014 21:45:58 +0000 (21:45 +0000)]
MFC r268954

Merge change from upstream linux kernel submitted by OpenBSD:

drm/radeon: fix-up some float to fixed conversion thinkos

Remove #ifdef DUMBBELL_WIP in favor of upstream fix.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269790 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269138:
delphij [Sun, 10 Aug 2014 06:10:21 +0000 (06:10 +0000)]
MFC r269138:

Add two sysctls for newly added tunables.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269774 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269118: MFV r269010:
delphij [Sun, 10 Aug 2014 05:58:41 +0000 (05:58 +0000)]
MFC r269118: MFV r269010:

Import Illumos changes to address the following Illumos issues:
  4976 zfs should only avoid writing to a failing non-redundant
       top-level vdev
  4978 ztest fails in get_metaslab_refcount()
  4979 extend free space histogram to device and pool
  4980 metaslabs should have a fragmentation metric
  4981 remove fragmented ops vector from block allocator
  4982 space_map object should proactively upgrade when feature
       is enabled
  4984 device selection should use fragmentation metric

git-svn-id: svn://svn.freebsd.org/base/stable/10@269773 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r259211:
markj [Sat, 9 Aug 2014 15:03:47 +0000 (15:03 +0000)]
MFC r259211:
Correct the check for errors from proc_rwmem().

git-svn-id: svn://svn.freebsd.org/base/stable/10@269756 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265308:
markj [Sat, 9 Aug 2014 15:00:03 +0000 (15:00 +0000)]
MFC r265308:
If the traced process stops because it received a signal, libproc needs
to ensure that the signal is forwarded when proc_continue() is called.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269754 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266826, r266827
markj [Sat, 9 Aug 2014 14:05:01 +0000 (14:05 +0000)]
MFC r266826, r266827
Move some duplicated hook definitions from machine-dependent files to
kern_dtrace.c.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269752 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269408, r269409:
rpaulo [Fri, 8 Aug 2014 22:08:51 +0000 (22:08 +0000)]
MFC r269408, r269409:

shm_open()/shm_unlink() ktrace support.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269742 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269098:
delphij [Fri, 8 Aug 2014 19:39:40 +0000 (19:39 +0000)]
MFC r269098:

Use the right lengths.

Submitted by: Sascha Wildner

git-svn-id: svn://svn.freebsd.org/base/stable/10@269738 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269097:
delphij [Fri, 8 Aug 2014 19:36:40 +0000 (19:36 +0000)]
MFC r269097:

Use the right length.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269737 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269100:
delphij [Fri, 8 Aug 2014 19:14:49 +0000 (19:14 +0000)]
MFC r269100:

Diff reduction against Illumos.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269736 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r268621 (smh) + r268625:
delphij [Fri, 8 Aug 2014 19:11:23 +0000 (19:11 +0000)]
MFC r268621 (smh) + r268625:

Don't report non-native block-size pools under zpool status -x

zpool status -x is used to identify pools that are exhibiting
errors or are otherwise unavailable, therefore non-native
block-size pools shouldn't be reported.

Also update man page to clarify other additional conditions
which won't cause a pool to be displayed under zpool status -x.

Sponsored by:   Multiplay

git-svn-id: svn://svn.freebsd.org/base/stable/10@269735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC the cddl/contrib/opensolaris/cmd/zpool portion of r267803 (joel):
delphij [Fri, 8 Aug 2014 19:06:24 +0000 (19:06 +0000)]
MFC the cddl/contrib/opensolaris/cmd/zpool portion of r267803 (joel):

mdoc: remove superfluous paragraph macros.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269734 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269093:
delphij [Fri, 8 Aug 2014 18:57:43 +0000 (18:57 +0000)]
MFC r269093:

Transform the I/O when vdev_physical_ashift is greater than
SPA_MINBLOCKSHIFT.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269086:
delphij [Fri, 8 Aug 2014 18:54:52 +0000 (18:54 +0000)]
MFC r269086:

As of r268075, the responsibility of rounding up buffer to optimal size have
been transferred from zio_compress_data to its caller.  Therefore, passing
the 'minblocksize' down will be a no-op.

Eliminate the parameter to reduce diff against upstream.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269732 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265631:
markj [Fri, 8 Aug 2014 15:21:43 +0000 (15:21 +0000)]
MFC r265631:
Re-apply r248644. This fixes an annoying problem which caused dtrace -c to
fail to attach to stripped binaries. With the _r_debug_postinit symbol,
dtrace(1) can now set a breakpoint in the victim process after it has
registered its DOF table(s) with the kernel. r_debug_state cannot be used
for this purpose since it is called before DOF is made available, in which
case dtrace(1) cannot create USDT probes before the program begins
execution.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269724 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265629, r265630
markj [Fri, 8 Aug 2014 14:53:01 +0000 (14:53 +0000)]
MFC r265629, r265630

MFC r265629:
Handle the different event types properly in rd_event_addr(). In particular,
with r265456 _r_debug_postinit can be used for RD_POSTINIT events. rtld(1)
uses r_debug_state for dl state transitions, so we use its address for
RD_DLACTIVITY events.

MFC r265630:
Fix the rd_event_addr prototype and slightly clarify the use of the "event"
parameter.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269720 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r269470:
joerg [Fri, 8 Aug 2014 14:48:26 +0000 (14:48 +0000)]
Merge r269470:

Avoid a divide-by-zero panic when setting the baudrate to 0.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269718 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r269353:
joerg [Fri, 8 Aug 2014 14:42:03 +0000 (14:42 +0000)]
Merge r269353:

Fix breakage introduced by r256843: removing the SA_CCB_WAITING bit
left some of the decisions based on its counterpart, SA_CCB_BUFFER_IO
being random.  As a result, propagation of the residual information
for the SPACE command was broken, so the number of filemarks
encountered during a SPACE operation was miscalculated.  Consequently,
systems relying on properly tracked filemark counters (like Bacula)
fell apart.

The change also removes a switch/case in sadone() which r256843
degraded to a single remaining case label.

PR: 192285

git-svn-id: svn://svn.freebsd.org/base/stable/10@269717 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r269585 - Honour WITH and WITHOUT_INET6_SUPPORT.
cy [Fri, 8 Aug 2014 00:58:24 +0000 (00:58 +0000)]
MFC r269585 - Honour WITH and WITHOUT_INET6_SUPPORT.

Approved by: glebius (mentor - implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/10@269696 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f