]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
9 years agoMFV r273747:
delphij [Tue, 11 Nov 2014 05:55:37 +0000 (05:55 +0000)]
MFV r273747:

Remove an extra copy of hv_kvp_daemon(8) [1].

While I'm there also correct typos in OptionalObsoleteFiles and add
information of the command line options for hv_kvp_daemon(8).

Reported by: jmg [1]
Reviewed by: jmg

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

9 years agoAnticipate when we'll be ready to announce 10.1-RELEASE.
gjb [Tue, 11 Nov 2014 05:49:35 +0000 (05:49 +0000)]
Anticipate when we'll be ready to announce 10.1-RELEASE.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC Intel I40E drivers: r274205,r274218, and r274228
jfv [Mon, 10 Nov 2014 23:56:06 +0000 (23:56 +0000)]
MFC Intel I40E drivers: r274205,r274218, and r274228
The MFC was pushed early as it fixes a panic in the
exiting driver of 10.1 that Intel discovered in validation.

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

9 years agoAdd missing /usr/lib/debug directories
emaste [Mon, 10 Nov 2014 14:26:56 +0000 (14:26 +0000)]
Add missing /usr/lib/debug directories

Directories for /usr/lib{,32}/{i18n,private} were missing from the mtree
file, which caused installworld to install the files that should be in
the directory as the name of the directory.

MFC of r273780

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

9 years agoMFC r274038:
kib [Mon, 10 Nov 2014 09:11:23 +0000 (09:11 +0000)]
MFC r274038:
Clean up confusing comment.

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

9 years agoMFC: 258080
jpaetzel [Sun, 9 Nov 2014 20:08:43 +0000 (20:08 +0000)]
MFC: 258080

Add support for multiple instances of ftp-proxy
and pflog devices.

PR:     conf/158171
Submitted by:   Thomas Johnson <tom@claimlynx.com>

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

9 years agoMFC: 273641
jpaetzel [Sun, 9 Nov 2014 20:04:29 +0000 (20:04 +0000)]
MFC: 273641

This change addresses 4 bugs in ZFS exposed by Richard Kojedzinszky's
crash.sh script attached to FreeNAS bug 4109:
https://bugs.freenas.org/issues/4109

Three are in the snapshot layer:
a) AVG explains in his notes: https://wiki.freebsd.org/AvgVfsSolarisVsFreeBSD

"VOP_INACTIVE must not do any destructive actions to a vnode
and its filesystem node, nor invalidate them in any way."
gfs_vop_inactive and zfsctl_snapshot_inactive did just that. In
OpenSolaris VOP_INACTIVE is much closer to FreeBSD's VOP_RECLAIM.
Rename & move them to gfs_vop_reclaim and zfsctl_snapshot_reclaim
and merge in the requisite vnode_destroy from zfsctl_common_reclaim.

b) gfs_lookup_dot and various zfsctl functions do not honor the
FreeBSD VFS convention of only locking from the root downward. When
looking up ".." the convention is to drop the current leaf vnode lock before
acquiring the directory vnode and then subsequently re-acquiring the lock on the
leaf vnode. This fixes that in all the places that our exercised by crash.sh.

c) The snapshot may already be unmounted when the directory vnode is reclaimed.
Check for this case and return.

One in the common layer:
d) Callers of traverse expect the reference to the vnode passed in to be
maintained. Don't release it.

This last one may be an unclear contract. There may in fact be some callers that
do expect the reference to be dropped on success in addition to callers that
expect it to be released. In this case a further audit of the callers is needed
and a consensus on the correct behavior.

PR:     184677
Submitted by: kmacy
Reviewed by: delphij, will, avg
Sponsored by: iXsystems

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

9 years agoFix an apparent mis-merge that happened in r274082. Before that, on the
ian [Sun, 9 Nov 2014 19:56:26 +0000 (19:56 +0000)]
Fix an apparent mis-merge that happened in r274082.  Before that, on the
10-stable branch, this makefile had WARNS=2, and on head the value is
still 2, but in the MFC done in r274082 it got changed to 3, causing build
failures when building with gcc.  This direct commit to 10 goes back to
WARNS=2.

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

9 years agoMFC r273967:
kib [Sun, 9 Nov 2014 09:44:09 +0000 (09:44 +0000)]
MFC r273967:

Only trigger a panic when forced operation is done.  Convert direct
panic() call into KASSERT().

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

9 years agoMFC r268836: Fix a typo in a gpio node name.
ian [Sat, 8 Nov 2014 04:18:33 +0000 (04:18 +0000)]
MFC r268836: Fix a typo in a gpio node name.

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

9 years agoMFC r273703:
ian [Sat, 8 Nov 2014 03:42:19 +0000 (03:42 +0000)]
MFC r273703:

  Remove the ARM_DEVICE_MULTIPASS option and make its effect be the default.

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

9 years agoMFC r272844:
bryanv [Sat, 8 Nov 2014 02:53:55 +0000 (02:53 +0000)]
MFC r272844:

Add missing UDP multicast receive dtrace probes

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

9 years agoMFC r272801:
bryanv [Sat, 8 Nov 2014 02:47:23 +0000 (02:47 +0000)]
MFC r272801:

Move the calls to u_tun_func() into udp6_append()

A similar cleanup for UDPv4 was performed in r220620.

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

9 years agoMFC r272797:
bryanv [Sat, 8 Nov 2014 02:40:00 +0000 (02:40 +0000)]
MFC r272797:

Check for mbuf copy failure when there are multiple multicast sockets

This partitular case is the only path where the mbuf could be NULL.
udp_append() checked for a NULL mbuf only after invoking the tunneling
callback. Our only in tree tunneling callback - SCTP - assumed a non
NULL mbuf, and it is a bit odd to make the callbacks responsible for
checking this condition.

This also reduces the differences between the IPv4 and IPv6 code.

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

9 years agoMFC r273619: MFV r273617: netcat from OpenBSD 5.6.
delphij [Sat, 8 Nov 2014 00:55:06 +0000 (00:55 +0000)]
MFC r273619: MFV r273617: netcat from OpenBSD 5.6.

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

9 years agoMFC r273507: Sync with NetBSD.
delphij [Sat, 8 Nov 2014 00:51:31 +0000 (00:51 +0000)]
MFC r273507: Sync with NetBSD.

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

9 years agoMFC r273498: MFV r273494: xz 5.0.7.
delphij [Sat, 8 Nov 2014 00:49:45 +0000 (00:49 +0000)]
MFC r273498: MFV r273494: xz 5.0.7.

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

9 years agoMFC: 273279
gnn [Sat, 8 Nov 2014 00:47:16 +0000 (00:47 +0000)]
MFC: 273279

Add new quirks for the latest Samsung SSD, model 850.

Submitted by: sbruno

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

9 years agoMFC: 272962
gnn [Sat, 8 Nov 2014 00:42:11 +0000 (00:42 +0000)]
MFC: 272962

Add a new option, -P, to pkt-gen which reads a single packet from a stored
pcap file and transmits it instead of the default UDP packet.

Reviewed by: luigi

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

9 years agoMFC r272931:
trasz [Fri, 7 Nov 2014 15:52:32 +0000 (15:52 +0000)]
MFC r272931:

Add assertion to catch duplicated nodes.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r272836:
trasz [Fri, 7 Nov 2014 15:50:40 +0000 (15:50 +0000)]
MFC r272836:

Remove remnants of some cleanup; no functional changes.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r272743:
trasz [Fri, 7 Nov 2014 15:49:04 +0000 (15:49 +0000)]
MFC r272743:

Simplify; no functional changes.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r272512:
trasz [Fri, 7 Nov 2014 15:47:22 +0000 (15:47 +0000)]
MFC r272512:

Make autofs use shared vnode locks.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r272471:
trasz [Fri, 7 Nov 2014 15:45:34 +0000 (15:45 +0000)]
MFC r272471:

Fix autofs debug macros.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r272470:
trasz [Fri, 7 Nov 2014 15:44:03 +0000 (15:44 +0000)]
MFC r272470:

Make autofs(4) use shared lock for lookups, instead of exclusive one.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r272405:
trasz [Fri, 7 Nov 2014 15:42:11 +0000 (15:42 +0000)]
MFC r272405:

Call uma_zfree() outside of lock, and improve comment.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r272403:
trasz [Fri, 7 Nov 2014 15:40:34 +0000 (15:40 +0000)]
MFC r272403:

Make autofs timeout handling use timeout task instead of callout;
that's because the handler can sleep on sx lock.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r273922:
nwhitehorn [Fri, 7 Nov 2014 04:11:43 +0000 (04:11 +0000)]
MFC r273922:
Rewrite some of the disk setup documentation to be clearer and contain
less obsolete information. Also move the entropy command down the list --
the list is ordered by likelihood of use rather than alphabetically.

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

9 years agoMFC r273548
emax [Thu, 6 Nov 2014 16:32:00 +0000 (16:32 +0000)]
MFC r273548

Change the code to use the openpty(3) API which uses the pts(4) driver
instead of the pty(4) driver.

PR: 184597
Submitted by: tobias.rehbein

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

9 years agoMFC r273855:
ae [Thu, 6 Nov 2014 09:16:52 +0000 (09:16 +0000)]
MFC r273855:
  Fix mbuf leak in IPv6 multicast code.
  When multicast capable interface goes away, it leaves multicast groups,
  this leads to generate MLD reports, but MLD code does deffered send and
  MLD reports are queued in the in6_multi's in6m_scq ifq. The problem is
  that in6_multi structures are freed when interface leaves multicast groups
  and thread that does deffered send will not take these queued packets.

  PR: 194577

MFC r273857:
  Move ifq drain into in6m_purge().

  Suggested by: bms

Sponsored by: Yandex LLC

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

9 years agoBump __FreeBSD_version after SA-14:23, SA-14:24,
gjb [Thu, 6 Nov 2014 02:41:38 +0000 (02:41 +0000)]
Bump __FreeBSD_version after SA-14:23, SA-14:24,
SA-14:25.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r273342:
markj [Thu, 6 Nov 2014 01:34:43 +0000 (01:34 +0000)]
MFC r273342:
Fix a typo from r189544, which replaced unp_global_rwlock with unp_list_lock
and unp_link_rwlock.

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

9 years agoMFC r273236:
markj [Thu, 6 Nov 2014 01:30:13 +0000 (01:30 +0000)]
MFC r273236:
Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is
consistent with pmc_destroy_owner_descriptor(). Also be sure to destroy
PMCs if a process exits or execs without explicitly releasing them.

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

9 years agoMFC: r273486
rmacklem [Wed, 5 Nov 2014 23:12:39 +0000 (23:12 +0000)]
MFC: r273486
Clip the settings for the NFS rsize, wsize mount options
to a power of 2. For non-power of 2 settings, intermittent
page faults have been reported. Although the bug that causes
these page faults/crashes has not been identified, it does
not appear to occur when rsize, wsize is a power of 2.

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

9 years agoMFC r271992
lwhsu [Wed, 5 Nov 2014 16:24:57 +0000 (16:24 +0000)]
MFC r271992

  Reflect the chanages in sleepqueue.h and subr_sleepqueue.c
  - Priority argument is introduced to sleepq_*wait* in r177085
  - sleepq_calc_signal_retval is removed from implementation
  - sleepq_catch_signals is internal now

MFC r272475

  - Bump .Dd

Approved by:  kevlo

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

9 years agoMFC r266800 by vanhu:
ae [Wed, 5 Nov 2014 09:23:29 +0000 (09:23 +0000)]
MFC r266800 by vanhu:
  IPv4-in-IPv6 and IPv6-in-IPv4 IPsec tunnels.
  For IPv6-in-IPv4, you may need to do the following command
  on the tunnel interface if it is configured as IPv4 only:
  ifconfig <interface> inet6 -ifdisabled

  Code logic inspired from NetBSD.
  PR: kern/169438

MC r266822 by bz:
  Use IPv4 statistics in ipsec4_process_packet() rather than the IPv6
  version.  This also unbreaks the NOINET6 builds after r266800.

MFC r268083 by zec:
  The assumption in ipsec4_process_packet() that the payload may be
  only IPv4 is wrong, so check the IP version before mangling the
  payload header.

MFC r272394:
  Do not strip outer header when operating in transport mode.
  Instead requeue mbuf back to IPv4 protocol handler. If there is one extra IP-IP
  encapsulation, it will be handled with tunneling interface. And thus proper
  interface will be exposed into mbuf's rcvif. Also, tcpdump that listens on tunneling
  interface will see packets in both directions.

PR: 194761

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

9 years agoMFC r273985:
wblock [Wed, 5 Nov 2014 04:25:23 +0000 (04:25 +0000)]
MFC r273985:

Add the less-ambiguous freebsd-version command.

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

9 years ago[SA-14:25] Fix kernel stack disclosure in setlogin(2) / getlogin(2).
des [Tue, 4 Nov 2014 23:29:57 +0000 (23:29 +0000)]
[SA-14:25] Fix kernel stack disclosure in setlogin(2) / getlogin(2).
[SA-14:26] Fix remote command execution in ftp(1).

Approved by: so (des)

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

9 years agoMFC r274095:
gjb [Tue, 4 Nov 2014 23:02:16 +0000 (23:02 +0000)]
MFC r274095:
  Fix VOLUME_LABEL when BRANCH contains '-' and '.'
  characters, in particular '-' and '.'.

Insta-MFC ok: re (hrs)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r273796
brooks [Tue, 4 Nov 2014 22:47:51 +0000 (22:47 +0000)]
MFC r273796

Import in latest mtree from NetBSD to fix a bug in parsing group files
that jmg fixed upstream.

Sponsored by: DARPA, AFRL

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

9 years agoMFC: 272445,272578,273772,273779,273782,273786,273787,273791
bapt [Tue, 4 Nov 2014 07:50:48 +0000 (07:50 +0000)]
MFC: 272445,272578,273772,273779,273782,273786,273787,273791

Add a test for bug 191427 where pw(8) will go into an infinite loop
Add some tests for modifying groups
When a group is renamed then the group has been invalidated for sure.
In that case get the group information using the new name.

Fix a regression in pw usermod -G list

The user was perperly adding the to different groups from "list" but was not
removed from the other groups it could have belong to.

Do not delete the group wheel when bad argument is passed to pw groupdel -g

Check that the -g argument is actually a number, if not report an error.
This argument is converted without checking with atoi(3) later so without this
check it converts any alpha entries into 0 meaning it deletes the group wheel

Ensure pw userdel -u <invalid> do not try to remove root

Check the uid passed is actually a number as early as possible

Fix renaming a group via the gr_copy function

Add a regression test to pw(8) because the bug was discovered via using:
pw groupmod

PR: 193704 [1], 185666 [2], 90114 [3], 187189 [4]
Submitted by: Marc de la Gueronniere [4]
Reported by: az [1], sub.mesa@gmail.com [2], bkoenig@cs.tu-berlin.de [3],
mcdouga9@egr.msu.edu [4]

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

9 years agoMFC r271946 and r272595:
hselasky [Mon, 3 Nov 2014 12:38:29 +0000 (12:38 +0000)]
MFC r271946 and r272595:
Improve transmit sending offload, TSO, algorithm in general. This
change allows all HCAs from Mellanox Technologies to function properly
when TSO is enabled. See r271946 and r272595 for more details about
this commit.

Sponsored by: Mellanox Technologies

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

9 years agoMFC: r268474 and r268476 (by imp)
nyan [Mon, 3 Nov 2014 12:07:04 +0000 (12:07 +0000)]
MFC: r268474 and r268476 (by imp)
  - Merge the clang support from i386.
  - Compile boot2 with clang on pc98.

MFC: r272250 (by nyan)
  - Reduce diffs against i386.

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

9 years agoMFC: r268475 (by imp)
nyan [Mon, 3 Nov 2014 11:58:32 +0000 (11:58 +0000)]
MFC: r268475 (by imp)

  Make SERIAL support optional again. Enable it for i386 because a huge
  percentage of machines has a 16550. Disable it for pc98 since only a
  tiny fraction of them have one.

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

9 years agoMFC: r272258
nyan [Mon, 3 Nov 2014 11:21:43 +0000 (11:21 +0000)]
MFC: r272258
  - Cosmetic changes.
  - Reduce diffs against i386.

MFC: 272259
  MFi386: Enable QUOTA, PRINTF_BUFR_SIZE and puc.

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

9 years agoMFC: r272256
nyan [Mon, 3 Nov 2014 11:08:00 +0000 (11:08 +0000)]
MFC: r272256

  Switch from lib/libstand to sys/boot/libstand32.

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

9 years agoMFC: r272255
nyan [Mon, 3 Nov 2014 11:01:12 +0000 (11:01 +0000)]
MFC: r272255

  Supress clang warning for FreeBSD printf %b and %D formats.

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

9 years agoMFC: r272252
nyan [Mon, 3 Nov 2014 10:38:03 +0000 (10:38 +0000)]
MFC: r272252

  Drop the 3rd clause from all 3 clause BSD licenses.

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

9 years agoMFC r273728:
kib [Mon, 3 Nov 2014 10:33:01 +0000 (10:33 +0000)]
MFC r273728:
Add a method to iicbus to request IIC_M_NOSTOP behaviour for multibyte
transfers to be default.

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

9 years agoMFC r273727:
kib [Mon, 3 Nov 2014 10:30:44 +0000 (10:30 +0000)]
MFC r273727:
Original commit message was
Allow the vfs.nfsd knobs to be set from loader.conf (or using
kenv(8)).  This is useful when nfsd is loaded as module.

As I understand, automatic fetch from kenv does not work in stable/10.
Merge the change still, to reduce code difference.

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

9 years agoMFC: r272248
nyan [Mon, 3 Nov 2014 10:26:29 +0000 (10:26 +0000)]
MFC: r272248

  - Cleanups pc98 code.
  - Remove unworked formats.

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

9 years agoMFC r273737, 273739
bapt [Mon, 3 Nov 2014 08:48:48 +0000 (08:48 +0000)]
MFC r273737, 273739

Clarify the documentation of pmcstat:
the -d argument should be passed before -p, -s, -P or -S to be taken in account

Differential Revision: https://reviews.freebsd.org/D1011
Reviewed by: adrian, gnn

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

9 years agoMFC: r272245
nyan [Mon, 3 Nov 2014 06:33:52 +0000 (06:33 +0000)]
MFC: r272245

  Remove duplicate prog.

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

9 years agoMFC: r272243
nyan [Mon, 3 Nov 2014 05:35:45 +0000 (05:35 +0000)]
MFC: r272243

  Add missing library dependencies.

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

9 years agoMFC r273809:
mav [Mon, 3 Nov 2014 03:45:41 +0000 (03:45 +0000)]
MFC r273809:
Implement better handling for ENOSPC error for both CTL and CAM.

This makes VMWare VAAI Thin Provisioning Stun primitive activate, pausing
the virtual machine, when backing storage (ZFS pool) is getting overflowed.

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

9 years agoMFC r273730, r273731:
mav [Mon, 3 Nov 2014 03:44:59 +0000 (03:44 +0000)]
MFC r273730, r273731:
Reduce code duplication around Write Exclusive persistent reservation.

While there, allow some more commands to pass persistent reservation.

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

9 years agoMFC r273711:
mav [Mon, 3 Nov 2014 03:43:40 +0000 (03:43 +0000)]
MFC r273711:
Allocate buffer for READ BUFFER/WRITE BUFFER commands on demand.

These commands are rare, but consume additional 256KB RAM per LUN.

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

9 years agoMFC 273598 273602 273607 273613 273647:
rpaulo [Mon, 3 Nov 2014 03:17:58 +0000 (03:17 +0000)]
MFC 273598 273602 273607 273613 273647:

    Userland HPET support.

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

9 years agoMFC 273834:
jhb [Mon, 3 Nov 2014 00:13:20 +0000 (00:13 +0000)]
MFC 273834:
Rework the EXAMPLES section to be a bit clearer.
- Add an example of using etcupdate diff.
- Create a subsection on bootstrapping that is below the simple
  examples.  This should make it clearer that 'etcupdate extract' is
  a one-time operation and not part of the common workflow.  It also
  adds more suggestions on when bootstrapping is needed and additional
  steps to make future merges simpler.

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

9 years agoMFC 273644,273738:
jhb [Sun, 2 Nov 2014 23:22:22 +0000 (23:22 +0000)]
MFC 273644,273738:
Clarify that pthread_cleanup_push()/pop() are implemented as macros that
create a new code block and thus must be balanced at the same lexical
scope.  (This is also a requirement in POSIX.)

PR: 194280
Submitted by: dr2867.business@pacbell.net

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

9 years agoMFC r272974,272976:
hrs [Sun, 2 Nov 2014 22:41:55 +0000 (22:41 +0000)]
MFC r272974,272976:

Add ${name}_env and ${name}_prepend.  ${name}_env is an argument list which
will be passed to env(1).  ${name}_prepend is simply prepended to the command
line for $command.

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

9 years agoMFC r273026:
delphij [Sun, 2 Nov 2014 19:16:41 +0000 (19:16 +0000)]
MFC r273026:

Add a tunable for arc_shrink_shift (vfs.zfs.arc_shrink_shift) that
controls how much fraction, 1/2^arc_shrink_shift, should be reclaimed
when there is memory pressure.

Submitted by: Richard Kojedzinszky <krichy at tvnetwork.hu>

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

9 years agoMFC r273267:
delphij [Sun, 2 Nov 2014 19:09:34 +0000 (19:09 +0000)]
MFC r273267:

Add tunable vfs.zfs.space_map_blksz for space map's maximum block size.

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

9 years agoMFC r273708: Fix support for LUN flat space addressing.
mav [Sun, 2 Nov 2014 17:31:45 +0000 (17:31 +0000)]
MFC r273708: Fix support for LUN flat space addressing.

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

9 years agoMFC r273693: Fix printing non-terminated strings in devlist XML.
mav [Sun, 2 Nov 2014 17:31:10 +0000 (17:31 +0000)]
MFC r273693: Fix printing non-terminated strings in devlist XML.

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

9 years agoMFC r273687:
mav [Sun, 2 Nov 2014 17:30:30 +0000 (17:30 +0000)]
MFC r273687:
Add "rpm" and "formfactor" LUN options to match istgt functionality.

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

9 years agoMFC r273640: Add support for 12/16-byte EUI and 16-byte NAA IDs.
mav [Sun, 2 Nov 2014 17:29:48 +0000 (17:29 +0000)]
MFC r273640: Add support for 12/16-byte EUI and 16-byte NAA IDs.

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

9 years agoMFC r273075: Remove couple Copan's vendor-specific mode pages.
mav [Sun, 2 Nov 2014 17:28:44 +0000 (17:28 +0000)]
MFC r273075: Remove couple Copan's vendor-specific mode pages.

Those pages are highly system-/hardware-specific, the code is incomplete,
and so they hardly can be useful for anybody else.

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

9 years agoMFC r273073: Some groundwork for later Informational Exceptions support.
mav [Sun, 2 Nov 2014 17:28:08 +0000 (17:28 +0000)]
MFC r273073: Some groundwork for later Informational Exceptions support.

This includes support for:
 - Read-Write Error Recovery mode page;
 - Informational Exceptions Control mode page;
 - Logical Block Provisioning mode page;
 - LOG SENSE command.

No real Informational Exceptions features yet. This is only a placeholder.

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

9 years agoMFC r272409:
mav [Sun, 2 Nov 2014 17:26:13 +0000 (17:26 +0000)]
MFC r272409:
Use REPORT LUNS command for SPC-2 devices with LUN 0 disconnected.

SPC-2 tells REPORT LUNS shall be supported by devices supporting LUNs other
then LUN 0.  If we see LUN 0 disconnected, guess there may be others, and
so REPORT LUNS shall be supported.

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

9 years agoMFC r272406:
mav [Sun, 2 Nov 2014 17:25:03 +0000 (17:25 +0000)]
MFC r272406:
Make disconnected LUN 0 don't remain in half-configured state if there are
no LUNs on SPC-3 target after we tried REPORT LUNS.

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

9 years agoMFC r272401, r272402: Rework the logic of sequential SCSI LUN scanner.
mav [Sun, 2 Nov 2014 17:23:44 +0000 (17:23 +0000)]
MFC r272401, r272402: Rework the logic of sequential SCSI LUN scanner.

Previous logic was not differentiating disconnected LUNs and absent targets.
That made it to stop scan if LUN 0 was not found for any reason.  That made
problematic, for example, using iSCSI targets declaring SPC-2 compliance and
having no LUN 0 configured.

The new logic continues sequential LUN scan if:
 -- we have more configured LUNs that need recheck;
 -- this LUN is connected and its SCSI version allows more LUNs;
 -- this LUN is disconnected, its SCSI version allows more LUNs and we
    guess they may be connected (we haven't scanned first 8 LUNs yet or
    kern.cam.cam_srch_hi sysctl is set to scan more).

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

9 years agoMFC r273837:
dim [Sat, 1 Nov 2014 13:45:01 +0000 (13:45 +0000)]
MFC r273837:

Fix a clang 3.5 warning about abs(3) being given an argument of type
quad_t in setusercontext().  While here, sanitize the clamping of the
priority value, and use the correct type for the return value of
login_getcapnum().

Reviewed by: kib

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

9 years agoMFC r273551:
rpaulo [Sat, 1 Nov 2014 05:45:05 +0000 (05:45 +0000)]
MFC r273551:

  puc(4): add an entry for the Oxford Semiconductor OXPCIe952 1S1P
  card.

  Submitted by: Alex Burlyga <alex.burlyga.ietf at gmail.com>

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

9 years agovt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font
dumbbell [Fri, 31 Oct 2014 23:10:58 +0000 (23:10 +0000)]
vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font

To restore the default font using vidcontrol(1), use the "-f" flag
without an argument:
    vidcontrol -f < /dev/ttyv0

PR: 193910
Differential Revision: https://reviews.freebsd.org/D971
Submitted by: Marcin Cieslak <saper@saper.info>
Reviewed by: ray@, emaste@
Approved by: ray@
MFC of: r273544

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

9 years agoMFC 258028:
hselasky [Fri, 31 Oct 2014 10:07:56 +0000 (10:07 +0000)]
MFC 258028:
Unbreak build of RSU module.
Use the real product name for Edimax rsu(4) id.

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

9 years agoMFC r264801, r264802, r264934, r273181, r273216 and r273252:
hselasky [Fri, 31 Oct 2014 07:55:42 +0000 (07:55 +0000)]
MFC r264801, r264802, r264934, r273181, r273216 and r273252:
Add more USB IDs.

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

9 years agoMFC r269575, r269576 and r269578:
hselasky [Fri, 31 Oct 2014 07:51:05 +0000 (07:51 +0000)]
MFC r269575, r269576 and r269578:
- Add a second Huawei SCSI eject command as USB mode switch config files
sometimes use one or the other. Maybe newer Huawei modems switched.
- Return USB_ERR_INVAL if the eject method is not known.

PR: 145319

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

9 years agoMFC r264923:
hselasky [Fri, 31 Oct 2014 07:41:28 +0000 (07:41 +0000)]
MFC r264923:
Remove device type from the uftdi_devs table, enhance the jtag-skip feature.

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

9 years agoMFC r269569:
hselasky [Fri, 31 Oct 2014 07:38:49 +0000 (07:38 +0000)]
MFC r269569:
Remove unused defines.
Fix some device_printf's that were missing '\n' at the end or had
spelling errors.

PR: 145319

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

9 years agoMFC r271159, r271168 and r271680:
hselasky [Fri, 31 Oct 2014 07:33:56 +0000 (07:33 +0000)]
MFC r271159, r271168 and r271680:
Add USB LED driver for the Dream Cheeky WebMail Notifier.

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

9 years agoMFC r273867:
hselasky [Fri, 31 Oct 2014 07:08:32 +0000 (07:08 +0000)]
MFC r273867:
Fix compile warning by removing unused variable.

Sponsored by: Mellanox Technologies

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

9 years agoMFC r273593:
hselasky [Fri, 31 Oct 2014 07:04:25 +0000 (07:04 +0000)]
MFC r273593:

Update the network interface baudrate integer according to the actual
line rate.

Sponsored by: Mellanox Technologies

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

9 years agoMFC r273159:
araujo [Fri, 31 Oct 2014 04:01:10 +0000 (04:01 +0000)]
MFC r273159:
Add two sysctl(8) to enable/disable NFSv4 server to check when setting
user nobody and/or setting group nogroup as owner of a file or directory.
Usually at the client side, if there is an username that is not in the
client's passwd database, some clients will send 'nobody@<your.dns.domain>'
in the wire and the NFSv4 server will treat it as an ERROR.
However, if you have a valid user nobody in your passwd database,
the NFSv4 server will treat it as a NFSERR_BADOWNER as its believes the
client doesn't has the username mapped.

Submitted by: Loic Blot <loic.blot@unix-experience.fr>
Reviewed by: rmacklem
Approved by: rmacklem
Sponsored by: QNAP Systems Inc.

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

9 years agoMFC r272770:
ae [Thu, 30 Oct 2014 13:53:57 +0000 (13:53 +0000)]
MFC r272770:
  When tunneling interface is going to insert mbuf into netisr queue after stripping
  outer header, consider it as new packet and clear the protocols flags.

  This fixes problems when IPSEC traffic goes through various tunnels and router
  doesn't send ICMP/ICMPv6 errors.

PR: 174602
Sponsored by: Yandex LLC

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

9 years agoMFC r273733, r273740 and r273773:
hselasky [Thu, 30 Oct 2014 08:04:48 +0000 (08:04 +0000)]
MFC r273733, r273740 and r273773:

The SYSCTL data pointers can come from userspace and must not be
directly accessed. Although this will work on some platforms, it can
throw an exception if the pointer is invalid and then panic the kernel.

Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure.

Sponsored by: Mellanox Technologies

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

9 years agoMFC r266842: netinet/in.h: Expose htonl(), htons(), ntohl() and ntohs() in
jilles [Wed, 29 Oct 2014 23:10:48 +0000 (23:10 +0000)]
MFC r266842: netinet/in.h: Expose htonl(), htons(), ntohl() and ntohs() in
strict POSIX mode.

Put the htonl(), htons(), ntohl() and ntohs() declarations under
__POSIX_VISIBLE >= 200112. POSIX.1-2001 and newer require these to be
exposed from <netinet/in.h> (as well as <arpa/inet.h>).

Note that it may be unnecessary to check __POSIX_VISIBLE >= 200112 because
older versions of POSIX and the C standard do not define this header.
However, other places in the same file already perform the check.

PR: 188316
Submitted by: Christian Neukirchen

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

9 years agoMFC r264628: fcntl.h: Make visible various POSIX.1-2008 features.
jilles [Wed, 29 Oct 2014 22:55:16 +0000 (22:55 +0000)]
MFC r264628: fcntl.h: Make visible various POSIX.1-2008 features.

Also, remove #if __BSD_VISIBLE where it is redundant. When __BSD_VISIBLE is
defined to 1, __POSIX_VISIBLE, __XSI_VISIBLE and __ISO_C_VISIBLE are also
defined to the newest supported version.

PR: 188173

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

9 years agoMFC r272720, 273061, 273062, 273063, 273064
sbruno [Wed, 29 Oct 2014 22:17:45 +0000 (22:17 +0000)]
MFC r272720, 273061, 273062, 273063, 273064

Implement PLPMTUD blackhole detection (RFC 4821), inspired by code
from xnu sources.  If we encounter a network where ICMP is blocked
the Needs Frag indicator may not propagate back to us.  Attempt to
downshift the mss once to a preconfigured value.

Note, this is turned off by default.

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

9 years agoMFC r271539,273003,273005:
nwhitehorn [Wed, 29 Oct 2014 16:48:18 +0000 (16:48 +0000)]
MFC r271539,273003,273005:

Add ZFS support to the bsdinstall partition editor and sade

Submitted by: Kurt Lidl (original version)

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

9 years agoMFC r273288:
andrew [Wed, 29 Oct 2014 16:41:20 +0000 (16:41 +0000)]
MFC r273288:

 Allow the armv6 kernel to be build with PHYSADDR undefined. The kernel
 will now find the virtual to physical mapping for libkvm to use at
 runtime. This makes PHYSADDR redundant, however keep it around to give
 everyone a chance to update their libkvm.

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

9 years agoMFC r273287:
andrew [Wed, 29 Oct 2014 16:38:13 +0000 (16:38 +0000)]
MFC r273287:

 Only build the ARM tranpoline when KERNPHYSADDR is defined as it is
 otherwise unneeded in armv6 kernels.

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

9 years agoMFC r273284:
andrew [Wed, 29 Oct 2014 16:36:08 +0000 (16:36 +0000)]
MFC r273284:

 Allow libkvm to get the kernel va to pa delta without the need for
 physaddr. This should allow for a kernel where PHYSADDR and KERNPHYSADDR
 are both undefined.

 For now libkvm will use the old method of reading physaddr and kernaddr
 to allow it to work with old kernels. This could be removed in the future
 when enough time has passed.

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

9 years agoMFC r269956:
andrew [Wed, 29 Oct 2014 16:24:02 +0000 (16:24 +0000)]
MFC r269956:

 From https://sourceware.org/ml/newlib/2014/msg00113.html
 By Richard Earnshaw at ARM
 >
 >GCC has for a number of years provides a set of pre-defined macros for
 >use with determining the ISA and features of the target during
 >pre-processing.  However, the design was always somewhat cumbersome in
 >that each new architecture revision created a new define and then
 >removed the previous one.  This meant that it was necessary to keep
 >updating the support code simply to recognise a new architecture being
 >added.
 >
 >The ACLE specification (ARM C Language Extentions)
 >(http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.set.swdev/index.html)
 >provides a much more suitable interface and GCC has supported this
 >since gcc-4.8.
 >
 >This patch makes use of the ACLE pre-defines to map to the internal
 >feature definitions.  To support older versions of GCC a compatibility
 >header is provided that maps the traditional pre-defines onto the new
 >ACLE ones.

 Stop using __FreeBSD_ARCH_armv6__ and switch to __ARM_ARCH >= 6 in the
 couple of places in tree. clang already implements ACLE. Add a define
 that says we implement version 1.1, even though the implementation
 isn't quite complete.

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

9 years agoMFC r272746:
ae [Wed, 29 Oct 2014 11:07:40 +0000 (11:07 +0000)]
MFC r272746:
  Add an ability to set dumpdev via loader(8) tunable.

MFC r272747:
  Revert r156046. We support setting dumpdev via loader tunable again.
  Also change default disk name to ada.

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

9 years agoMFC r261271:
pluknet [Wed, 29 Oct 2014 09:32:36 +0000 (09:32 +0000)]
MFC r261271:

  Ressurect the local change documenting
  authpf's requirement for a mounted fdescfs(5).

PR: docs/186250

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

9 years agoMFC: r273704
smh [Wed, 29 Oct 2014 09:27:24 +0000 (09:27 +0000)]
MFC: r273704

Fix CF ERASE breakage caused by 268205.

Sponsored by: Multiplay

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

9 years agoMFC r273666.
neel [Wed, 29 Oct 2014 01:54:37 +0000 (01:54 +0000)]
MFC r273666.
Don't pass the 'error' return from an I/O port handler directly to vm_run().

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

9 years agoMFC r273457: Document sort_io_queue sysctls/tunables.
mav [Wed, 29 Oct 2014 00:27:02 +0000 (00:27 +0000)]
MFC r273457: Document sort_io_queue sysctls/tunables.

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

9 years agoMFC r273638:
mav [Tue, 28 Oct 2014 08:00:28 +0000 (08:00 +0000)]
MFC r273638:
Revert somewhat hackish geom_disk optimization, committed as part of r256880,
and the following r273143 commit, supposed to workaround introduced issue by
quite innocent-looking change.

While there is no clear understanding why, but r273143 is accused in data
corruption in some environments with high I/O load.  I personally don't see
any problem in that commit, and possibly it is just a trigger to some other
bug somewhere, but better safe then sorry for now.

Requested by: scottl@

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