|
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 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0 |
|
| #
a71ea7be |
| 22-Jul-2022 |
Emmanuel Vadot <[email protected]> |
pkgbase: Put zfs utilities and lib in their own package
It is useful to have zfs utilities and lib in a separate package as it allow users to create image that can support ZFS (i.e. not with WITHOUT
pkgbase: Put zfs utilities and lib in their own package
It is useful to have zfs utilities and lib in a separate package as it allow users to create image that can support ZFS (i.e. not with WITHOUT_ZFS in src.conf set) without bloating the default image with all zfs tools (for example for jails).
Differential Revision: https://reviews.freebsd.org/D36225
show more ...
|
| #
e67b2467 |
| 03-Oct-2022 |
John Baldwin <[email protected]> |
libzpool: Disable -Wuse-after-free for dbuf.c.
The debug traces for reference counting in ZFS use the pointer of the owning object as a "tag" for references to check that when an object drops a refe
libzpool: Disable -Wuse-after-free for dbuf.c.
The debug traces for reference counting in ZFS use the pointer of the owning object as a "tag" for references to check that when an object drops a reference it had actually held one. In a couple of places ZFS drops references after freeing the owning object. In userland GCC realizes this is a use after free. However, since only the value of the pointer is used, and it isn't indirected, the use is harmless.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D36818
show more ...
|
|
Revision tags: release/13.1.0 |
|
| #
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, release/13.0.0 |
|
| #
b363d3d5 |
| 08-Jan-2021 |
Matt Macy <[email protected]> |
OpenZFS: Fix issues caused by reversed commits + rebase
|
|
Revision tags: release/12.2.0 |
|
| #
e307eb94 |
| 21-Sep-2020 |
Toomas Soome <[email protected]> |
loader: zfs should support bootonce an nextboot
bootonce feature is temporary, one time boot, activated by "bectl activate -t BE", "bectl activate -T BE" will reset the bootonce flag.
By default, t
loader: zfs should support bootonce an nextboot
bootonce feature is temporary, one time boot, activated by "bectl activate -t BE", "bectl activate -T BE" will reset the bootonce flag.
By default, the bootonce setting is reset on attempt to boot and the next boot will use previously active BE.
By setting zfs_bootonce_activate="YES" in rc.conf, the bootonce BE will be set permanently active.
bootonce dataset name is recorded in boot pool labels, bootenv area.
in case of nextboot, the nextboot_enable boolean variable is recorded in freebsd:nvstore nvlist, also stored in boot pool label bootenv area. On boot, the loader will process /boot/nextboot.conf if nextboot_enable is "YES", and will set nextboot_enable to "NO", preventing /boot/nextboot.conf processing on next boot.
bootonce and nextboot features are usable in both UEFI and BIOS boot.
To use bootonce/nextboot features, the boot loader needs to be updated on disk; if loader.efi is stored on ESP, then ESP needs to be updated and for BIOS boot, stage2 (zfsboot or gptzfsboot) needs to be updated (gpart or other tools).
At this time, only lua loader is updated.
Sponsored by: Netflix, Klara Inc. Differential Revision: https://reviews.freebsd.org/D25512
show more ...
|
| #
2a6803de |
| 14-Sep-2020 |
Andrew Turner <[email protected]> |
Use MACHINE_CPUARCH when checking for arm64
Use MACHINE_CPUARCH with arm64 (aarch64) when we build code that could run on any 64-bit Arm instruction set. This will simplify checks in downstream cons
Use MACHINE_CPUARCH when checking for arm64
Use MACHINE_CPUARCH with arm64 (aarch64) when we build code that could run on any 64-bit Arm instruction set. This will simplify checks in downstream consumers targeting prototype instruction sets.
The only place we check for MACHINE_ARCH == aarch64 is when building the device tree blobs. As these are targeting current generation ISAs.
Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D26370
show more ...
|
| #
507cf10a |
| 26-Aug-2020 |
Ryan Moeller <[email protected]> |
Move zstd sources from libzfs to libzpool
zstd is kernel code that was not supposed to be in libzfs.
libzpool provides userland shims for kernel code and is where the zstd code needs to be included
Move zstd sources from libzfs to libzpool
zstd is kernel code that was not supposed to be in libzfs.
libzpool provides userland shims for kernel code and is where the zstd code needs to be included.
Reported by: John Kennedy Discussed with: mmacy Sponsored by: iXsystems, Inc.
show more ...
|
| #
67c97ec2 |
| 26-Aug-2020 |
Ryan Moeller <[email protected]> |
Tidy up libzpool Makefile
Sponsored by: iXsystems, Inc.
|
| #
89509c95 |
| 25-Aug-2020 |
Brandon Bergren <[email protected]> |
[PowerPC] Apply the ppc32 GOT overflow fix to powerpcspe
powerpcspe is also a 32 bit ppc platform, and also needs to be -fPIC to avoid overflowing the GOT.
Sponsored by: Tag1 Consulting, Inc.
|
| #
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 ...
|
| #
8f11c997 |
| 28-Jul-2020 |
Yoshihiro Takahashi <[email protected]> |
- Cleanups related to sparc64 removal. - Remove remains of sparc64 files.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D25831
|
|
Revision tags: release/11.4.0 |
|
| #
b0ad855d |
| 02-Dec-2019 |
Toomas Soome <[email protected]> |
libzpool: use CFLAGS.lz4.c to build lz4.o and lz4.pico
Clean up this Makefile a bit.
|
| #
24e1a7ac |
| 02-Nov-2019 |
Toomas Soome <[email protected]> |
r354253 did miss the fact that libzpool is built as fake kernel
We build libzpool as kernel like, use _FAKE_KERNEL check to include kernel api in libzpool.
|
| #
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, release/11.3.0, release/12.0.0 |
|
| #
d12e91d5 |
| 21-Aug-2018 |
Matt Macy <[email protected]> |
Make dnode definition uniform on !x86
gcc4 requires -fms-extensions to accept anonymous union members
|
| #
7fca1b93 |
| 02-Aug-2018 |
Alexander Motin <[email protected]> |
Do not blindly include illumos kernel headers instead of user-space. It is not needed now, and I doubt it much helped at all, creating more confusions then good.
|
|
Revision tags: release/11.2.0, release/10.4.0 |
|
| #
bab31140 |
| 09-Sep-2017 |
Jonathan Anderson <[email protected]> |
Remove redundant source and object files.
Reviewed by: bdrewery, ngie MFC after: 1 week Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D12208
|
|
Revision tags: release/11.1.0 |
|
| #
acc37ca1 |
| 04-Mar-2017 |
Enji Cooper <[email protected]> |
cddl: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
While here, remove bogus CFLAGS which look for headers in cddl/lib/libumem. There aren't any
cddl: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
While here, remove bogus CFLAGS which look for headers in cddl/lib/libumem. There aren't any source files there (just Makefiles)
MFC after: 1 month Sponsored by: Dell EMC Isilon
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
eacae6dc |
| 04-Dec-2015 |
Bryan Drewery <[email protected]> |
Fix LDADD/DPADD that should be LIBADD.
Sponsored by: EMC / Isilon Storage Division
|
|
Revision tags: release/10.2.0, release/10.1.0 |
|
| #
c36047bd |
| 03-Oct-2014 |
Xin LI <[email protected]> |
Add dependencies to various libraries to libzfs and libzpool.
Submitted by: sef
|
|
Revision tags: release/9.3.0 |
|
| #
e7d939bd |
| 07-Jul-2014 |
Marcel Moolenaar <[email protected]> |
Remove ia64.
This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in com
Remove ia64.
This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation
This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h
Discussed at: BSDcan
show more ...
|
| #
98407b8b |
| 25-Apr-2014 |
Warner Losh <[email protected]> |
Spell NO_PROFILE= as MK_PROFILE=no.
|
|
Revision tags: release/10.0.0, release/9.2.0 |
|
| #
5a5347c3 |
| 27-Aug-2013 |
Will Andrews <[email protected]> |
Build all ZFS testing & debugging tools with -g.
These programs and everything using libzpool rely on the embedded asserts to verify the correctness of operations. Given that, the core dumps would
Build all ZFS testing & debugging tools with -g.
These programs and everything using libzpool rely on the embedded asserts to verify the correctness of operations. Given that, the core dumps would be useless without debug symbols.
show more ...
|
|
Revision tags: release/8.4.0, release/9.1.0 |
|
| #
bcb77be2 |
| 23-Sep-2012 |
Pawel Jakub Dawidek <[email protected]> |
Add TRIM support.
The code builds a map of regions that were freed. On every write the code consults the map and eventually removes ranges that were freed before, but are now overwritten.
Freed blo
Add TRIM support.
The code builds a map of regions that were freed. On every write the code consults the map and eventually removes ranges that were freed before, but are now overwritten.
Freed blocks are not TRIMed immediately. There is a tunable that defines how many txg we should wait with TRIMming freed blocks (64 by default).
There is a low priority thread that TRIMs ranges when the time comes. During TRIM we keep in-flight ranges on a list to detect colliding writes - we have to delay writes that collide with in-flight TRIMs in case something will be reordered and write will reached the disk before the TRIM. We don't have to do the same for in-flight writes, as colliding writes just remove ranges to TRIM.
Sponsored by: multiplay.co.uk
This work includes some important fixes and some improvements obtained from the zfsonlinux project, including TRIMming entire vdevs on pool create/add/attach and on pool import for spare and cache vdevs.
Obtained from: zfsonlinux Submitted by: Etienne Dechamps <[email protected]>
show more ...
|