History log of /src/sys/contrib/openzfs/cmd/zfs/zfs_main.c (Results 1 – 25 of 157)
Revision Date Author Comments
# 8a62a2a5 14-Mar-2026 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@f8e5af53e

Notable upstream pull request merges:
#17358 4975430cf Add vdev property to disable vdev scheduler
#18031 c77f17b75 Add snapshots_changed_nsecs dataset property
#

zfs: merge openzfs/zfs@f8e5af53e

Notable upstream pull request merges:
#17358 4975430cf Add vdev property to disable vdev scheduler
#18031 c77f17b75 Add snapshots_changed_nsecs dataset property
#18080 dbb3f247e cmd/zfs: clone: accept `-u` to not mount newly created
datasets
#18089 -multiple Zstd: Update bundled library to version 1.5.7
#18091 2301755df Fix zfs_open() to skip zil_async_to_sync() for the
snapshot
#18093 -multiple L2ARC: Rework write throttling with DWPD rate limiting
and parallel writes
#18095 2dbd6af5e Rename several printf attributes declarations to
__printf__
#18096 8605bdfdd FreeBSD: unbreak compilation on i386
#18105 794f1587d When receiving a stream with the large block flag,
activate feature
#18115 765929cb4 DDT: Add locking for table ZAP destruction
#18118 09e4e01e9 Fix history logging for `zpool create -t`
#18119 2f1f25217 icp: emit .note.GNU-stack section for all ELF targets
#18131 3fffe4e70 Fix --enable-invariants on FreeBSD
#18133 d2f5cb3a5 Move range_tree, btree, highbit64 to common code
#18136 54b141fab FreeBSD: Remove references to DEBUG_VFS_LOCKS
#18138 cdf89f413 Flush RRD only when TXGs contain data
#18139 a157ef62a Make sure we can still write data to txg
#18140 cd895f0e5 remove thread unsafe debug code causing FreeBSD double
free panic
#18144 4f180e095 Fix activating large_microzap on receive
#18146 35b2d3970 Lock db_mtx around arc_release() in couple places
#18154 b36472052 nvpair: chase FreeBSD xdrproc_t definition
#18160 21bbe7cb6 Improve caching for dbuf prefetches
#18177 -multiple Multihost Improvements
#18179 2646bd558 Allow rewrite skip cloned and snapshotted blocks
#18180 aa29455dd Restrict cloning with different properties
#18184 040ba7a7c libzfs: improve error message for zpool create with
ENXIO
#18188 1412bdc6c zfs_vnops_os.c: Move a vput() to after
zfs_setattr_dir()
#18198 cc184fe98 Fix `send:raw` permission for send `-w -I`
#18208 ba970eb20 Cleanup allocation class selection
#18212 0f9564e85 Simplify dnode_level_is_l2cacheable()
#18214 370570890 Remove parent ZIO from dbuf_prefetch()
#18218 bfb276e55 freebsd: Fix TIMESPEC_OVERFLOW for PowerPC
#18222 d06a1d9ac Fix available space accounting for special/dedup
#18225 d48967728 ICP: AES-GCM VAES-AVX2: fix typos and document
source files
#18226 c8a72a27e ICP: AES-GCM assembly: remove unused Gmul functions
#18230 -multiple Fix zdb --key crash for unencrypted datasets, and
teach tests to understand this better
#18233 -multiple icp: add SHA-512 implementation using Intel SHA512
extension
#18245 991fc56fa Introduce dedupused/dedupsaved pool properties
#18251 6a717f31e Improve misleading error messages for
ZPOOL_STATUS_CORRUPT_POOL
#18254 7744f0496 SIMD: libspl: test the correct CPUID bit for AVX512VL
#18255 6495dafd5 range_tree: use zfs_panic_recover() for
partial-overlap remov
#18256 3408332d7 zhack: Fix importing large allocation profiles on
small pools
#18258 f8457fbdc Fix deadlock on dmu_tx_assign() from vdev_rebuild()
#18263 f8e5af53e Fix redundant declaration of dsl_pool_t

Obtained from: OpenZFS
OpenZFS commit: f8e5af53e92fa7c03393fbd4922cb9c1d0c15920

show more ...


# 66e85755 07-Dec-2025 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@89f729dcc

Notable upstream pull request merges:
#17932 1f3444f2b zpool: fix special vdev -v -o conflict
#17934 -multiple Remove libuutil
#17941 88d012a1d Fix snapshot autom

zfs: merge openzfs/zfs@89f729dcc

Notable upstream pull request merges:
#17932 1f3444f2b zpool: fix special vdev -v -o conflict
#17934 -multiple Remove libuutil
#17941 88d012a1d Fix snapshot automount expiry cancellation deadlock
#17942 36e4f1888 Fix taskq NULL pointer dereference on timer race
#17946 39303feba chksum: run 256K benchmark on demand, preserve
chksum_stat_data
#17948 -multiple Remove libtpool
#17957 e37937f42 ztest: fix broken random call
#17960 928eccc5b DDT: Reduce global DDT lock scope during writes
#17961 48f33c1ef DDT: Make children writes inherit allocator
#17975 7f7d4934c FreeBSD: Fix uninitialized variable error
#17980 a5b665df3 DDT: Switch to using wmsums for lookup stats
#18004 ffaea0831 FreeBSD: Remove HAVE_INLINE_FLSL use

Obtained from: OpenZFS
OpenZFS commit: 89f729dcca87425aadfa03d1764e96f285eb658d

show more ...


# 36c970ed 05-Oct-2025 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@5605a6d79

Notable upstream pull request merges:
#16025 26b0f561b dnode_next_offset: backtrack if lower level does not match
#17758 c722bf881 Add interface to interface spa_g

zfs: merge openzfs/zfs@5605a6d79

Notable upstream pull request merges:
#16025 26b0f561b dnode_next_offset: backtrack if lower level does not match
#17758 c722bf881 Add interface to interface spa_get_worst_case_min_alloc()
function
#17765 8d4c3ee9e zvol: Fix blk-mq sync
#17787 8869caae5 zinject: Introduce ready delay fault injection
#17780 b2196fbed Fix 'zpool add' safety check corner cases
#17783 5c38029f4 zdb: add ZFS_KEYFORMAT_RAW support for -K option
#17786 f0a95e897 zpool iostat: refresh pool list every interval
#17807 -multiple zpool iostat: fix regressions in "all pools" mode
after #17786
#17793 -multiple ddt prune: Add SCL_ZIO deadlock workaround
#17799 ac2d8c80b Make mount/share errors non-fatal for zfs create/clone

Obtained from: OpenZFS
OpenZFS commit: 5605a6d79b3582296208ac391f93a5faf729fa92

show more ...


# 113e6074 24-Sep-2025 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@b2196fbed

Notable upstream pull request merges:
#17705 545d66204 Fix a printf format specifier on FreeBSD/i386
#17708 3387d3409 Fix atomic-alignment warnings in libspl on Fr

zfs: merge openzfs/zfs@b2196fbed

Notable upstream pull request merges:
#17705 545d66204 Fix a printf format specifier on FreeBSD/i386
#17708 3387d3409 Fix atomic-alignment warnings in libspl on FreeBSD/i386
#17719 f319ff357 vdev_disk_close: take disk write lock before destroying it
#17732 1d2d81298 Refactor `zhack label repair` and fix `-c` regression on
nonzero TXG
#17764 ea37c30fc zdb: Fix asize overflow in verify_livelist_allocs()

Obtained from: OpenZFS
OpenZFS commit: b2196fbedf5dbfb8593288f5f9ba712e31429a84

show more ...


# dd32d6b2 13-Sep-2025 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@3f4312a0a

Notable upstream pull request merges:
#17227 d64711c20 Detect a slow raidz child during reads
#17543 -multiple zfs allow send:raw
#17717 bc0b5318a Prevent scrubbi

zfs: merge openzfs/zfs@3f4312a0a

Notable upstream pull request merges:
#17227 d64711c20 Detect a slow raidz child during reads
#17543 -multiple zfs allow send:raw
#17717 bc0b5318a Prevent scrubbing a read-only pool
#17722 cb5f9aa58 FreeBSD: Satisfy ASSERT_VOP_IN_SEQC()
#17729 3f4312a0a Fix two infinite loops if dmu_prefetch_max set to zero
#17730 37cd30f71 Fix ddle memleak in ddt_log_load
#17733 bc8bcfc71 Fix type in dbrrd_closest()
#17735 9b772f328 Fix time database update calculations

Obtained from: OpenZFS
OpenZFS commit: 3f4312a0a428624e596bb35ae4806ea0d4d69472

show more ...


# d0abb9a6 12-Aug-2025 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@1d0b94c4e

Notable upstream pull request merges:
#17398 -multiple ZIL: "crash" the ZIL if the pool suspends during fallback
#17585 0c376d0f5 Document the new '-a' zpool optio

zfs: merge openzfs/zfs@1d0b94c4e

Notable upstream pull request merges:
#17398 -multiple ZIL: "crash" the ZIL if the pool suspends during fallback
#17585 0c376d0f5 Document the new '-a' zpool option
#17590 03592417c SIMD: Don't require definition of `HAVE_XSAVE`
#17591 -multiple Prefer VERIFY0 over comparision with 0 or NULL
#17596 -multiple zvol: misc cleanups
#17605 2fd145b57 zvol: cleanup error handling and passthrough

Obtained from: OpenZFS
OpenZFS commit: 1d0b94c4e73d83299528c44fb4fa3b29eb6009a3

show more ...


# df58e8b1 07-Aug-2025 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@8302b6e32

Notable upstream pull request merges:
#16853 894edd084 Add TXG timestamp database
#17004 -multiple Implement dynamic gang header sizes
#17405 dea0fc969 ZVOL: Retu

zfs: merge openzfs/zfs@8302b6e32

Notable upstream pull request merges:
#16853 894edd084 Add TXG timestamp database
#17004 -multiple Implement dynamic gang header sizes
#17405 dea0fc969 ZVOL: Return early, if volmode is ZFS_VOLMODE_NONE
on FreeBSD side
#17455 cf146460c Default to zfs_bclone_wait_dirty=1
#17481 523d9d600 Validate mountpoint on path-based unmount using statx
#17482 92da9e0e9 ZVOL: Implement zvol_alloc() function on FreeBSD side
#17489 dee62e074 spa: ZIO_TASKQ_ISSUE: Use symbolic priority
#17496 bf846dcb7 Release topology restrictions on special/dedup
#17497 4e92aee23 Relax special_small_blocks restrictions
#17503 ea38787f2 Revert "Fix incorrect expected error in ztest"
#17505 be1e991a1 Allow and prefer special vdevs as ZIL
#17506 ee0cb4cb8 ztest: Fix false positive of ENOSPC handling
#17507 92d3b4ee2 zio: rename `io_reexecute` as `io_post`;
use it for the direct IO checksum error flag
#17508 6af8db61b metaslab: don't pass whole zio to throttle reserve APIs
#17518 4c2a7f85d FreeBSD: Add support for _PC_HAS_HIDDENSYSTEM
#17521 d7ab07dfb ZIL: Force writing of open LWB on suspend
#17524 b6e8db509 zpool/zfs: Add '-a|--all' option to scrub, trim,
initialize
#17531 c1e51c55f Correct weight recalculation of space-based metaslabs
#17533 d323fbf49 FreeBSD: zfs_putpages: don't undirty pages until
after write completes
#17536 b21e04e8d Fix zdb pool/ with -k
#17537 -multiple Userspace tunables
#17540 2957eabbe Add support for FreeBSD's Solaris style extended
attribute interface
#17547 4bd7a2eaa zdb: fix checksum calculation for decompressed blocks
#17551 -multiple cleanup: remove var init/update
#17561 0f8a1105e Skip dbuf_evict_one() from dbuf_evict_notify()
for reclaim thread
#17563 10a78e264 Faster checksum benchmark on system boot
#17564 00ce064d8 spa: update blkptr diagram to include vdev padding
on encrypted blocks
#17565 -multiple Physical rewrite
#17566 fc885f308 Don't use wrong weight when passivating group
#17572 f70c85086 BRT: Fix ZAP entry endianness
#17575 0b6fd024a ZVOL: Unify zvol minors operations and improve error
handling
#17581 cb5e7e097 range_tree: Provide more debug details upon unexpected
add/remove
#17587 -multiple Fix two issues with dynamic gang headers

Obtained from: OpenZFS
OpenZFS commit: 8302b6e32bb153a6f402b106484d5736f082abcc

show more ...


# b1c1ee44 30-May-2025 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@3084336ae

Notable upstream pull request merges:
#14876 b048bfa9c Allow opt-in of zvol blocks in special class
#16486 b6916f995 ARC: parallel eviction
#17169 1a8f5ad3b zvol:

zfs: merge openzfs/zfs@3084336ae

Notable upstream pull request merges:
#14876 b048bfa9c Allow opt-in of zvol blocks in special class
#16486 b6916f995 ARC: parallel eviction
#17169 1a8f5ad3b zvol: Enable zvol threading functionality on FreeBSD
#17209 c17bdc491 More aggressively assert that db_mtx protects db.db_data
#17218 734eba251 Wire O_DIRECT also to Uncached I/O
#17246 49fbdd453 Introduce zfs rewrite subcommand
#17255 b1ccab172 ARC: Avoid overflows in arc_evict_adj()
#17280 848794503 zcp: get_prop: fix encryptionroot and encryption
#17301 086105f4c Cause zpool scan resume commands to get logged in history
#17306 246e5883b zfs_valstr: update zio_flag strings for
ZIO_FLAG_PREALLOCATED
#17309 78628a5c1 FreeBSD: Use new SYSCTL_SIZEOF()
#17314 89a8a9158 ARC: Notify dbuf cache about target size reduction
#17319 8b9c4e643 spa: clear checkpoint information during retry
#17339 d5616ad34 Increase meta-dnode redundancy in "some" mode
#17340 ea74cdedd Fix 2 bugs in non-raw send with encryption
#17342 e55225be3 Add explicit DMU_DIRECTIO checks
#17343 d8a33bc0a icp: Use explicit_memset() exclusively in gcm_clear_ctx()
#17344 -multiple libzfs_core: add ZFS_IOC_TRACE envvar to enable ioctl
tracing
#17348 f0baaa329 arcstat: prevent ZeroDivisionError when L2ARC becomes
empty
#17353 83fa80a55 dmu_objset_hold_flags() should call
dsl_dataset_rele_flags() on error
#17355 -multiple Allow txg_wait_synced_flags() and dmu_tx_assign()
to return when the pool suspends
#17361 5c30b2438 Fix null dereference in spa_vdev_remove_cancel_sync()
#17363 ddf28f27c Fix off-by-one bug in range tree code
#17367 06fa8f3f6 zfs_cmd: reorganise zfs_cmd_t to match original size
#17368 2a91d577b Expose dataset encryption status via fast stat path
#17372 c464f1d01 Only interrupt active disk I/Os in failmode=continue
#17373 9d76950d6 ZIL: Improve write log size accounting
#17377 -multiple tunables: general code cleanup
#17379 fa697b94e FreeBSD: Add posix_fadvise(POSIX_FADV_WILLNEED) support
#17384 3dfa98d01 ZVOL: Make zvol_inhibit_dev module parameter
platform-independent

Obtained from: OpenZFS
OpenZFS commit: 3084336ae4a4e114e41be3177a3f5c779d66e93c

show more ...


# 071ab5a1 04-May-2025 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@246e5883b

Notable upstream pull request merges:
#17111 246e5883b Implement allocation size ranges and use for gang leaves
#17123 5f5321eff Handle interaction between gang bl

zfs: merge openzfs/zfs@246e5883b

Notable upstream pull request merges:
#17111 246e5883b Implement allocation size ranges and use for gang leaves
#17123 5f5321eff Handle interaction between gang blocks, copies, and FDT
#17130 -multiple Implement default user/group/project quotas
#17164 301da593a Fix lock reversal on device removal cancel
#17183 367d34b3a Fix dspace underflow bug
#17187 30cc2331f zed: Ensure spare activation after kernel-initiated device
removal
#17191 11ca12dbd simd_powerpc.h: enable FPU on FreeBSD
#17192 5b29e70ae Remove mg_allocators
#17204 a497c5fc8 Improve L2 caching control for prefetched indirects
#17205 b14b3e398 Fix FDT rollback to not overwrite unnecessary fields
#17206 7be9fa259 Fix nonrot property being incorrectly unset
#17208 09fc7bb47 Fix memory leaks in pool properties handling

#17213 78a7c78bd Added fix for zpool get state segfaults with two or more
vdevs
#17228 131df3bbf vdev_to_nvlist_iter: ignore draid parameters when matching
names
#17231 f40ab9e39 Fix double spares for failed vdev
#17264 27f3d9494 Sort the blocking snapshots lis
#17269 f86d9af16 Fix race between resilver wait and offline/detach
#17273 c8fa39b46 cred: properly pass and test creds on other threads
#17284 a7de203c8 txg: generalise txg_wait_synced_sig() to
txg_wait_synced_flags()

Obtained from: OpenZFS
OpenZFS commit: 246e5883bb5b8e09b1a4213f7b1704b5a9ed5568

show more ...


# 61145dc2 27-Mar-2025 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@4abc21b28

Notable upstream pull request merges:
#17015 201d26294 Add receive:append permission for limited receive
#17020 94a3fabcb Unified allocation throttling
#17038 1b4

zfs: merge openzfs/zfs@4abc21b28

Notable upstream pull request merges:
#17015 201d26294 Add receive:append permission for limited receive
#17020 94a3fabcb Unified allocation throttling
#17038 1b495eeab FDT dedup log sync -- remove incremental
#17073 9250403ba Make ganging redundancy respect redundant_metadata
property
#17077 0433523ca Verify every block pointer is either embedded, hole,
or has a valid DVA
#17101 83fa051ce spl_vfs: fix vrele task runner signature mismatch
#17113 09f4dd06c Prefer embedded blocks to dedup
#17120 0ea44e576 Fix deduplication of overridden blocks
#17124 62a9d372f zed: Print return code on failed zpool_prepare_disk
#17126 3cd9934a4 Some arc_release() cleanup
#17136 d033f2676 Always perform bounds-checking in metaslab_free_concrete
#17142 45e9b54e9 kstat: allow multi-level module names
#17145 676b7ef10 Fix deadlock on I/O errors during device removal
#17180 4abc21b28 Block remap for cloned blocks on device removal

Obtained from: OpenZFS
OpenZFS commit: 4abc21b28c22d93c06e1e51c1f9019b4fa4e0d51

show more ...


# dd215568 11-Jan-2025 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@b8e09c700

Notable upstream pull request merges:
#16851 19a04e5ad BRT: Check bv_mos_entries in brt_entry_lookup()
#16854 6c9b4f18d Fix DR_OVERRIDDEN use-after-free race in db

zfs: merge openzfs/zfs@b8e09c700

Notable upstream pull request merges:
#16851 19a04e5ad BRT: Check bv_mos_entries in brt_entry_lookup()
#16854 6c9b4f18d Fix DR_OVERRIDDEN use-after-free race in dbuf_sync_leaf
#16855 fbea92432 flush: don't report flush error when disabling flush
support
#16862 ecc0970e3 backtrace: fix off-by-one on string output
#16864 939e0237c Too many vdev probe errors should suspend pool
#16868 ff6266ee9 Fix use-afer-free regression in RAIDZ expansion
#16871 acda137d8 simd_stat: fix undefined CONFIG_KERNEL_MODE_NEON error
on armel
#16877 219a89cbb Skip iterating over snapshots for share properties
#16881 ab7cbbe78 zprop: fix value help for ZPOOL_PROP_CAPACITY
#16883 f00a57a78 zfs_main: fix alignment on props usage output
#16887 -multiple userprops: make clearing pool & vdev userprops work
the same
#16888 c37a2ddaa microzap: set hard upper limit of 1M
#16890 1acd24696 Fix readonly check for vdev user properties
#16901 9dd5fe109 zvol: implement platform-independent part of block cloning
#16909 54126fdb5 set zfs_arc_shrinker_limit to 0 by default
#16912 25238baad Add missing zfs_exit() when snapdir is disabled
#16918 478b09577 zfs_vnops_os.c: fallocate is valid but not supported
on FreeBSD
#16921 c02e1cf05 vdev_open: clear async remove flag after reopen
#16923 dc0324bfa fix: make zfs_strerror really thread-safe and portable

Obtained from: OpenZFS
OpenZFS commit: b8e09c7007a0733a497aebe734cb8ed23a0415ae

show more ...


# 5c65a0a9 13-Nov-2024 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@1c9a4c8cb

Notable upstream pull request merges:
#16244 acb6e71ed Added output to `zpool online` and `offline`
#16684 94a03dd1e Pack dmu_buf_impl_t by 16 bytes
#16690 6187b1

zfs: merge openzfs/zfs@1c9a4c8cb

Notable upstream pull request merges:
#16244 acb6e71ed Added output to `zpool online` and `offline`
#16684 94a03dd1e Pack dmu_buf_impl_t by 16 bytes
#16690 6187b1943 On the first vdev open ignore impossible ashift hints
#16692 673efbbf5 zdb: add extra -T flag to show histograms of BRT refcounts
#16693 2bf152021 Fix gcc uninitialized warning in FreeBSD zio_crypt.c
#16694 b16e09619 Reduce dirty records memory usage
#16701 5945676bc ZFS send should use spill block prefetched from
send_reader_thread
#16734 1c9a4c8cb Fix user properties output for zpool list

Obtained from: OpenZFS
OpenZFS commit: 1c9a4c8cb44d5f865c29e3df3f019872329554b3

show more ...


# 87bf66d4 20-Oct-2024 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@b2f6de7b5

Notable upstream pull request merges:
#16598 b4e4cbeb2 Always validate checksums for Direct I/O reads
#16603 cefef28e9 vdev_id: multi-lun disks & slot num zero pad

zfs: merge openzfs/zfs@b2f6de7b5

Notable upstream pull request merges:
#16598 b4e4cbeb2 Always validate checksums for Direct I/O reads
#16603 cefef28e9 vdev_id: multi-lun disks & slot num zero pad
#16613 ab777f436 Return boolean_t in inline functions of
lib/libspl/include/sys/uio.h
#16616 efeb60b86 FreeBSD: ignore some includes when not building kernel
#16617 ca0141f32 zpool/zfs: restore -V & --version options
#16632 7bf525530 zpool/zfs: allow --json wherever -j is allowed
#16635 7e4be9275 zdb: fix printf format in dump_zap()
#16640 48dfe3974 Fallback to strerror() when strerror_l() isn't available
#16650 38a04f0a7 freebsd: Use compiler.h from FreeBSD's base's linuxkpi
#16664 fba6a9069 zfs_debug: Restore log size limit for userspace
#16665 fba6a9069 Fix compile-time warnings caused by duplicate struct
typedefs
#16667 b2f6de7b5 zdb: show bp in uberblock dump

Obtained from: OpenZFS
OpenZFS commit: b2f6de7b58f81a4894ba26d87865a15e6115a1c2

show more ...


# ce4dcb97 10-Aug-2024 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@9c56b8ec7

Notable upstream pull request merges:
#15817 5536c0dee Sync AUX label during pool import
#15889 c7ada64bb ddt: dedup table quota enforcement
#15890 62e7d3c89 ddt:

zfs: merge openzfs/zfs@9c56b8ec7

Notable upstream pull request merges:
#15817 5536c0dee Sync AUX label during pool import
#15889 c7ada64bb ddt: dedup table quota enforcement
#15890 62e7d3c89 ddt: add support for prefetching tables into the ARC
#15894 e26b3771e spa_preferred_class: pass the entire zio
#15894 d54d0fff3 dnode: allow storage class to be overridden by object type
#16197 55427add3 Several improvements to ARC shrinking
#16217 -multiple JSON output for various zfs and zpool subcommands
#16248 24e6585e7 libzfs.h: Set ZFS_MAXPROPLEN and ZPOOL_MAXPROPLEN
to ZAP_MAXVALUELEN
#16264 9dfc5c4a0 Fix long_free_dirty accounting for small files
#16268 ed0db1cc8 Make txg_wait_synced conditional in zfsvfs_teardown,
for FreeBSD
#16288 d60debbf5 Fix sa_add_projid to lookup and update SA_ZPL_DXATTR
#16308 ec580bc52 zfs: add bounds checking to zil_parse
#16310 c21dc56ea Fix zdb_dump_block for little endian
#16315 7ddc1f737 zil: add stats for commit failure/fallback
#16326 b0bf14cdb abd: lift ABD zero scan from zio_compress_data()
to abd_cmp_zero()
#16337 c8184d714 Block cloning conditionally destroy ARC buffer
#16338 dbe07928b Add support for multiple lines to the sharenfs property
for FreeBSD
#16374 1a3e32e6a Cleanup DB_DNODE() macros usage
#16374 ed87d456e Skip dnode handles use when not needed
#16346 fb6d8cf22 Add some missing vdev properties
#16364 670147be5 zvol: ensure device minors are properly cleaned up
#16382 dea8fabf7 FreeBSD: Fix RLIMIT_FSIZE handling for block cloning
#16387 aef452f10 Improve zfs_blkptr_verify()
#16395 cbcb52243 Fix the names of some FreeBSD sysctls in
include/tunables.cfg
#16401 5b9f3b766 Soften pruning threshold on not evictable metadata
#16404 cdd53fea1 FreeBSD: Add missing memory reclamation accounting
#16404 1fdcb653b Once more refactor arc_summary output
#16419 1f5bf91a8 Fix memory corruption during parallel zpool import
with -o cachefile
#16426 cf6e8b218 zstream: remove duplicate highbit64 definition

Obtained from: OpenZFS
OpenZFS commit: 9c56b8ec7855119c8948c551ee28086a11465a56

show more ...


# aca928a5 31-May-2024 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@e2357561b

Notable upstream pull request merges:
#15940 41ae864b6 Replace P2ALIGN with P2ALIGN_TYPED and delete P2ALIGN
#16128 5137c132a zpool import output is not formated p

zfs: merge openzfs/zfs@e2357561b

Notable upstream pull request merges:
#15940 41ae864b6 Replace P2ALIGN with P2ALIGN_TYPED and delete P2ALIGN
#16128 5137c132a zpool import output is not formated properly
#16138 efbef9e6c FreeBSD: Add zfs_link_create() error handling
#16146 04bae5ec9 Disable high priority ZIO threads on FreeBSD and Linux
#16151 cc3869153 zfs_ioc_send: use a dedicated taskq thread for send
#16151 adda768e3 spa: remove spa_taskq_dispatch_sync()
#16151 515c4dd21 spa: flatten spa_taskq_dispatch_ent()
#16151 0a543db37 spa_taskq_dispatch_ent: simplify arguments
#16153 975a13259 Add support for parallel pool exports
#16153 89acef992 Simplified the scope of the namespace lock
#16159 136c05321 ZAP: Fix leaf references on zap_expand_leaf() errors
#16162 af5dbed31 Fix scn_queue races on very old pools
#16165 3400127a7 Fix ZIL clone records for legacy holes
#16167 414acbd37 Unbreak FreeBSD cross-build on MacOS broken in 051460b8b
#16172 eced2e2f1 libzfs: Fix mounting datasets under thread limit pressure
#16178 b64afa41d Better control the thread pool size when mounting datasets
#16181 fa99d9cd9 zfs_dbgmsg_print: make FreeBSD and Linux consistent
#16191 e675852bc dbuf: separate refcount calls for dbuf and dbuf_user
#16198 a043b60f1 Correct level handling in zstream recompress
#16204 34906f8bb zap: reuse zap_leaf_t on dbuf reuse after shrink
#16206 d0aa9dbcc Use memset to zero stack allocations containing unions
#16207 8865dfbca Fix assertion in Persistent L2ARC
#16208 08648cf0d Allow block cloning to be interrupted by a signal
#16210 e2357561b FreeBSD: Add const qualifier to members of struct
opensolaris_utsname
#16214 800d59d57 Some improvements to metaslabs eviction
#16216 02c5aa9b0 Destroy ARC buffer in case of fill error
#16225 01c8efdd5 Simplify issig()

Obtained from: OpenZFS
OpenZFS commit: e2357561b9499296bff758afe4868dbc39735675

show more ...


# 0d4ad640 23-Apr-2024 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@1f940de07

Notable upstream pull request merges:
#16038 1f940de07 L2ARC: Cleanup buffer re-compression
#16093 c183d164a Parallel pool import
#16094 cd3e6b4f4 Add zfetch stat

zfs: merge openzfs/zfs@1f940de07

Notable upstream pull request merges:
#16038 1f940de07 L2ARC: Cleanup buffer re-compression
#16093 c183d164a Parallel pool import
#16094 cd3e6b4f4 Add zfetch stats in arcstats
#16103 35bf25848 Fix: FreeBSD Arm64 does not build currently
#16104 4036b8d02 Refactor dbuf_read() for safer decryption
#16110 9f83eec03 Handle FLUSH errors as "expected"
#16117 c346068e5 zfs get: add '-t fs' and '-t vol' options

Obtained from: OpenZFS
OpenZFS commit: 1f940de07224c2068e7c721222b1f3a519820ca9

show more ...


# 1719886f 16-Apr-2024 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@90ba19eb7

Notable upstream pull request merges:
#15784 90ba19eb7b Do no use .cfi_negate_ra_state within the assembly
on Arm64
#15942 b6bbaa8372 Give a bet

zfs: merge openzfs/zfs@90ba19eb7

Notable upstream pull request merges:
#15784 90ba19eb7b Do no use .cfi_negate_ra_state within the assembly
on Arm64
#15942 b6bbaa8372 Give a better message from 'zpool get' with invalid
pool name
#15943 ca678bc0bc Makefile.bsd: sort and cleanup source file list
#15953 fa480fe5ba zinject: show more device fault fields
#15983 30c4eba4ea Fix panics when truncating/deleting files
#15992 99741bde59 zvol: use multiple taskq
#16015 a100a195fa Add support for zfs mount -R <filesystem>
#16022 5e5fd0a178 Speculative prefetch for reordered requests
#16040 997f85b4d3 L2ARC: Relax locking during write
#16042 b12738182c Improve dbuf_read() error reporting
#16051 a9a4290173 xdr: header cleanup
#16052 eeca9a91d6 Fix read errors race after block cloning
#16057 aa5445c28b Remove db_state DB_NOFILL checks from syncing context
#16061 76d1dde94c zinject: inject device errors into ioctls
#16072 9e63631dea Small fix to prefetch ranges aggregation
#16077 44f337be30 Illumos#16463 zfs_ioc_recv leaks nvlist
#16085 4725e543be zinject: "no-op" error injection
#16086 c6da985e28 Add the BTI elf note to the AArch64 SHA2 assembly

Obtained from: OpenZFS
OpenZFS commit: 90ba19eb7b81f0225e63bedfb902000d23383921

show more ...


# e2257b31 15-Feb-2024 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@e0bd8118d

Notable upstream pull request merges:
#15469 cbe882298 Add slow disk diagnosis to ZED
#15857 d0d273320 Update zfs-snapshot.8
#15864 a5a725440 zfs list: add '-t fs

zfs: merge openzfs/zfs@e0bd8118d

Notable upstream pull request merges:
#15469 cbe882298 Add slow disk diagnosis to ZED
#15857 d0d273320 Update zfs-snapshot.8
#15864 a5a725440 zfs list: add '-t fs' and '-t vol' options
#15874 6cc93ccde BRT: Fix slop space calculation with block cloning
#15882 a0635ae73 zdb: Fix false leak report for BRT objects

Obtained from: OpenZFS
OpenZFS commit: e0bd8118d04b55b7adf3d9ba256ad4bb53e66512

show more ...


# 78ae60b4 17-Jan-2024 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@a0b2a93c4

Notable upstream pull request merges:
#15660 66670ba9f fix(mount): do not truncate shares not zfs mount
#15719 3bddc4dae spa: Fix FreeBSD sysctl handlers (already

zfs: merge openzfs/zfs@a0b2a93c4

Notable upstream pull request merges:
#15660 66670ba9f fix(mount): do not truncate shares not zfs mount
#15719 3bddc4dae spa: Fix FreeBSD sysctl handlers (already merged)
#15719 5a703d136 spa: Let spa_taskq_param_get()'s addition of a newline
be optional
#15721 6138af86b Stop wasting time on malloc in snprintf_zstd_header
#15723 1f5bf9600 Make zdb -R a little more sane.
#15726 20dd16d9f Make zdb -R scale less poorly
#15737 d9885b377 fix: Uber block label not always found for aux vdevs
#15737 2df2a58dc Extend aux label to add path information
#15737 b64be1624 Add path handling for aux vdevs in `label_path`
#15747 a1771d243 Fix "out of memory" error
#15752 1a11ad9d2 Fix a potential use-after-free in zfs_setsecattr()
#15772 f45dd90f3 Fix cloning into mmaped and cached file
#15781 1494e8fba Autotrim High Load Average Fix

Obtained from: OpenZFS
OpenZFS commit: a0b2a93c41b0b0d7723d1b20eb1eca7a1a63e45b

show more ...


# f7f4bd06 04-Oct-2023 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@f795e90a1

Notable upstream pull request merges:
#15322 4e16964e1 Add '-u' - nomount flag for zfs set
#15331 fe4d055b3 Report ashift of L2ARC devices in zdb
#15333 249d759ca

zfs: merge openzfs/zfs@f795e90a1

Notable upstream pull request merges:
#15322 4e16964e1 Add '-u' - nomount flag for zfs set
#15331 fe4d055b3 Report ashift of L2ARC devices in zdb
#15333 249d759ca Fix invalid pointer access in trace_dbuf.h
#15339 f795e90a1 Add BTI landing pads to the AArch64 SHA2 assembly

Obtained from: OpenZFS
OpenZFS commit: f795e90a11c683d64bacc260fb7feab705b220b1

show more ...


# cbfe9975 21-Sep-2023 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@4647353c8

Notable upstream pull request merges:
#15240 bbac1d297 Update the behavior of mountpoint property
#15240 c63aabaf1 Improve the handling of sharesmb,sharenfs proper

zfs: merge openzfs/zfs@4647353c8

Notable upstream pull request merges:
#15240 bbac1d297 Update the behavior of mountpoint property
#15240 c63aabaf1 Improve the handling of sharesmb,sharenfs properties
#15248 741c215ba Fix l2arc_apply_transforms ztest crash
#15274 ee720ad7b Retire z_nr_znodes
#15278 90149552b ZIL: Fix potential race on flush deferring
#15279 e923bcd16 Update the MOS directory on spa_upgrade_errlog()
#15281 529bec7d7 zed: Allow autoreplace and fault LEDs for removed vdevs
#15288 7228ba111 cmd: add 'help' subcommand to zpool and zfs
#15297 4647353c8 status: report pool suspension state under
failmode=continue

Obtained from: OpenZFS
OpenZFS commit: 4647353c8b2b5ca506da45bb9b01e1f3ef521847

show more ...


# 2ad756a6 02-Sep-2023 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@95f71c019

Notable upstream pull request merges:
#15018 Increase limit of redaction list by using spill block
#15161 Make zoned/jailed zfsprops(7) make more sense
#15216

zfs: merge openzfs/zfs@95f71c019

Notable upstream pull request merges:
#15018 Increase limit of redaction list by using spill block
#15161 Make zoned/jailed zfsprops(7) make more sense
#15216 Relax error reporting in zpool import and zpool split
#15218 Selectable block allocators
#15227 ZIL: Tune some assertions
#15228 ZIL: Revert zl_lock scope reduction
#15233 ZIL: Change ZIOs issue order

Obtained from: OpenZFS
OpenZFS commit: 95f71c019d7c3e3b728a9b05e2117ce6b09f1b87

show more ...


# 0a97523d 01-Jul-2023 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@009d3288d

Notable upstream pull request merges:
#14654 Pack our DDT ZAPs a bit denser
#14979 Again fix race between zil_commit() and zil_suspend()
#14985 Some ZIO micro-

zfs: merge openzfs/zfs@009d3288d

Notable upstream pull request merges:
#14654 Pack our DDT ZAPs a bit denser
#14979 Again fix race between zil_commit() and zil_suspend()
#14985 Some ZIO micro-optimizations
#15000 Fix remount when setting multiple properties
#15004 ddt_addref: remove unnecessary phys fill when refcount is 0
#15007 Do not report bytes skipped by scan as issued
#15023 Enable tuning of ZVOL open timeout value

Obtained from: OpenZFS
OpenZFS commit: 009d3288dea524c7ad373b04b65bee8bb6f0bfea
OpenZFS tag: zfs-2.2.0-rc1

show more ...


# d411c1d6 03-May-2023 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@d96e29576

Notable upstream pull request merges:

#11680 Add support for zpool user properties
#14145 Storage device expansion "silently" fails on degraded vdev
#14405 Cr

zfs: merge openzfs/zfs@d96e29576

Notable upstream pull request merges:

#11680 Add support for zpool user properties
#14145 Storage device expansion "silently" fails on degraded vdev
#14405 Create zap for root vdev
#14659 Allow MMP to bypass waiting for other threads
#14674 Miscellaneous FreBSD compilation bugfixes
#14692 Fix some signedness issues in arc_evict()
#14702 Fix typo in check_clones()
#14715 module: small fixes for FreeBSD/aarch64
#14716 Trim needless zeroes from checksum events
#14719 vdev: expose zfs_vdev_max_ms_shift as a module parameter
#14722 Fix "Detach spare vdev in case if resilvering does not happen"
#14723 freebsd clone range fixes
#14728 Fix BLAKE3 aarch64 assembly for FreeBSD and macOS
#14735 Fix in check_filesystem()
#14739 Fix data corruption when cloning embedded blocks
#14758 Fix VERIFY(!zil_replaying(zilog, tx)) panic
#14761 Revert "ZFS_IOC_COUNT_FILLED does unnecessary txg_wait_synced()"
#14774 FreeBSD .zfs fixups
#14776 FreeBSD: make zfs_vfs_held() definition consistent with declaration
#14779 powerpc64: Support ELFv2 asm on Big Endian
#14788 FreeBSD: add missing vop_fplookup assignments
#14789 PAM: support the authentication facility
#14790 Revert "Fix data race between zil_commit() and zil_suspend()"
#14795 Fix positive ABD size assertion in abd_verify()
#14798 Mark TX_COMMIT transaction with TXG_NOTHROTTLE
#14804 Correct ABD size for split block ZIOs
#14806 Use correct block pointer in block cloning case.
#14808 blake3: fix up bogus checksums in face of cpu migration

Obtained from: OpenZFS
OpenZFS commit: d96e29576c89e6e547cb82b477651d2b85ea0fed

show more ...


# 2a58b312 03-Apr-2023 Martin Matuska <mm@FreeBSD.org>

zfs: merge openzfs/zfs@431083f75

Notable upstream pull request merges:
#12194 Fix short-lived txg caused by autotrim
#13368 ZFS_IOC_COUNT_FILLED does unnecessary txg_wait_synced()
#13392 Imple

zfs: merge openzfs/zfs@431083f75

Notable upstream pull request merges:
#12194 Fix short-lived txg caused by autotrim
#13368 ZFS_IOC_COUNT_FILLED does unnecessary txg_wait_synced()
#13392 Implementation of block cloning for ZFS
#13741 SHA2 reworking and API for iterating over multiple implementations
#14282 Sync thread should avoid holding the spa config write lock
when possible
#14283 txg_sync should handle write errors in ZIL
#14359 More adaptive ARC eviction
#14469 Fix NULL pointer dereference in zio_ready()
#14479 zfs redact fails when dnodesize=auto
#14496 improve error message of zfs redact
#14500 Skip memory allocation when compressing holes
#14501 FreeBSD: don't verify recycled vnode for zfs control directory
#14502 partially revert PR 14304 (eee9362a7)
#14509 Fix per-jail zfs.mount_snapshot setting
#14514 Fix data race between zil_commit() and zil_suspend()
#14516 System-wide speculative prefetch limit
#14517 Use rw_tryupgrade() in dmu_bonus_hold_by_dnode()
#14519 Do not hold spa_config in ZIL while blocked on IO
#14523 Move dmu_buf_rele() after dsl_dataset_sync_done()
#14524 Ignore too large stack in case of dsl_deadlist_merge
#14526 Use .section .rodata instead of .rodata on FreeBSD
#14528 ICP: AES-GCM: Refactor gcm_clear_ctx()
#14529 ICP: AES-GCM: Unify gcm_init_ctx() and gmac_init_ctx()
#14532 Handle unexpected errors in zil_lwb_commit() without ASSERT()
#14544 icp: Prevent compilers from optimizing away memset()
in gcm_clear_ctx()
#14546 Revert zfeature_active() to static
#14556 Remove bad kmem_free() oversight from previous zfsdev_state_list
patch
#14563 Optimize the is_l2cacheable functions
#14565 FreeBSD: zfs_znode_alloc: lock the vnode earlier
#14566 FreeBSD: fix false assert in cache_vop_rmdir when replaying ZIL
#14567 spl: Add cmn_err_once() to log a message only on the first call
#14568 Fix incremental receive silently failing for recursive sends
#14569 Restore ASMABI and other Unify work
#14576 Fix detection of IBM Power8 machines (ISA 2.07)
#14577 Better handling for future crypto parameters
#14600 zcommon: Refactor FPU state handling in fletcher4
#14603 Fix prefetching of indirect blocks while destroying
#14633 Fixes in persistent error log
#14639 FreeBSD: Remove extra arc_reduce_target_size() call
#14641 Additional limits on hole reporting
#14649 Drop lying to the compiler in the fletcher4 code
#14652 panic loop when removing slog device
#14653 Update vdev state for spare vdev
#14655 Fix cloning into already dirty dbufs
#14678 Revert "Do not hold spa_config in ZIL while blocked on IO"

Obtained from: OpenZFS
OpenZFS commit: 431083f75bdd3efaee992bdd672625ec7240d252

show more ...


1234567