| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The feature is implemented as an extension of the existing
ZFS_IOC_RENAME ioctl. Both the userland and the DSL interfaces support
renaming only a single bookmark at a time. As of now, there is no ZCP
interface to the new functionality. I am going to add it once the DSL
interface passes a test of time.
This change picks up support for zfs_ioc_namecheck_t::ENTITY_NAME that
was added to ZoL as part of Redacted Send/Receive feature by Paul
Dagnelie <pcd@delphix.com>. This is needed to allow a bookmark name in
zc_name.
Discussed with: mahrens
Reviewed by: bcr (man page)
Sponsored by: CyberSecure
Differential Revision: https://reviews.freebsd.org/D21795
Notes:
svn path=/head/; revision=353037
|
|
|
|
|
|
|
|
|
|
|
| |
tmpfs/tmpfs_vnodes.c.
Submitted by: ota@j.email.ne.jp
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D21881
Notes:
svn path=/head/; revision=353033
|
|
|
|
|
|
|
| |
Pointy hat to: glebius
Notes:
svn path=/head/; revision=353030
|
|
|
|
|
|
|
| |
MFC after: 5 weeks
Notes:
svn path=/head/; revision=353027
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
can handle. Instead using an array on node private data, use per-hook
private data.
- Use NG_NODE_FOREACH_HOOK() to traverse through hooks instead of array.
PR: 240787
Submitted by: Lutz Donnerhacke <lutz donnerhacke.de>
Differential Revision: https://reviews.freebsd.org/D21803
Notes:
svn path=/head/; revision=353026
|
|
|
|
| |
Notes:
svn path=/head/; revision=353025
|
|
|
|
|
|
|
| |
related to redirecting stdout and stderr.
Notes:
svn path=/head/; revision=353024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was defined with the wrong MACHINE_ARCH previously. This permits
using an MFS image without defining MD_ROOT_SIZE which has various
benefits (one being that the build is able to treat the MFS image as
a dependency and properly re-link the kernel with the new image when
building with NO_CLEAN).
MFC after: 2 weeks
Sponsored by: DARPA
Notes:
svn path=/head/; revision=353023
|
|
|
|
|
|
|
|
|
|
| |
dual-dhclient-daemon daemon. This makes it possible to stop/restart
the dhclients.
MFC after: 1 month
Notes:
svn path=/head/; revision=353022
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MAXPATHLEN / PATH_MAX includes space for the terminating NUL, and namei
verifies the presence of the NUL. Thus there is no need to increase the
buffer size here.
The sysctl passes the string excluding the NUL, so req->newlen equal to
PATH_MAX is too long.
Reviewed by: kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21876
Notes:
svn path=/head/; revision=353021
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Regression introduced in r343629 when malloc result was renamed from spa to
spa_mapping and the 'spa' name was instead used to iterate a table, but the
free() target was not updated.
Reviewed by: kib, scottph
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D21871
Notes:
svn path=/head/; revision=353020
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GCC uses "dynamic" TLS models when -fpic or -fPIC is explicitly
specified on the command line (which is only true for shared libraries).
It uses "static" (or "exec") TLS models otherwise. In particular, GCC
does _not_ use dynamic TLS models when PIC is implicitly enabled (which
it is on MIPS), only if a PIC flag is explicitly provided.
llvm uses "dynamic" TLS models if PIC is enabled either via a PIC flag
or if it is implicily enabled (as on MIPS64). This means that llvm on
MIPS64 always uses "dynamic" TLS models. However, dynamic TLS models
do not work for static binaries and libraries as the __tls_get_addr
function they invoke is only defined in rtld.
Written by: jhb
Reviewed by: arichardson
Differential Revision: https://reviews.freebsd.org/D21699
Notes:
svn path=/head/; revision=353019
|
|
|
|
|
|
|
|
|
|
|
|
| |
Various bits in usr.bin/clang/* will fail to compile without -mxgot due to
truncated relocations. -mxgot entails a speed penalty, but I suspect we
don't care as much about compiler performance in 32-bit mips land.
Reviewed by: arichardson
Differential Revision: https://reviews.freebsd.org/D21698
Notes:
svn path=/head/; revision=353018
|
|
|
|
|
|
|
|
|
|
| |
Most of this diff is refactoring to reduce duplication between the different
acq_ and rel_ variants.
Differential Revision: https://reviews.freebsd.org/D21822
Notes:
svn path=/head/; revision=353017
|
|
|
|
|
|
|
|
|
|
| |
Most of this diff is refactoring to reduce duplication between the different
acq_ and rel_ variants.
Differential Revision: https://reviews.freebsd.org/D21822
Notes:
svn path=/head/; revision=353016
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provide *cmpset_{8,16} as wrappers around atomic_fcmpset_32. Initial users
will be mips and sparc64, and perhaps parts of powerpc.
This are not for general consumption; machine/atomic.h should include this
header as needed to provide atomic_{,f}cmpset_{8,16} and machine/atomic.h
should provide acq_ and rel_ variants.
Reviewed by: jhibbits, kib
Differential Revision: https://reviews.freebsd.org/D21822
Notes:
svn path=/head/; revision=353015
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OBJT_DEFAULT incurs some unnecessary overhead given that kernel module
pages cannot be paged out.
Reviewed by: alc, kib
MFC after: 1 week
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D21862
Notes:
svn path=/head/; revision=353014
|
|
|
|
|
|
|
|
|
|
|
| |
No functional change intended.
Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D21866
Notes:
svn path=/head/; revision=353013
|
|
|
|
|
|
|
|
|
|
|
|
| |
is explicitly added.
Requested by: rgrimes
MFC after: 3 days
MFC with: r353004
Sponsored by: Rubicon Communications, LLC (Netgate)
Notes:
svn path=/head/; revision=353012
|
|
|
|
|
|
|
| |
Requested by: cem
Notes:
svn path=/head/; revision=353011
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The mountpoint may not have defined an iosize parameter, so an attempt
to configure readahead on a device file can lead to a divide-by-zero
crash.
The sequential heuristic is not applied to I/O to or from device files,
and posix_fadvise(2) returns an error when v_type != VREG, so perform
the same check here.
Reported by: syzbot+e4b682208761aa5bc53a@syzkaller.appspotmail.com
Reviewed by: kib
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21864
Notes:
svn path=/head/; revision=353010
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The debug level generally just controls verbosity of libusb for debugging
libusb devices/usage. We allow the environment to set the debug level
independent of the application, but the application will always override
this if it explicitly sets the debug level.
Changing the environment is easy, but patching the software to change the
debug level isn't necessarily easy or possible. Further, there's this
write-only debug_fixed variable that would seem to imply that the debug
level should be fixed, but it isn't currently used. Change the logic to use
strtol() so we can detect real 0 vs. conversion failure, then honor
debug_fixed in libusb_set_debug.
Reviewed by: hselasky
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D21877
Notes:
svn path=/head/; revision=353009
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For ll/sc architectures, atomic(9) allows failure modes where *old == val
due to write failure and callers should compensate for this. Do not retry on
failure, just leave 0 in ret and fail the operation if we couldn't sc it.
This lets the caller determine if it should retry or not.
Reviewed by: kib
Looks ok: imp
Differential Revision: https://reviews.freebsd.org/D21836
Notes:
svn path=/head/; revision=353008
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
installer when installing the system on a ZFS root filesystem.
For arm64, zfs_load="YES" does not add opensolaris.ko as a kld
dependency, so add it explicitly to prevent boot-time failures
out-of-box.
PR: 240478
MFC after: 3 days
Sponsored by: Rubicon Communications, LLC (Netgate)
Notes:
svn path=/head/; revision=353004
|
|
|
|
|
|
|
|
|
|
| |
r352950 introduced improper case fall-through for shell scripts. Fix it with
a pipe.
Reported by: lwhsu, David Wolfskill
Notes:
svn path=/head/; revision=353002
|
|
|
|
|
|
|
|
|
|
| |
not using static variable declared by net/sff8472.h .
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=353001
|
|
|
|
|
|
|
|
|
|
| |
incorrect printf() formatter string.
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=353000
|
|
|
|
|
|
|
|
|
|
|
|
| |
it's entirely linux-specific.
Reviewed by: emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21830
Notes:
svn path=/head/; revision=352999
|
|
|
|
|
|
|
|
| |
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352998
|
|
|
|
|
|
|
|
|
|
|
| |
in case the strings are not available.
Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352997
|
|
|
|
|
|
|
|
|
| |
Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352996
|
|
|
|
|
|
|
|
|
|
|
| |
in mlx5en(4).
Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352995
|
|
|
|
|
|
|
|
|
| |
Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352994
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PRM suggests random 0 - 10ms to prevent multiple waiters on the same
interval in order to avoid starvation.
Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352993
|
|
|
|
|
|
|
|
|
|
|
| |
which is also size_t in mlx5tool(8).
Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352992
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before attempting to initialize the command interface we must wait till
the fw_initializing bit is clear.
If we fail to meet this condition the hardware will drop our
configuration, specifically the descriptors page address. This scenario
can happen when the firmware is still executing an FLR flow and did not
finish yet so the driver needs to wait for that to finish.
Linux commits:
6c780a0267b8
b8a92577f4be.
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352991
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in mlx5en(4) after r348254.
The unlimited send tags are shared amount multiple connections and are
not allocated per send tag allocation request. Only increment the refcount.
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352990
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It may happen during link down that the running state may be observed
non-zero in the transmit routine, right before the running state is
cleared. This may end up using a destroyed mutex.
Make all channel mutexes and callouts persistant.
Preserve receive and send queue statistics during link toggle.
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352989
|
|
|
|
|
|
|
|
| |
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352988
|
|
|
|
|
|
|
|
|
|
|
| |
Use value from priv structure instead.
This saves some space in the channel structure.
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352987
|
|
|
|
|
|
|
|
|
| |
Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352986
|
|
|
|
|
|
|
|
|
|
| |
in mlx5en(4).
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352985
|
|
|
|
|
|
|
|
|
| |
Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352984
|
|
|
|
|
|
|
|
|
|
|
|
| |
in mlx5core. The EEPROM information is not only a property of the
mlx5en(4) driver.
Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352983
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following sysctls are added:
dev.mce.N.conf.qos.cable_length
dev.mce.N.conf.qos.buffers_size
dev.mce.N.conf.qos.buffers_prio
Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352982
|
|
|
|
|
|
|
|
|
| |
Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352981
|
|
|
|
|
|
|
|
|
| |
Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352980
|
|
|
|
|
|
|
|
|
| |
Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352979
|
|
|
|
|
|
|
|
|
| |
Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352978
|
|
|
|
|
|
|
|
|
| |
Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=352977
|