| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
that it fires between 1ms and 2ms. `
Treat two consecutive occurrences of Heartbeat failures as a legitimate
Heartbeat failure
MFC after:3 days
Notes:
svn path=/head/; revision=321233
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit message for r321173 incorrectly stated that the change disables
automatic stack growth from the AIO daemons contexts, with explanation
that this is currently prevents applying wrong resource limits. Fix
this by actually disabling the growth.
Noted by: alc
Reviewed by: alc, jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=321230
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Long objdir paths make it easy to hit the version string length limit in
kernel dump headers. The build number and timestamp are unlikely to be
truncated and ought to be sufficient to protect against false positives.
Discussed with: jhb
MFC after: 1 week
Notes:
svn path=/head/; revision=321228
|
| |
|
|
|
|
|
|
|
|
|
| |
contrib/netbsd-tests/usr.bin/diff/t_diff.sh with the name of the script via
`basename $0`.
This was a change I forgot to port over from
^/head/gnu/usr.bin/diff/tests/Makefile@r272787.
Notes:
svn path=/head/; revision=321227
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The usual case of a mismatched checksum for installer snapshots
(e.g., -CURRENT, -ALPHA*) is that a newer snapshot has been built and
the old install sets have been replaced. Provide a specific error
message for checksum mismatches there that suggests looking for a newer
snapshot.
Submitted by: Guangyuan Yang <yzgyyang@outlook.com>
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D11641
Notes:
svn path=/head/; revision=321226
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The description is FreeBSD-specific and was added in r266497
to fix PR189865.
PR: 220825
Submitted by: Fabian Keil
Obtained from: ElectroBSD
MFC after: 1 week
Notes:
svn path=/head/; revision=321218
|
| |
|
|
|
|
|
|
|
| |
Noted by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=321217
|
| |
|
|
|
|
|
|
|
|
| |
from the FreeBSD test suite.
MFC after: 3 days
MFC with: r316603
Notes:
svn path=/head/; revision=321214
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Use "atf_check -x 'cmd1 | cmd2'" instead of "cmd1 | atf_check cmd2". The
two forms are idiomatically similar, but subtly different in the sense of
what program invokes the other, and there could be unwanted side effects
of the latter idiom dealing with forking, pipes, etc.
- Remove chmod and instead source coredump_phnum_restore_state.sh directly.
This avoids the need to check the result of the chmod call.
- Fix indentation in an if-block (4 column space indentation -> hard tab).
Notes:
svn path=/head/; revision=321211
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The testcase no longer fails on ^/head because readelf has established parity
with binutils' copy of readelf.
This issue is not seen on Jenkins because
`test_suites.FreeBSD.allow_sysctl_side_effects` isn't set in kyua.conf on
the CI host, i.e., the test is skipped.
PR: 215019
Tested with: binutils (amd64-binutils-2.28,1); elftoolchain (r3561M)
Notes:
svn path=/head/; revision=321210
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mps_wait_command() and mpr_wait_command() were using getmicrotime() to
determine elapsed time when checking for a timeout in polled mode.
getmicrotime() isn't guaranteed to monotonically increase, and that
caused spurious timeouts occasionally.
Switch to using getmicrouptime(), which does increase monotonically.
This fixes the spurious timeouts in my test case.
Reviewed by: slm, scottl
MFC after: 3 days
Sponsored by: Spectra Logic
Notes:
svn path=/head/; revision=321207
|
| |
|
|
|
|
|
|
|
|
|
| |
Reported by: Coverity
CID: 1377977
MFC after: 15 days
X-MFC-With: 320975
Sponsored by: Spectra Logic Corp
Notes:
svn path=/head/; revision=321206
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=321205
|
| |
|
|
|
|
|
|
|
|
| |
Just use one variant instead of both. Use the memset/memcpy
ones since they cause less problems in crossplatform deployment.
MFC after: 1 week
Notes:
svn path=/head/; revision=321204
|
| |
|
|
|
|
|
|
|
| |
Tested by: David Miguel Almas <dmalmas gmail com>
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D11478
Notes:
svn path=/head/; revision=321203
|
| |
|
|
|
|
|
|
|
|
|
| |
Pidfile tests were disabled on arm64 (in r286863) because they hung.
They have been fixed (r306098) and so can be enabled now.
PR: 202304
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=321201
|
| |
|
|
|
|
|
|
| |
Joint work with rrs@
MFC after: 1 week
Notes:
svn path=/head/; revision=321197
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It applies to both NFS client and NFS server, and is useful for both.
This is different from vfs.nfsd.enable_stringtouid, which is specific
to server side.
Reviewed by: rmacklem@
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=321196
|
| |
|
|
|
|
|
|
|
| |
trace buffer.
MFC after: 3 days
Notes:
svn path=/head/; revision=321179
|
| |
|
|
| |
Notes:
svn path=/head/; revision=321178
|
| |
|
|
|
|
|
|
|
|
|
| |
This was originally added so that only one of diskmbr.h or diskpc98.h
was chosen and is no longer needed after PC98's removal. However, the
special handling was also broken as it effectively prevented the decoding
of ioctls declared in other headers such as <sys/disk.h> or
<sys/disklabel.h>.
Notes:
svn path=/head/; revision=321176
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
check blocking grow from other processes accesses.
Debugger may access stack grow area with ptrace(2). In this case,
real state of the process is to not have the stack grown, which
provides more accurate inspection. Technical reason to avoid the grow
is to avoid applying wrong process (debugger) stack limit.
This change also has a consequence of making aio workers accesses past
the bottom of stacks into EFAULT, arguably the situation is a
programmers mistake.
Reported by: jhb
Discussed with: alc, jhb
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Notes:
svn path=/head/; revision=321173
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If we cannot get a phy, do not detach the driver, some boards have phy
always enabled and not exposed.
While here do not release the clocks if we fails as we release them
in a10_ehci_detach.
Tested-on: OrangePi-One
Notes:
svn path=/head/; revision=321172
|
| |
|
|
|
|
|
|
|
|
|
| |
Apart from the fact that subtle syntactic changes make a poor compile-time
option, the NOHACK case has been obviously broken since it was added,
because it uses q uninitialized if (*p != '\0').
No functional change is intended.
Notes:
svn path=/head/; revision=321171
|
| |
|
|
|
|
|
|
|
| |
This makes the change cleaner and easier to backport to ^/stable/10.
MFC after: now
Notes:
svn path=/head/; revision=321138
|
| |
|
|
|
|
|
|
|
| |
will be used to call into UEFI from the kernel.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=321131
|
| |
|
|
|
|
|
|
|
|
|
| |
If ipfw_netflow_fib, the ipfw rule will only match packets in that FIB.
While here correct some value in rc.conf(5) to be int and not str.
Sponsored by: Gandi.net
Notes:
svn path=/head/; revision=321128
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I overlooked the fact that vdev_op_io_done hook is called even if the
actual I/O is skipped, for example, in the case of a missing vdev.
Arguably, this could be considered an issue in the zio pipeline engine,
but for now I am adding defensive code to check for io_bp being NULL
along with assertions that that happens only when it can be really
expected.
PR: 220691
Reported by: peter, cy
Tested by: cy
MFC after: 1 week
X-MFC with: r320156, r320452
Notes:
svn path=/head/; revision=321111
|
| |
|
|
|
|
|
| |
MFC after: now
Notes:
svn path=/head/; revision=321109
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Propagate warning flags from kern.opts.mk and then fix minor -Werror
issues when building with gcc from -Wredundant-decls, -Wnested-externs,
-Wuninitialized.
Reviewed by: davidcs
Approved by: markj (mentor)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D11413
Notes:
svn path=/head/; revision=321106
|
| |
|
|
|
|
|
|
|
|
| |
remove bootrom and boot config.
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Notes:
svn path=/head/; revision=321105
|
| |
|
|
|
|
|
|
|
|
| |
ZPL_VERSION is unsigned long long, not an int. With this change, a zpool can be
created on a 32-bit system (tested on powerpcspe) and mounted correctly.
Reviewed by: allanjude
Notes:
svn path=/head/; revision=321104
|
| |
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Notes:
svn path=/head/; revision=321103
|
| |
|
|
|
|
|
|
|
|
|
|
| |
of-line whitespace, remove excessive whitespace and blank lines, remove
dead code, follow our standard style for function definitions, and
correct grammatical and factual errors in some of the comments.
Submitted by: Doug Moore <dougm@rice.edu>
MFC after: 1 week
Notes:
svn path=/head/; revision=321102
|
| |
|
|
|
|
|
|
|
|
| |
It turns out the /next/ dragonflybsd git actually uses the scan channel list,
so just kick this along to make the next commit easier.
Obtained from: dragonflybsd.git 53a009d6f66108b40d622ed90ea95eba5c0e5432
Notes:
svn path=/head/; revision=321101
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if_iwm_scan.c.
From the original commit:
==
* Actually look at the first channel in the list. If it's a 2.4GHz channel,
set IWM_PHY_BAND_24 flag. The IWM_PHY_BAND_5 flag is 0 anyway, so we
don't need to look further.
* While there factor out the iwm_mvm_rrm_scan_needed() tlv capability check.
Taken-From: Linux iwlwifi
==
However, this only really does the latter. The sc_ic channel list isn't the
scan channel list, it's the /whole list/ for the set of active channels,
so I don't know what the right thing to do is here.
So I'll commit this as an intermediary commit and we'll have to revisit whether
to finish the refactor as-is.
Tested:
* Intel 7260, STA mode
Obtained from: dragonflybsd.git 53a009d6f66108b40d622ed90ea95eba5c0e5432
Notes:
svn path=/head/; revision=321100
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug 220398 - lio_listio(2) never sends asynchronous notification if nent==0
Bug 220459 - lio_listio(2) doesn't support SIGEV_THREAD
PR: 220459
PR: 220398
Reviewed by: cem, jhb
MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D11470
Notes:
svn path=/head/; revision=321082
|
| |
|
|
|
|
|
|
|
|
| |
This is being done to aid in debugging test runs, in the event the
output shifts due to refactored Makefiles, added tests, etc.
MFC after: 1 month
Notes:
svn path=/head/; revision=321081
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__ILP32__/__LP64__ instead of by architecture.
The list was incomplete (previous commits purged invalid architectures,
like __alpha__, but failed to add new ones). It's best to base the symbol
presence on whether or not the architecture is ILP32 / LP64 capable, per
the compiler.
This fixes the ILP32/LP64 program environments on some architectures like
arm64, and by proxy fixes the tests on those architectures.
MFC after: 1 month
Reviewed by: no one (timed out on feedback from imp)
Differential Revision: D10787
Notes:
svn path=/head/; revision=321080
|
| |
|
|
|
|
|
|
| |
MFC after: 2 months
MFC with: r321076, r321077, r321078
Notes:
svn path=/head/; revision=321079
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
i.e., when print_only is called.
Prior to this change, -rq was always returning 0. After this change it will
return 1 if there is a difference between two directories.
This fixes compatibility with GNU diff and unbreaks backwards compatibility
expectations.
Found when trying to extend diff_test:brief_format_test.
MFC after: 2 months
MFC with: r321076, r321077
Notes:
svn path=/head/; revision=321078
|
| |
|
|
|
|
|
|
| |
MFC after: 2 months
MFC with: r321076
Notes:
svn path=/head/; revision=321077
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
-q is specified.
This improves compatibility with GNU diff.
Found by accident with `diff -Nrq /usr/tests /usr/tests.new | grep Kyuafile`.
MFC after: 2 months
Relnotes: yes
Notes:
svn path=/head/; revision=321076
|
| |
|
|
|
|
|
|
|
|
|
| |
This fixes panics when using AIO under VIMAGE.
Reported by: kp
MFC after: 3 days
Sponsored by: Chelsio Communications
Notes:
svn path=/head/; revision=321075
|
| |
|
|
|
|
|
|
|
|
| |
usage in rc.conf(5)
Reported by: markj
Sponsored by: Gandi.net
Notes:
svn path=/head/; revision=321072
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Deal with changes to port_type, and not just port_mod when a
transceiver is changed. This fixes hot swapping of transceivers of
different types (QSFP+ or QSA or QSFP28 in a QSFP28 port, SFP+ or
SFP28 in a SFP28 port, etc.).
- Always refresh media information for ifconfig if the port is down.
The firmware does not generate tranceiver-change interrupts unless at
least one VI is enabled on the physical port. Before this change
ifconfig diplayed potentially stale information for ports that were
administratively down.
- Always recalculate and reapply L1 config on a transceiver change.
- Display PAUSE settings in ifconfig. The driver sysctls for this
continue to work as well.
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Notes:
svn path=/head/; revision=321063
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that start in 1970, assume most conversions are going to be for recent dates
and use a precomputed number of days through the end of 2016.
This is a do-over of r320997, hopefully this time with 100% more workiness.
The first attempt had an off-by-one error, but instead of just adding
another mysterious +1 adjustment, this rearranges the relationship between
recent_base_year and recent_base_days so that the latter is the number of
days that occurred before the start of the associated year (instead of the
count thru the end of that year). This makes the recent_base stuff work
more like the original loop logic that didn't need any +1 adjustments.
Notes:
svn path=/head/; revision=321048
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Previously these were shown only for MIPS objects.
Obtained from: ELF Tool Chain r3564
MFC after: 1 week
MFC with: r321045
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=321046
|
| |
|
|
|
|
|
|
|
|
|
| |
Some non-processor-specific DT_* values overlap the range DT_LOPROC to
DT_HIPROC. Handle common ones first, then the processor-specific ones.
Obtained from: ELF Tool Chain r3563
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=321045
|
| |
|
|
|
|
|
|
| |
Tested by: pho
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=321041
|