Commit Graph

197668 Commits

Author SHA1 Message Date
avg
cd85a50ea7 MFC r272701: make userland __assfail from opensolaris compat honor 'aok' variable 2014-11-17 13:26:50 +00:00
np
f47eb9ae9f MFC r273360:
One of MAP_ANON, MAP_PRIVATE, MAP_SHARED, or MAP_STACK must be specified.
2014-11-17 07:37:41 +00:00
np
70603ae477 MFC r274351:
cxgbe(4): adjust PMRX and PMTX parameters.
2014-11-17 07:20:03 +00:00
kib
42659248bf MFC r274343:
When sleeping waiting for the profiling stop, always set P_STOPPROF
before dropping process lock.  Clear P_STOPPROF when doing wakeup.
2014-11-17 01:01:45 +00:00
kib
942f0f69dc MFC r274023:
When other end of the pipe closed during the write, but some bytes
were written, return short write instead of EPIPE.
2014-11-17 00:59:45 +00:00
kib
caa11c2b5a MFC r274040 and r274084. The result is removal of agp_intel.c from
the static amd64 kernel when agp is configured.
2014-11-17 00:57:33 +00:00
kib
e01547e9e7 MFC r273966:
Fix two issues with lockmgr(9) LK_CAN_SHARE() test, related
to the exclusive locker starvation.

MFC r273986:
Fix the build with ADAPTIVE_LOCKMGRS kernel option.
2014-11-16 23:02:32 +00:00
edwin
7fb42ed981 MFC of 274559,tzdata2014j
Release 2014j - 2014-11-10 17:37:11 -0800

  Changes affecting current and future time stamps

    Turks & Caicos' switch from US eastern time to UTC-4 year-round
    did not occur on 2014-11-02 at 02:00.  It's currently scheduled
    for 2015-11-01 at 02:00.  (Thanks to Chris Walton.)

  Changes affecting past time stamps

    Many pre-1989 time stamps have been corrected for Asia/Seoul and
    Asia/Pyongyang, based on sources for the Korean-language Wikipedia
    entry for time in Korea.  (Thanks to Sanghyuk Jung.)  Also, no
    longer guess that Pyongyang mimicked Seoul time after World War II,
    as this is politically implausible.

    Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: Africa/Addis_Ababa, Africa/Asmara,
    Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Kampala,
    Africa/Mogadishu, Indian/Antananarivo, Indian/Comoro, and
    Indian/Mayotte.

  Changes affecting commentary

    The commentary is less enthusiastic about Shanks as a source,
    and is more careful to distinguish UT from UTC.
2014-11-16 04:02:50 +00:00
mav
5966236aa7 MFC r274333: Handle PREEMPT AND ABORT service action equal to PREEMPT.
With command serialization used in CTL, there are no other commands to abort
when PREEMPT AND ABORT gets to run, so it is practically equal to PREEMPT.
2014-11-16 01:47:43 +00:00
imp
b24fe3677d MFC from the last few months:
Note: didn't merge r274331 removing gif/faith on purpose.

r268246 | mr | use mkimg and build into separate directories
r269355 | imp | Fix typo in example script
r269362 | imp | use rm -x on 10 and newer
r269363 | imp | NANO_OBJ shouldn't end with '/'
r269423 | imp | -K to suppress installkernel
r269424 | imp | sort usage
r269425 | imp | sort switch
r269983 | imp | only install bootloader if it exists
r269984 | imp | create_diskimage since it never was $ARCH dependent
r270162 | imp | Add support for -X which instales cross native tools
2014-11-16 01:29:18 +00:00
trasz
131ee6d96e MFC r273160:
Fix automountd(8) not to leave zombies.

Sponsored by:	The FreeBSD Foundation
2014-11-15 05:53:45 +00:00
trasz
93accf3999 MFC r273164:
When removing an iSCSI session, check whether all conditions match,
not if any of them matches.  This fixes "iscsictl -Rn" removing
unrelated sessions.

PR:		194034
Sponsored by:	The FreeBSD Foundation
2014-11-15 05:50:14 +00:00
ngie
c1b4b35c7e MFC r273627,r273628:
r273627:

  - Print out "Bail out!" in die(..) so prove terminates immediately
  - Handle the output from newer versions of openssl md5, similar to what
    pjd@ did in r248304

  Sponsored by: EMC / Isilon Storage Division

r273628:

  Move the redirection to stderr out of the cmd variable assignment

  Putting 2>/dev/null in cmd= escapes the redirection operation, which causes
  mdconfig to think it's a filename

  Sponsored by: EMC / Isilon Storage Division
2014-11-15 05:16:16 +00:00
ngie
20a08c7aa6 MFC r274021:
Remove explicit KYUAFILE=yes from tests/sys/Makefile

  This causes the directory traversing Kyuafile to be installed, which in turn
  causes tests/sys/pjdfstest to always be run from /usr/tests/sys

  Let KYUAFILE default to auto, so the file generated by suite.test.mk gets
  installed instead
2014-11-15 05:05:32 +00:00
ngie
0933b11ea6 MFC r274052:
Remove unused tests/lib directory
2014-11-15 05:03:44 +00:00
ngie
94236d8fbc MFC r274267:
Use PROGS instead of PROG and remove unnecessary SRCS?= assignment

  Using PROG instead of PROGS will in cases of high -j with -DNO_ROOT cause
  the PROG to show up more than once as it's handling the SCRIPTS install case
  in a recursive manner, separate from the non-recursive case

  After the recent batch of commits to bsd.progs.mk to fix behavior with how
  variables are defaulted to, explicitly setting SRCS for a PROG is no longer
  required

  Reviewed by: asomers
  Phabric: D1130
  Sponsored by: EMC / Isilon Storage Division
2014-11-15 05:02:06 +00:00
gjb
a568265b4e Switch stable/10 back to -STABLE now that 10.1-RELEASE
is out.

Reminded by:	rpaulo
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-11-14 23:52:06 +00:00
emaste
b81b7af08d Always return pathname in dl_iterate_phdr's dlpi_name, as Linux does
Linux LD_ITERATE_PHDR(3):
    The dlpi_name field is a null-terminated string giving the
    pathname from which the shared object was loaded.

That functionality is much more useful than returning just the short
name.

Update dl_iterate_phdr(3) to follow r272842

MFC of r272842 and r272848
2014-11-14 21:52:31 +00:00
gjb
cc923c43ad Update the FreeBSD versions in the stable/10 errata file.
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-11-14 21:12:28 +00:00
delphij
0f3a386fcd MFC r274383:
Test errno against EEXIST as well.
2014-11-14 18:30:20 +00:00
trasz
58ce7ca4f3 MFC r272717:
Remove call to access(2) which didn't serve any purpose, and make it more
tolerant to errors.

Sponsored by:	The FreeBSD Foundation
2014-11-14 10:56:33 +00:00
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