Commit Graph

197697 Commits

Author SHA1 Message Date
trasz
fd82234ffe MFC r273107:
Make automount(8)/automountd(8) treat percent sign as a valid part
of path.  It's useful for spaces encoded as %20 as msdosfs labels.

Submitted by:	glebius@
2014-11-14 10:53:55 +00:00
trasz
b4e4ada2c9 MFC r273123:
Silence down a warning that doesn't provide any useful information unless
debug is enabled.

Sponsored by:	The FreeBSD Foundation
2014-11-14 10:05:53 +00:00
kib
7d419d1926 MFC r274251:
Add DEV_MODULE_ORDERED().
2014-11-14 09:51:21 +00:00
mav
862a9d976c MFC r274206:
Synchronize medium rotation rate in legacy Rigid Disk Drive Geometry mode
page with modern Block Device Characteristics VPD page.
2014-11-14 00:25:10 +00:00
gnn
c5ebff0eaa MFC: 272906
Change the PF hash from Jenkins to Murmur3.  In forwarding tests
this showed a conservative 3% incrase in PPS.

Original Differential Revision:	https://reviews.freebsd.org/D461
Submitted by:	des
Reviewed by:	emaste
2014-11-13 21:58:42 +00:00
smh
009b631caf MFC r264852
Silence compiler warning

Sponsored by:	Multiplay
2014-11-13 16:45:25 +00:00
smh
f6482d9897 MFC r260800:
Fix a regression introduced in r237618

MFC r260801:
Re-work r260800 to include other signals which start with 'I'
such as ILL, INFO etc.

Sponsored by:	Multiplay
2014-11-13 16:40:15 +00:00
ae
8b16f1c857 MFC r274193:
When mode isn't explicitly specified (wildcard) and inner protocol isn't
  IPv4 or IPv6, assume it is the transport mode.

Sponsored by:	Yandex LLC
2014-11-13 13:08:46 +00:00
ae
189aa5130f MFC r273904:
Use in_localip() instead of handmade implementation.

Sponsored by:	Yandex LLC
2014-11-13 13:05:31 +00:00
np
99c3f1d7e4 MFC r271328:
Whitespace nit.
2014-11-12 20:37:23 +00:00
np
2215311d59 MFC r273615:
cxgbe(4): bump up PF4's share of some global resources.

This increases the size of the per-port RSS slice and also allows the
driver to use a larger number of tx and rx queues.

S2curity:
2014-11-12 20:24:14 +00:00
np
575489dd36 MFC r273280:
cxgb(4): reset the PHY if it generates an interrupt for no apparent reason.
2014-11-12 20:07:43 +00:00
np
21e5b9212b MFC r272190:
cxgbe(4): explicitly set various if_hw_tso* values.
2014-11-12 19:53:35 +00:00
mav
004861f324 MFC r274081: Fix residual copy/paste in r274080. 2014-11-11 17:18:51 +00:00
mav
2be19bde46 MFC r274080: Improve error handling around duplicate lun and port enable.
This fixes kernel panic if port enabled twice and then disabled.
2014-11-11 17:17:41 +00:00
mav
2a51a4259a MFC r274253: Fix LUN resize broken by r272911 commit. 2014-11-11 17:14:35 +00:00
mav
e4a81f9ddf MFC r272936:
Update isp_tgt_map and send new arrival notification if target that departed
earlier has returned.  Previously that code worked only once, confusing CTL.
2014-11-11 17:13:03 +00:00
kib
c7b266cfad MFC r274100:
Fix mis-spelling of bits and types names in the
default_pager_putpages() and swap_pager_putpages().
2014-11-11 11:06:10 +00:00
dim
5947d7353b MFC r274286:
Pull in r201784 from upstream llvm trunk (by Benjamin Kramer):

  AsmParser: Disable Darwin-style macro argument expansion on non-darwin targets.

  There is code in the wild that relies on $0 not being expanded.

This fixes some cases of using $ signs in literals being incorrectly
assembled.

Reported by:	Richard Henderson
Upstream PR:	http://llvm.org/PR21500

MFC r274294:

Add llvm patch corresponding to r274286.
2014-11-11 08:00:49 +00:00
delphij
b671144801 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
2014-11-11 05:55:37 +00:00
gjb
19c54c4ced Anticipate when we'll be ready to announce 10.1-RELEASE.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-11-11 05:49:35 +00:00
jfv
33ec143df3 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.
2014-11-10 23:56:06 +00:00
emaste
9bdce0d0ad 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
2014-11-10 14:26:56 +00:00
kib
9f76ecdf89 MFC r274038:
Clean up confusing comment.
2014-11-10 09:11:23 +00:00
jpaetzel
2b3683aa2c MFC: 258080
Add support for multiple instances of ftp-proxy
and pflog devices.

PR:     conf/158171
Submitted by:   Thomas Johnson <tom@claimlynx.com>
2014-11-09 20:08:43 +00:00
jpaetzel
00ea043c2a 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
2014-11-09 20:04:29 +00:00
ian
eddd11598c 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.
2014-11-09 19:56:26 +00:00
kib
7c9ec90843 MFC r273967:
Only trigger a panic when forced operation is done.  Convert direct
panic() call into KASSERT().
2014-11-09 09:44:09 +00:00
ian
cdce53b945 MFC r268836: Fix a typo in a gpio node name. 2014-11-08 04:18:33 +00:00
ian
ccec47a8b5 MFC r273703:
Remove the ARM_DEVICE_MULTIPASS option and make its effect be the default.
2014-11-08 03:42:19 +00:00
bryanv
8677516401 MFC r272844:
Add missing UDP multicast receive dtrace probes
2014-11-08 02:53:55 +00:00
bryanv
018ace964f MFC r272801:
Move the calls to u_tun_func() into udp6_append()

A similar cleanup for UDPv4 was performed in r220620.
2014-11-08 02:47:23 +00:00
bryanv
520007fcf4 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.
2014-11-08 02:40:00 +00:00
delphij
1a1a1d96c4 MFC r273619: MFV r273617: netcat from OpenBSD 5.6. 2014-11-08 00:55:06 +00:00
delphij
7ba4eeedbf MFC r273507: Sync with NetBSD. 2014-11-08 00:51:31 +00:00
delphij
0f8e09dd9f MFC r273498: MFV r273494: xz 5.0.7. 2014-11-08 00:49:45 +00:00
gnn
52c05ed231 MFC: 273279
Add new quirks for the latest Samsung SSD, model 850.

Submitted by:	sbruno
2014-11-08 00:47:16 +00:00
gnn
37404cf0dd 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
2014-11-08 00:42:11 +00:00
trasz
11e554c92e MFC r272931:
Add assertion to catch duplicated nodes.

Sponsored by:	The FreeBSD Foundation
2014-11-07 15:52:32 +00:00
trasz
44b7c0743b MFC r272836:
Remove remnants of some cleanup; no functional changes.

Sponsored by:	The FreeBSD Foundation
2014-11-07 15:50:40 +00:00
trasz
5217262cb3 MFC r272743:
Simplify; no functional changes.

Sponsored by:	The FreeBSD Foundation
2014-11-07 15:49:04 +00:00
trasz
a6df93e354 MFC r272512:
Make autofs use shared vnode locks.

Sponsored by:	The FreeBSD Foundation
2014-11-07 15:47:22 +00:00
trasz
f72fde1ec0 MFC r272471:
Fix autofs debug macros.

Sponsored by:	The FreeBSD Foundation
2014-11-07 15:45:34 +00:00
trasz
603b73d3cc MFC r272470:
Make autofs(4) use shared lock for lookups, instead of exclusive one.

Sponsored by:	The FreeBSD Foundation
2014-11-07 15:44:03 +00:00
trasz
c03d95d341 MFC r272405:
Call uma_zfree() outside of lock, and improve comment.

Sponsored by:	The FreeBSD Foundation
2014-11-07 15:42:11 +00:00
trasz
aba7b57a35 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
2014-11-07 15:40:34 +00:00
nwhitehorn
2eebc771d3 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.
2014-11-07 04:11:43 +00:00
emax
3f28cd3e4f 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
2014-11-06 16:32:00 +00:00
ae
b0344a7d0f 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
2014-11-06 09:16:52 +00:00
gjb
9bbd5a3136 Bump __FreeBSD_version after SA-14:23, SA-14:24,
SA-14:25.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-11-06 02:41:38 +00:00