|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
031beb4e |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
b36f469a |
| 17-Jul-2023 |
Yuri Pankov <[email protected]> |
zfs: set autotrim default to 'off'
As it turns out having autotrim default to 'on' on FreeBSD never really worked due to mess with defines where userland and kernel module were getting different def
zfs: set autotrim default to 'off'
As it turns out having autotrim default to 'on' on FreeBSD never really worked due to mess with defines where userland and kernel module were getting different default values (userland was defaulting to 'off', module was thinking it's 'on').
PR: 264234 Reviewed by: mav (zfs) Differential Revision: https://reviews.freebsd.org/D41056
show more ...
|
|
Revision tags: release/13.2.0 |
|
| #
dddb1aec |
| 22-Mar-2023 |
John Baldwin <[email protected]> |
sys: Retire OPENZFS_CWARNFLAGS now that it is empty.
Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D39217
|
| #
32661319 |
| 21-Dec-2022 |
John Baldwin <[email protected]> |
Fix spelling of NO_WINFINITE_RECURSION.
Reported by: dim Fixes: 2e08e4b75ea1 zfs: Fix build with GCC 12.
|
| #
2e08e4b7 |
| 21-Dec-2022 |
John Baldwin <[email protected]> |
zfs: Fix build with GCC 12.
Silence -Winfinite-recursion for ldo.c in lua and -Wstringop-overread for nvpair.c.
Reviewed by: mm Differential Revision: https://reviews.freebsd.org/D37631
|
|
Revision tags: release/12.4.0 |
|
| #
e726e710 |
| 26-Jul-2022 |
Dimitry Andric <[email protected]> |
Suppress unused variable warning for zfs_fm.c
With clang 15, the following -Werror warning is produced:
sys/contrib/openzfs/module/zfs/zfs_fm.c:256:6: error: variable 'cnt' set but not used [-W
Suppress unused variable warning for zfs_fm.c
With clang 15, the following -Werror warning is produced:
sys/contrib/openzfs/module/zfs/zfs_fm.c:256:6: error: variable 'cnt' set but not used [-Werror,-Wunused-but-set-variable] int cnt = 0; ^
The 'cnt' variable does not seem to be used for anything, but since this is contributed code, suppress the warning instead.
MFC after: 3 days
show more ...
|
| #
52f6e63a |
| 24-Jun-2022 |
Andrew Turner <[email protected]> |
Fix the zfs build for arm64
Remove -mgeneral-regs-only when building the arm64 blake3 code. It uses simd instructions so will use non-general purpose registers.
Sponsored by: The FreeBSD Foundation
|
|
Revision tags: release/13.1.0 |
|
| #
a95c7001 |
| 13-Apr-2022 |
John Baldwin <[email protected]> |
zfs: Disable -Wunused-but-set-variable for dnode.c.
dn is only used by DNODE_VERIFY (conditional on ZFS_DEBUG) in dnode_special_open.
|
| #
0c348b97 |
| 08-Apr-2022 |
John Baldwin <[email protected]> |
zfs: Disable -Wunused-but-set-variable for a few files in zstd.
FSE_createCTable raises the warning because we stub out malloc() to NULL in the kernel, so the passed in size is unused.
ZSTD_seqDeco
zfs: Disable -Wunused-but-set-variable for a few files in zstd.
FSE_createCTable raises the warning because we stub out malloc() to NULL in the kernel, so the passed in size is unused.
ZSTD_seqDecompressedSize has a variable whose value is only used in assertions.
NB: These files are missing corresponding entries in sys/conf/files.
show more ...
|
| #
2ea6414e |
| 09-Mar-2022 |
Ryan Moeller <[email protected]> |
zfs: Fix typo in module Makefile
Fixes: c03c5b1c8091 Sponsored by: iXsystems, Inc.
|
| #
5f2aca83 |
| 08-Feb-2022 |
Dimitry Andric <[email protected]> |
Disable clang 14 warning about bitwise operators in zstd
Parts of zstd, used in openzfs and other places, trigger a new clang 14 -Werror warning:
``` sys/contrib/zstd/lib/decompress/huf_decompress.
Disable clang 14 warning about bitwise operators in zstd
Parts of zstd, used in openzfs and other places, trigger a new clang 14 -Werror warning:
``` sys/contrib/zstd/lib/decompress/huf_decompress.c:889:25: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical] (BIT_reloadDStreamFast(&bitD1) == BIT_DStream_unfinished) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
While the warning is benign, it should ideally be fixed upstream and then vendor-imported, but for now silence it selectively.
MFC after: 3 days
show more ...
|
|
Revision tags: release/12.3.0 |
|
| #
2e946f87 |
| 17-Nov-2021 |
Allan Jude <[email protected]> |
Fix ZFS module build
resolves: link_elf_obj: symbol abd_checksum_edonr_native undefined
The required module-build bits were originally identified in the upstream pull request: https://github.com/op
Fix ZFS module build
resolves: link_elf_obj: symbol abd_checksum_edonr_native undefined
The required module-build bits were originally identified in the upstream pull request: https://github.com/openzfs/zfs/pull/12735 But were missed when the code was imported (since they are not committed upstream).
X-MFC-With: dae1713419a6, 09cd63416051 Submitted by: freqlabs Sponsored by: Klara Inc.
show more ...
|
|
Revision tags: release/13.0.0 |
|
| #
8ea35c45 |
| 15-Mar-2021 |
Alexander Motin <[email protected]> |
Include ccompile.h after opt_global.h.
This restores INVARIANTS enabling ZFS_DEBUG when built as module.
Discussed with: freqlabs MFC after: 1 week
|
| #
174a7e57 |
| 20-Jan-2021 |
Alan Somers <[email protected]> |
ZFS: fix assertions with INVARIANTS
AFAICT, this was an oversight from 9e5787d2284e187abb5b654d924394a65772e004 (svn r364746). That revision inadvertently disabled assertions unconditionally.
Revi
ZFS: fix assertions with INVARIANTS
AFAICT, this was an oversight from 9e5787d2284e187abb5b654d924394a65772e004 (svn r364746). That revision inadvertently disabled assertions unconditionally.
Reviewed by: freqlabs MFC after: 3 days Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D28256
show more ...
|
| #
b363d3d5 |
| 08-Jan-2021 |
Matt Macy <[email protected]> |
OpenZFS: Fix issues caused by reversed commits + rebase
|
| #
d021434a |
| 27-Dec-2020 |
Ryan Libby <[email protected]> |
openzfs: fix gcc kernel module builds
- Suppress -Wredundant-decls. Ultimately this warning is harmless in any case, and it does not look like there is a simple way to avoid redundant declar
openzfs: fix gcc kernel module builds
- Suppress -Wredundant-decls. Ultimately this warning is harmless in any case, and it does not look like there is a simple way to avoid redundant declarations in this case without a lot of header pollution (e.g. having openzfs's shim param.h pulling in sys/kernel.h for hz). - Suppress -Wnested-externs, which is useless anyway.
Unfortunately it was not sufficient just to modify OPENZFS_CFLAGS, because the warning suppressions need to appear on the command line after they are explicitly enabled by CWARNFLAGS from sys/conf/kern.mk, but OPENZFS_CFLAGS get added before due to use of -I for the shims.
Reviewed by: markj Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27685
show more ...
|
| #
ec5c07fc |
| 11-Dec-2020 |
Ryan Libby <[email protected]> |
zfs: quiet gcc -Wmissing-include-dirs
Don't tell it to look for headers in a non-existent directory.
Reviewed by: imp, mmacy Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.fre
zfs: quiet gcc -Wmissing-include-dirs
Don't tell it to look for headers in a non-existent directory.
Reviewed by: imp, mmacy Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27565
show more ...
|
|
Revision tags: release/12.2.0 |
|
| #
692aa83d |
| 08-Sep-2020 |
Matt Macy <[email protected]> |
ZFS: remove some extra defines
When merging a number of defines that are needed in the standalone build made it in to the module makefile.
Reported by: markj@
|
| #
b6c3b1a9 |
| 04-Sep-2020 |
Mark Johnston <[email protected]> |
Stop setting DEBUG_FLAGS in the zfs.ko Makefile.
Rely on system settings to decide whether or not to build with debug symbols and extract them to a separate file.
Reported and tested by: rm
|
| #
78ec71bd |
| 25-Aug-2020 |
Brandon Bergren <[email protected]> |
[PowerPC] More preemptive powerpcspe ZFS build fixes
I went through the merge and found the rest of the instances where ${MACHINE_ARCH} == "powerpc" was being used to detect 32-bit and adjusted the
[PowerPC] More preemptive powerpcspe ZFS build fixes
I went through the merge and found the rest of the instances where ${MACHINE_ARCH} == "powerpc" was being used to detect 32-bit and adjusted the rest of the instances to also check for powerpcspe.
mips32* will probably want to do the same.
Sponsored by: Tag1 Consulting, Inc.
show more ...
|
| #
4d5d7201 |
| 25-Aug-2020 |
Ryan Moeller <[email protected]> |
Fix zstd in OpenZFS module with CPUTYPE?=<something with BMI>
The build breaks when something adds -march=<something with BMI> to the compiler flags, for example CPUTYPE?=native. When the arch supp
Fix zstd in OpenZFS module with CPUTYPE?=<something with BMI>
The build breaks when something adds -march=<something with BMI> to the compiler flags, for example CPUTYPE?=native. When the arch supports BMI, __BMI__ is defined and zstd.c tries to include immintrin.h, which is not present when building the kernel.
Disable experimental BMI intrinsics in zstd in the OpenZFS kernel module by explicitly undefining __BMI__ for zstd.c.
A similar fix was needed for the original zstd import, done in r327738.
Reported by: Jakob Alvermark Discussed with: mmacy Sponsored by: iXsystems, Inc.
show more ...
|
| #
9e5787d2 |
| 25-Aug-2020 |
Matt Macy <[email protected]> |
Merge OpenZFS support in to HEAD.
The primary benefit is maintaining a completely shared code base with the community allowing FreeBSD to receive new features sooner and with less effort.
I would a
Merge OpenZFS support in to HEAD.
The primary benefit is maintaining a completely shared code base with the community allowing FreeBSD to receive new features sooner and with less effort.
I would advise against doing 'zpool upgrade' or creating indispensable pools using new features until this change has had a month+ to soak.
Work on merging FreeBSD support in to what was at the time "ZFS on Linux" began in August 2018. I first publicly proposed transitioning FreeBSD to (new) OpenZFS on December 18th, 2018. FreeBSD support in OpenZFS was finally completed in December 2019. A CFT for downstreaming OpenZFS support in to FreeBSD was first issued on July 8th. All issues that were reported have been addressed or, for a couple of less critical matters there are pull requests in progress with OpenZFS. iXsystems has tested and dogfooded extensively internally. The TrueNAS 12 release is based on OpenZFS with some additional features that have not yet made it upstream.
Improvements include: project quotas, encrypted datasets, allocation classes, vectorized raidz, vectorized checksums, various command line improvements, zstd compression.
Thanks to those who have helped along the way: Ryan Moeller, Allan Jude, Zack Welch, and many others.
Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D25872
show more ...
|
|
Revision tags: release/11.4.0 |
|
| #
e499793e |
| 02-Nov-2019 |
Toomas Soome <[email protected]> |
Remove duplicate lz4 implementations
Port illumos change: https://www.illumos.org/issues/11667
Move lz4.c out of zfs tree to opensolaris/common/lz4, adjust it to be usable from kernel/stand/userlan
Remove duplicate lz4 implementations
Port illumos change: https://www.illumos.org/issues/11667
Move lz4.c out of zfs tree to opensolaris/common/lz4, adjust it to be usable from kernel/stand/userland builds, so we can use just one single source. Add lz4.h to declare lz4_compress() and lz4_decompress().
MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D22037
show more ...
|
|
Revision tags: release/12.1.0 |
|
| #
a15cb219 |
| 07-Aug-2019 |
Xin LI <[email protected]> |
Expose zlib's utility functions in Z_SOLO library when building kernel. This allows kernel code to reuse zlib's implementation.
PR: 229763 Reviewed by: Yoshihiro Ota <ota j email ne jp> Relnotes: y
Expose zlib's utility functions in Z_SOLO library when building kernel. This allows kernel code to reuse zlib's implementation.
PR: 229763 Reviewed by: Yoshihiro Ota <ota j email ne jp> Relnotes: yes Differential Revision: https://reviews.freebsd.org/D21156
show more ...
|
| #
0ed1d6fb |
| 01-Aug-2019 |
Xin LI <[email protected]> |
Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, with an eventual goal to convert all legacl zlib callers to the new zlib version:
* Move generic zlib shims that are not s
Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, with an eventual goal to convert all legacl zlib callers to the new zlib version:
* Move generic zlib shims that are not specific to zlib 1.0.4 to sys/dev/zlib. * Connect new zlib (1.2.11) to the zlib kernel module, currently built with Z_SOLO. * Prefix the legacy zlib (1.0.4) with 'zlib104_' namespace. * Convert sys/opencrypto/cryptodeflate.c to use new zlib. * Remove bundled zlib 1.2.3 from ZFS and adapt it to new zlib and make it depend on the zlib module. * Fix Z_SOLO build of new zlib.
PR: 229763 Submitted by: Yoshihiro Ota <ota j email ne jp> Reviewed by: markm (sys/dev/zlib/zlib_kmod.c) Relnotes: yes Differential Revision: https://reviews.freebsd.org/D19706
show more ...
|