Skip to content

zfs-2.3.2 patchset #17214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 78 commits into
base: zfs-2.3-release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
5f70370
Revert "zinject: count matches and injections for each handler" (#17137)
robn Mar 24, 2025
a901229
Linux 6.14 compat: META (#17098) (#17172)
tonyhutter Mar 25, 2025
bb05632
ZTS: replace all uses of /var/tmp with TEST_BASE_DIR
robn Feb 14, 2025
fcd0a2f
ZTS: zfs-tests: use configured FILEDIR for all temp paths
robn Feb 14, 2025
c48d819
ZTS: runfiles: remove explicit outputdir
robn Feb 14, 2025
c2a1ea3
ZTS: test-runner: always apply timestamp to outputdir before updating
robn Feb 14, 2025
a1786ca
ZTS: zfs-tests: set TMPDIR to FILEDIR
robn Feb 15, 2025
6f8ff94
ZTS: make uses of mktemp consistent
robn Feb 15, 2025
95bd9d4
ZTS: replace uses of TMPDIR with mktemp
robn Feb 15, 2025
8100e47
Add more DDT tests
pcd1193182 Mar 5, 2025
f145371
Check portable objset MAC even if local is zeroed
amotin Mar 9, 2025
a2c5295
zed: Print return code on failed zpool_prepare_disk
tonyhutter Mar 12, 2025
112dca3
linux: zvols: correctly detect flush requests (#17131)
Fabian-Gruenbichler Mar 12, 2025
49da67e
AUTHORS: refresh with recent new contributors
robn Mar 13, 2025
ad07b09
Verify every block pointer is either embedded, hole, or has a valid DVA
asomers Mar 13, 2025
6503f8c
Linux/vnops: implement STATX_DIOALIGN
robn Mar 13, 2025
53cbf06
Fix deduplication of overridden blocks
amotin Mar 13, 2025
91656b4
Update FreeBSD CI images
asomers Mar 13, 2025
52f3f92
Add receive:append permission for limited receive
shodanshok Mar 13, 2025
3062b38
spa_sync_props: remove pool userprops by setting empty-string
robn Dec 19, 2024
4541c95
ZTS: test clearing pool and vdev userprops
robn Dec 19, 2024
059ab2d
ZTS: ICP encryption tests
robn Feb 19, 2025
9530eb6
SPDX: license tags: CDDL-1.0
robn Jan 4, 2025
865ca57
SPDX: license tags: BSD-2-Clause
robn Jan 4, 2025
8cacac7
SPDX: license tags: BSD-3-Clause
robn Jan 4, 2025
091da72
SPDX: license tags: MIT
robn Jan 4, 2025
9070f89
SPDX: license tags: Apache-2.0
robn Jan 4, 2025
6b2c046
SPDX: license tags: GPL-2.0-or-later
robn Jan 4, 2025
61d88b0
SPDX: license tags: LGPL-2.1-or-later
robn Jan 4, 2025
38468bb
SPDX: license tags: BSD-3-Clause OR GPL-2.0-only
robn Jan 4, 2025
e4a2ab7
SPDX: license tags: BSD-2-Clause OR GPL-2.0-only
robn Jan 4, 2025
846796c
SPDX: license tags: Brian-Gladman-3-Clause
robn Jan 5, 2025
c30a228
SPDX: license tags: OpenSSL-standalone
robn Jan 5, 2025
76d0c74
SPDX: license tags: LicenseRef-OpenZFS-ThirdParty-PublicDomain
robn Jan 5, 2025
be73f72
spdxcheck: program to check SPDX license tags
robn Jan 5, 2025
9e009ac
dmu_tx: rename dmu_tx_assign() flags from TXG_* to DMU_TX_* (#17143)
robn Mar 18, 2025
a6a2f37
convert_wycheproof: fix compile failure
robn Feb 27, 2025
b0f2bcd
convert_wycheproof: don't check tag len on invalid tests
robn Feb 27, 2025
7cc60af
Always perform bounds-checking in metaslab_free_concrete
asomers Mar 19, 2025
a848b05
Fix deadlock on I/O errors during device removal
amotin Mar 19, 2025
559d34e
Updating dio_read_verify ZTS test (#16830)
bwatkinson Mar 19, 2025
08b0a16
CI: Remove FreeBSD 13.3 and 14.1 tests (#17162)
amotin Mar 21, 2025
74fadc0
Harmonize on American spelling in several places
fragglet Mar 12, 2025
2bbc8e1
Make use of "i.e." (id est) consistent
fragglet Mar 12, 2025
97c2569
Fix cases where "descendent" is used as a noun
fragglet Mar 12, 2025
1422bca
Capitalize in various places where appropriate
fragglet Mar 12, 2025
81bcab3
Correct "umount" to "unmount" in a couple of places
fragglet Mar 12, 2025
2c41e2a
Fix spelling errors
fragglet Mar 12, 2025
eff0634
Disambiguate reference to kibibytes, not kilobytes
fragglet Mar 12, 2025
01095b2
ZTS: Fix zpool_status_features_001_pos local test (#17174)
tonyhutter Mar 25, 2025
c22f5c1
Linux: Fix zfs_prune panics v2 (#17121)
snajpa Mar 25, 2025
8f6f854
runners: Fix zfs-release RPM creation (#17173)
tonyhutter Mar 26, 2025
4f2118e
runners: Fix tarball build for zfs-qemu-packages workflow (#17158)
tonyhutter Mar 26, 2025
e6f8c1f
Block remap for cloned blocks on device removal
amotin Mar 26, 2025
76bd2ae
config: cache results of kernel checks (#17106)
robn Mar 27, 2025
ab455c7
zed: Ensure spare activation after kernel-initiated device removal
ixhamza Mar 28, 2025
1c6d2f7
contrib/initramfs: use LVM autoactivation for activating VGs (#17125)
frwbr Apr 1, 2025
a9c37b7
ZTS: Fix zpool `dry run` tests depending on output format
AttilaFueloep Mar 29, 2025
398bdcd
ZTS: Fix zpool `dry run` tests output formating
AttilaFueloep Mar 29, 2025
153c982
spl_vfs: fix vrele task runner signature mismatch
aokblast Mar 19, 2025
12657df
simd_powerpc.h: enable FPU on FreeBSD
pkubaj Apr 1, 2025
9f0be8f
Fix dspace underflow bug
pcd1193182 Apr 1, 2025
6f2080f
Fix lock reversal on device removal cancel
amotin Apr 1, 2025
5fb1d52
Multiple printf() size fixes (#17199)
mmatuska Apr 1, 2025
bd5465e
Fix nonrot property being incorrectly unset (#17206)
pcd1193182 Apr 2, 2025
c312a98
freebsd: unbreak module/Makefile.bsd build on 15-CURRENT-arm64
mmatuska Apr 5, 2025
8539bdf
[2.3.2] uconv: add SPDX license tag
robn Apr 4, 2025
fbac52e
Fix FDT rollback to not overwrite unnecessary fields (#17205)
pcd1193182 Apr 4, 2025
a486cac
Added fix for zpool get state segfaults with two or more vdevs (#1597…
Syed-Shahrukh-OSSRevival Apr 4, 2025
5952fc1
Fix memory leaks in pool properties handling
rkojedzinszky Apr 5, 2025
81de1ea
debian: Add libtirpc-dev dependency (#17220)
tonyhutter Apr 8, 2025
20f0081
Linux 6.0 compat: Check for migratepage VFS (#17217)
tonyhutter Apr 11, 2025
04b02f0
config: fix ZFS_LINUX_TEST_RESULT_SYMBOL with --enable-linux-builtin
robn Apr 11, 2025
cc43549
Fixed zfs_notify_email for programs like sendmail
IIIPr0t0typ3III Apr 12, 2025
fea534d
gcm_avx_init: zero the ghash state after hashing the IV
robn Feb 21, 2025
36864e3
GCC 15: Fix unterminated-string-initialization (#17244)
tonyhutter Apr 16, 2025
a39a14e
CI: Add Fedora 42 runner (#17249)
tonyhutter Apr 17, 2025
d9c3bd6
Tag zfs-2.3.2
tonyhutter Apr 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 5 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ env:
build_task:
matrix:
freebsd_instance:
image_family: freebsd-12-4
image_family: freebsd-13-5
freebsd_instance:
image_family: freebsd-13-2
image_family: freebsd-14-2
freebsd_instance:
image_family: freebsd-14-0-snap
image_family: freebsd-15-0-snap
prepare_script:
- pkg install -y autoconf automake libtool gettext-runtime gmake ksh93 py39-packaging py39-cffi py39-sysctl
- pkg install -y autoconf automake libtool gettext-runtime gmake ksh93 py311-packaging py311-cffi py311-sysctl
configure_script:
- env MAKE=gmake ./autogen.sh
- env MAKE=gmake ./configure --with-config="user" --with-python=3.9
- env MAKE=gmake ./configure --with-config="user" --with-python=3.11
build_script:
- gmake -j `sysctl -n kern.smp.cpus`
install_script:
Expand Down
16 changes: 4 additions & 12 deletions .github/workflows/scripts/qemu-2-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,10 @@ case "$OS" in
OSv="fedora-unknown"
URL="https://download.fedoraproject.org/pub/fedora/linux/releases/41/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-41-1.4.x86_64.qcow2"
;;
freebsd13-3r)
OSNAME="FreeBSD 13.3-RELEASE"
OSv="freebsd13.0"
URLzs="$FREEBSD/amd64-freebsd-13.3-RELEASE.qcow2.zst"
BASH="/usr/local/bin/bash"
NIC="rtl8139"
fedora42)
OSNAME="Fedora 42"
OSv="fedora-unknown"
URL="https://download.fedoraproject.org/pub/fedora/linux/releases/42/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-42-1.1.x86_64.qcow2"
;;
freebsd13-4r)
OSNAME="FreeBSD 13.4-RELEASE"
Expand All @@ -82,12 +80,6 @@ case "$OS" in
BASH="/usr/local/bin/bash"
NIC="rtl8139"
;;
freebsd14-1r)
OSNAME="FreeBSD 14.1-RELEASE"
OSv="freebsd14.0"
URLzs="$FREEBSD/amd64-freebsd-14.1-RELEASE.qcow2.zst"
BASH="/usr/local/bin/bash"
;;
freebsd14-2r)
OSNAME="FreeBSD 14.2-RELEASE"
OSv="freebsd14.0"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scripts/qemu-3-deps-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ case "$1" in
fedora*)
rhel
sudo dnf install -y libunwind-devel

# Fedora 42+ moves /usr/bin/script from 'util-linux' to 'util-linux-script'
sudo dnf install -y util-linux-script || true
;;
freebsd*)
freebsd
Expand Down
33 changes: 21 additions & 12 deletions .github/workflows/scripts/qemu-4-build-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,9 @@ function rpm_build_and_install() {

# ZFS release RPMs are built. Copy them to the ~/zfs directory just to
# keep all the RPMs in the same place.
cp ~/rpmbuild/RPMS/noarch/*.rpm .
cp ~/rpmbuild/SRPMS/*.rpm .
cp ~/rpmbuild/RPMS/noarch/*.rpm ~/zfs
cp ~/rpmbuild/SRPMS/*.rpm ~/zfs

popd
rm -fr ~/rpmbuild
echo "##[endgroup]"
Expand Down Expand Up @@ -300,6 +301,17 @@ function deb_build_and_install() {
echo "##[endgroup]"
}

function build_tarball {
if [ -n "$REPO" ] ; then
./autogen.sh
./configure --with-config=srpm
make dist
mkdir -p /tmp/repo/releases
# The tarball name is based off of 'Version' field in the META file.
mv *.tar.gz /tmp/repo/releases/
fi
}

# Debug: show kernel cmdline
if [ -f /proc/cmdline ] ; then
cat /proc/cmdline || true
Expand Down Expand Up @@ -339,6 +351,13 @@ case "$OS" in
;;
fedora*)
rpm_build_and_install "$extra"

# Historically, we've always built the release tarballs on Fedora, since
# there was one instance long ago where we built them on CentOS 7, and they
# didn't work correctly for everyone.
if [ -n "$TARBALL" ] ; then
build_tarball
fi
;;
debian*|ubuntu*)
deb_build_and_install "$extra"
Expand All @@ -348,16 +367,6 @@ case "$OS" in
;;
esac

# Optionally build tarballs. The tarball's root directory name will be named
# after the current tag, like 'zfs-2.3.0' or 'master'.
if [ -n "$TARBALL" ] ; then
tag="$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match)"
git archive --format=tar.gz -o $tag.tar.gz $tag
if [ -n "$REPO" ] ; then
mkdir -p /tmp/repo/releases
cp $tag.tar.gz /tmp/repo/releases
fi
fi

# building the zfs module was ok
echo 0 > /var/tmp/build-exitcode.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zfs-qemu-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['almalinux8', 'almalinux9', 'fedora40', 'fedora41']
os: ['almalinux8', 'almalinux9', 'fedora40', 'fedora41', 'fedora42']
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/zfs-qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Generate OS config and CI type
id: os
run: |
FULL_OS='["almalinux8", "almalinux9", "debian11", "debian12", "fedora40", "fedora41", "freebsd13-3r", "freebsd13-4s", "freebsd14-1r", "freebsd14-2s", "freebsd15-0c", "ubuntu20", "ubuntu22", "ubuntu24"]'
QUICK_OS='["almalinux8", "almalinux9", "debian12", "fedora41", "freebsd13-3r", "freebsd14-2r", "ubuntu24"]'
FULL_OS='["almalinux8", "almalinux9", "debian11", "debian12", "fedora40", "fedora41", "fedora42", "freebsd13-4r", "freebsd14-2r", "freebsd15-0c", "ubuntu20", "ubuntu22", "ubuntu24"]'
QUICK_OS='["almalinux8", "almalinux9", "debian12", "fedora42", "freebsd14-2r", "ubuntu24"]'
# determine CI type when running on PR
ci_type="full"
if ${{ github.event_name == 'pull_request' }}; then
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
# debian: debian11, debian12, ubuntu20, ubuntu22, ubuntu24
# misc: archlinux, tumbleweed
# FreeBSD variants of 2024-12:
# FreeBSD Release: freebsd13-3r, freebsd13-4r, freebsd14-1r, freebsd14-2r
# FreeBSD Release: freebsd13-4r, freebsd14-2r
# FreeBSD Stable: freebsd13-4s, freebsd14-2s
# FreeBSD Current: freebsd15-0c
os: ${{ fromJson(needs.test-config.outputs.test_os) }}
Expand Down
5 changes: 5 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,19 @@ Rob Norris <[email protected]>
Sam Lunt <[email protected]>
Sanjeev Bagewadi <[email protected]>
Sebastian Wuerl <[email protected]>
SHENGYI HONG <[email protected]>
Stoiko Ivanov <[email protected]>
Tamas TEVESZ <[email protected]>
WHR <[email protected]>
Yanping Gao <[email protected]>
Youzhong Yang <[email protected]>

# Signed-off-by: overriding Author:
Alexander Ziaee <[email protected]> <[email protected]>
Ryan <[email protected]> <[email protected]>
Sietse <[email protected]> <[email protected]>
Phil Sutter <[email protected]> <[email protected]>
poscat <[email protected]> <[email protected]>
Qiuhao Chen <[email protected]> <[email protected]>
Yuxin Wang <[email protected]> <[email protected]>
Zhenlei Huang <[email protected]> <[email protected]>
Expand Down Expand Up @@ -207,6 +211,7 @@ Torsten Wörtwein <[email protected]> <[email protected]>
Tulsi Jain <[email protected]> <[email protected]>
Václav Skála <[email protected]> <[email protected]>
Vaibhav Bhanawat <[email protected]> <[email protected]>
Vandana Rungta <[email protected]> <[email protected]>
Violet Purcell <[email protected]> <[email protected]>
Vipin Kumar Verma <[email protected]> <[email protected]>
Wolfgang Bumiller <[email protected]> <[email protected]>
Expand Down
14 changes: 14 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ CONTRIBUTORS:
Alexander Pyhalov <[email protected]>
Alexander Richardson <[email protected]>
Alexander Stetsenko <[email protected]>
Alexander Ziaee <[email protected]>
Alex Braunegg <[email protected]>
Alexey Shvetsov <[email protected]>
Alexey Smirnoff <[email protected]>
Expand Down Expand Up @@ -288,13 +289,15 @@ CONTRIBUTORS:
ilovezfs <[email protected]>
InsanePrawn <[email protected]>
Isaac Huang <[email protected]>
Ivan Volosyuk <[email protected]>
Jacek Fefliński <[email protected]>
Jacob Adams <[email protected]>
Jake Howard <[email protected]>
James Cowgill <[email protected]>
James H <[email protected]>
James Lee <[email protected]>
James Pan <[email protected]>
James Reilly <[email protected]>
James Wah <[email protected]>
Jan Engelhardt <[email protected]>
Jan Kryl <[email protected]>
Expand All @@ -306,13 +309,15 @@ CONTRIBUTORS:
Jason Lee <[email protected]>
Jason Zaman <[email protected]>
Javen Wu <[email protected]>
Jaydeep Kshirsagar <[email protected]>
Jean-Baptiste Lallement <[email protected]>
Jeff Dike <[email protected]>
Jeremy Faulkner <[email protected]>
Jeremy Gill <[email protected]>
Jeremy Jones <[email protected]>
Jeremy Visser <[email protected]>
Jerry Jelinek <[email protected]>
Jerzy Kołosowski <[email protected]>
Jessica Clarke <[email protected]>
Jinshan Xiong <[email protected]>
Jitendra Patidar <[email protected]>
Expand Down Expand Up @@ -372,6 +377,7 @@ CONTRIBUTORS:
Kohsuke Kawaguchi <[email protected]>
Konstantin Khorenko <[email protected]>
KORN Andras <[email protected]>
kotauskas <[email protected]>
Kristof Provost <[email protected]>
Krzysztof Piecuch <[email protected]>
Kyle Blatter <[email protected]>
Expand Down Expand Up @@ -452,6 +458,7 @@ CONTRIBUTORS:
Mike Swanson <[email protected]>
Milan Jurik <[email protected]>
Minsoo Choo <[email protected]>
mnrx <[email protected]>
Mohamed Tawfik <[email protected]>
Morgan Jones <[email protected]>
Moritz Maxeiner <[email protected]>
Expand Down Expand Up @@ -494,6 +501,7 @@ CONTRIBUTORS:
Pawel Jakub Dawidek <[email protected]>
Pedro Giffuni <[email protected]>
Peng <[email protected]>
Peng Liu <[email protected]>
Peter Ashford <[email protected]>
Peter Dave Hello <[email protected]>
Peter Doherty <[email protected]>
Expand All @@ -503,9 +511,11 @@ CONTRIBUTORS:
Philip Pokorny <[email protected]>
Philipp Riederer <[email protected]>
Phil Kauffman <[email protected]>
Phil Sutter <[email protected]>
Ping Huang <[email protected]>
Piotr Kubaj <[email protected]>
Piotr P. Stefaniak <[email protected]>
poscat <[email protected]>
Prakash Surya <[email protected]>
Prasad Joshi <[email protected]>
privb0x23 <[email protected]>
Expand Down Expand Up @@ -575,6 +585,7 @@ CONTRIBUTORS:
Shaun Tancheff <[email protected]>
Shawn Bayern <[email protected]>
Shengqi Chen <[email protected]>
SHENGYI HONG <[email protected]>
Shen Yan <[email protected]>
Sietse <[email protected]>
Simon Guest <[email protected]>
Expand Down Expand Up @@ -616,7 +627,9 @@ CONTRIBUTORS:
timor <[email protected]>
Timothy Day <[email protected]>
Tim Schumacher <[email protected]>
Tim Smith <[email protected]>
Tino Reichardt <[email protected]>
tleydxdy <[email protected]>
Tobin Harding <[email protected]>
Todd Seidelmann <[email protected]>
Tom Caputi <[email protected]>
Expand All @@ -640,6 +653,7 @@ CONTRIBUTORS:
Vaibhav Bhanawat <[email protected]>
Valmiky Arquissandas <[email protected]>
Val Packett <[email protected]>
Vandana Rungta <[email protected]>
Vince van Oosten <[email protected]>
Violet Purcell <[email protected]>
Vipin Kumar Verma <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions META
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Meta: 1
Name: zfs
Branch: 1.0
Version: 2.3.1
Version: 2.3.2
Release: 1
Release-Tags: relext
License: CDDL
Author: OpenZFS
Linux-Maximum: 6.13
Linux-Maximum: 6.14
Linux-Minimum: 4.18
4 changes: 4 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ commitcheck:
${top_srcdir}/scripts/commitcheck.sh; \
fi

CHECKS += spdxcheck
spdxcheck:
$(AM_V_at)$(top_srcdir)/scripts/spdxcheck.pl

if HAVE_PARALLEL
cstyle_line = -print0 | parallel -X0 ${top_srcdir}/scripts/cstyle.pl -cpP {}
else
Expand Down
1 change: 1 addition & 0 deletions cmd/arc_summary
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2008 Ben Rockwood <[email protected]>,
# Copyright (c) 2010 Martin Matuska <[email protected]>,
Expand Down
1 change: 1 addition & 0 deletions cmd/arcstat.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env @PYTHON_SHEBANG@
# SPDX-License-Identifier: CDDL-1.0
#
# Print out ZFS ARC Statistics exported via kstat(1)
# For a definition of fields, or usage, use arcstat -v
Expand Down
1 change: 1 addition & 0 deletions cmd/dbufstat.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env @PYTHON_SHEBANG@
# SPDX-License-Identifier: CDDL-1.0
#
# Print out statistics for all cached dmu buffers. This information
# is available through the dbufs kstat and may be post-processed as
Expand Down
1 change: 1 addition & 0 deletions cmd/mount_zfs.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions cmd/raidz_test/raidz_bench.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions cmd/raidz_test/raidz_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions cmd/raidz_test/raidz_test.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down
5 changes: 4 additions & 1 deletion cmd/zdb/zdb.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down Expand Up @@ -2059,6 +2060,8 @@ dump_ddt_object(ddt_t *ddt, ddt_type_t type, ddt_class_t class)
if (dump_opt['D'] < 3)
return;

(void) printf("%s: object=%llu\n", name,
(u_longlong_t)ddt->ddt_object[type][class]);
zpool_dump_ddt(NULL, &ddt->ddt_histogram[type][class]);

if (dump_opt['D'] < 4)
Expand Down Expand Up @@ -5862,7 +5865,7 @@ zdb_count_block(zdb_cb_t *zcb, zilog_t *zilog, const blkptr_t *bp,
* Find the block. This will create the entry in memory, but
* we'll know if that happened by its refcount.
*/
ddt_entry_t *dde = ddt_lookup(ddt, bp);
ddt_entry_t *dde = ddt_lookup(ddt, bp, B_TRUE);

/*
* ddt_lookup() can return NULL if this block didn't exist
Expand Down
1 change: 1 addition & 0 deletions cmd/zdb/zdb.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions cmd/zdb/zdb_il.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions cmd/zed/agents/fmd_api.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions cmd/zed/agents/fmd_api.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions cmd/zed/agents/fmd_serd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions cmd/zed/agents/fmd_serd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: CDDL-1.0
/*
* CDDL HEADER START
*
Expand Down
Loading
Loading