aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/man/man8
Commit message (Collapse)AuthorAgeFilesLines
* zfs: merge openzfs/zfs@e63d026b9Martin Matuska2025-11-174-62/+139
| | | | | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #17477 02fdd26e5 Add knob to disable slow io notifications #17792 d0294aa75 Update dnode_next_offset_level to accept blkid instead of offset #17824 8c225ff1b Fix gang write late_arrival bug #17861 -multiple Lift userspace definitions out of zfs_context.h #17872 dcada084b Pass flags to more DMU write/hold functions #17875 ec268cdf9 Fix caching of DDT log and BRT #17875 ea125eeb5 BRT: Round bv_entcount up to BRT_BLOCKSIZE #17877 6cfc3dba9 Cleanup ZIO_FLAG_IO_RETRY vs TRYHARD usage #17885 e63d026b9 cmd/zpool cstyle issues #17890 b4f073b5a Add BRT support to zpool prefetch command #17903 baefe098e ZIO: Set minimum number of free issue threads to 32 #17906 6e12f0bd7 spa_misc: add an API for spa_namespace_lock #17908 e26b9fc87 FreeBSD: Add support for _PC_CASE_INSENSITIVE #17911 -multiple Update library ABI versions for v2.4.0 #17915 8aaed7dc4 BRT: Fix ranges to blocks conversion math #17916 cc5cae547 BRT: Increase block size from 4KB to 8KB #17921 72b2a9571 ZAP: Remove dmu_object_info_from_dnode() call Obtained from: OpenZFS OpenZFS commit: e63d026b91b822dd9b363ab9a1e39d9a66493601
* zfs: merge openzfs/zfs@0455150f1Martin Matuska2025-10-251-2/+2
| | | | | | | | | | | | Notable upstream pull request merges: #17836 adacf020c Fix return value for setting zvol threading #17839 44704616b zpool: fix conflict with -v and -o options #17851 3a55e76b8 FreeBSD: zfs_getpages: Don't zero freshly allocated pages #17863 0455150f1 FreeBSD zio_crypt.c: initialize uio variables before access Obtained from: OpenZFS OpenZFS commit: 0455150f1160dd7089ab31fefcfc58bfa548ab81
* zfs: merge openzfs/zfs@6ae99d269Martin Matuska2025-10-201-0/+14
| | | | | | | | | | | | Notable upstream pull request merges: #17750 6e5b836e9 FreeBSD: Correct _PC_MIN_HOLE_SIZE #17803 1861a329f zvol: verify IO type is supported #17826 51de2d76f Explicit set ashift for non-leaf vdevs #17830 f4276479c Suppress some ashift warnings #17843 6ae99d269 mmap_seek: print error code and text on failure Obtained from: OpenZFS OpenZFS commit: 6ae99d26924decb5f618b596ec7663e6a26d2e5f
* zfs: merge openzfs/zfs@5605a6d79Martin Matuska2025-10-052-2/+16
| | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@b2196fbedMartin Matuska2025-09-241-10/+10
| | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@3f4312a0aMartin Matuska2025-09-134-2/+57
| | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@7939bad5eMartin Matuska2025-09-1058-76/+85
| | | | | | | | | | | | | | | | | Notable upstream pull request merges: #15869 ee7c36264 Add description of default sorting behavior to zfs_list.8 #17375 ced72fdd6 tunables: remove legacy FreeBSD aliases #17600 1da2c30be Update pam_zfs_key.c default path for FreeBSD #17632 b6bd3228b Synchronize the update of feature refcount #17645 59f8f5dfe zfs_vnops_os.c: Add support for the _PC_CLONE_BLKSIZE name #17665 0d54ae288 zdb: Fix format strings on 32-bit systems #17673 976f76534 Update compatibility.d files #17699 e3c3e86c0 Fix wrong dedup_table_size for legacy dedup #17704 e29bfa5bd Fix warnings about sha2_is_supported on FreeBSD/i386 #17706 a2424312c Fix the build on 32-bit FreeBSD with GCC Obtained from: OpenZFS OpenZFS commit: 7939bad5e79225288a2580e8ea217f5c6f616db2
* zfs: merge openzfs/zfs@a9410ccbdMartin Matuska2025-08-202-9/+29
| | | | | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #17058 -multiple Port AVX2 implementation of aes-gcm from BoringSSL #17602 077269bfe Fix Assert in dbuf_undirty, which triggers during usage zap shrink #17613 d15143207 ZIL: Make allocations more flexible #17618 5061f959d Retire zfs_autoimport_disable kmod option #17166 d3c1d27af zdb: better handling for corrupt block pointers #17616 1ccae433e Allow vmem_alloc backed multilists #17619 e0e60d319 Better pack struct zio_prop #17620 152e34822 Silence zstd large allocation warning #17622 -multiple ZIL: restore some things lost in "ZIL-crash" review #17625 -multiple zvol: cleanup & fixup zvol destruction sequence and locking #17631 885d929cf Fix missed assertion update in physical rewrite patch #17642 a9410ccbd Make zpool_find_config() report errors #17647 30a915efe zfs-send.8: mention combination of -c/-e flags and zstd_compress feature #17649 2c877e845 FreeBSD: Set st_rdev to NODEV, not 0, when not a device (already backported) Obtained from: OpenZFS OpenZFS commit: a9410ccbd9f0375a7eeb6bc35eb55efe9c21493e
* zfs: merge openzfs/zfs@8302b6e32Martin Matuska2025-08-076-17/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@8170eb6ebMartin Matuska2025-06-211-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #17385 e1677d9ee ZVOL: Make zvol_prefetch_bytes module parameter platform-independent #17386 e0edfcbd4 ZVOL: Make zvol_volmode module parameter platform-independent #17391 108562344 Improve allocation fallback handling #17409 68817d28c Include class name into struct metaslab_class #17413 af7d60959 zpl: handle suspend from two remaining calls to `txg_wait_synced()` #17415 b7f919d22 Relax zfs_vnops_read_chunk_size limitations #17423 5e5253be8 FreeBSD: Wire projects support #17426 -multiple Channel programs: add zfs.sync.clone() #17431 e0ef4d276 Improve block cloning transactions accounting #17432 46b82de61 scrub: generate scrub_finish event #17435 bcd043023 Allow zero compression if dedup is enabled #17438 ba227e2cc Make TX abort after assign safer #17441 4ae931aa9 Polish db_rwlock scope #17434 66ec7fb26 Reduce zfs_dmu_offset_next_sync penalty #17445 238eab7dc FreeBSD: zfs_putpages: don't undirty pages until after write completes #17458 bd27b7540 ZIL: Relax parallel write ZIOs processing #17469 717213d43 Fix other nonrot bugs Obtained from: OpenZFS OpenZFS commit: 8170eb6ebcf2e7b1c735da80c331d7a57f1de987
* zfs: merge openzfs/zfs@e8e602d98Martin Matuska2025-05-311-2/+57
| | | | | | | | | | | | | | Notable upstream pull request merges: #17381 44e326689 events: include zio type in IO error reports #17395 008c9666e Set spa_final_txg in spa_unload() #17394 1bd225ed8 abd_os: move headers from libzpool to libspl #17399 5764e218b vdev_disk: remove classic IO submission #17400 b3b3cd1e4 vdev: skip faulting disks pending removal #17406 a38376b37 Rename zvol kernel module parameters sysctls on FreeBSD side #17407 2d33c8edb Make rewrite use Uncached I/O Obtained from: OpenZFS OpenZFS commit: e8e602d987b01e7940f698d5fa2b00754609c74b
* zfs: merge openzfs/zfs@3084336aeMartin Matuska2025-05-303-38/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@246e5883bMartin Matuska2025-05-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@4abc21b28Martin Matuska2025-03-2770-13/+84
| | | | | | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@6a2f7b384Martin Matuska2025-02-201-12/+21
| | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #16857 387ed5ca4 Add recursive dataset mounting and unmounting support to pam_zfs_key #16929 c2458ba92 optimize recv_fix_encryption_hierarchy() #16980 12f0baf34 Make the vfs.zfs.vdev.raidz_impl sysctl cross-platform #16986 40496514b Expand fragmentation table to reflect larger possibile allocation sizes #17003 88020b993 Add kstats tracking gang allocations #17013 21205f648 Avoid ARC buffer transfrom operations in prefetch #17016 390f6c119 zio: lock parent zios when updating wait counts on reexecute #17029 b8c73ab78 zio: do no-op injections just before handing off to vdevs #17037 6a2f7b384 Fix metaslab group fragmentation math #17040 b901d4a0b Update the dataset name in handle after zfs_rename Obtained from: OpenZFS OpenZFS commit: 6a2f7b38442b42f4bc9a848f8de10fc792ce8d76
* zfs: merge openzfs/zfs@34205715eMartin Matuska2025-01-275-15/+16
| | | | | | | | | | Notable upstream pull request merges: #16938 2aa3fbe76 zinject: count matches and injections for each handler #16947 -multiple zinject: add "probe" device injection type #16976 34205715e FreeBSD: Add setting of the VFCF_FILEREV flag Obtained from: OpenZFS OpenZFS commit: 34205715e1544d343f9a64149b17c371282306ae
* zfs: merge openzfs/zfs@e0039c705Martin Matuska2024-12-072-5/+8
| | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #16215 44446dccd During pool export flush the ARC asynchronously #16301 4b4e346b9 Add ability to scrub from last scrubbed txg #16755 0ffa6f346 zdb: show dedup table and log attributes #16801 1cd2419ec Fix race in libzfs_run_process_impl #16814 a01504b35 Improve speculative prefetcher for block cloning #16819 a44eaf169 Optimize RAIDZ expansion #16825 e8b333e4d Fix false assertion in dmu_tx_dirty_buf() on cloning #16829 6e3c109bc Fix regression in dmu_buf_will_fill() #16832 2507db612 zdb_il: use flex array member to access ZIL records #16834 0e020bf3e FreeBSD: Remove an incorrect assertion in zfs_getpages() #16836 c33a55b0c Allow dsl_deadlist_open() return errors Obtained from: OpenZFS OpenZFS commit: e0039c70573e455f4745a83b7d5a6a5f6f2e58a8
* zfs: merge openzfs/zfs@d0a91b9f8Martin Matuska2024-11-242-1/+69
| | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #16643 -multiple Change rangelock handling in FreeBSD's zfs_getpages() #16697 46c4f2ce0 dsl_dataset: put IO-inducing frees on the pool deadlist #16740 -multiple BRT: Rework structures and locks to be per-vdev #16743 a60ed3822 L2ARC: Move different stats updates earlier #16758 8dc452d90 Fix some nits in zfs_getpages() #16759 534688948 Remove hash_elements_max accounting from DBUF and ARC #16766 9a81484e3 ZAP: Reduce leaf array and free chunks fragmentation #16773 457f8b76e BRT: More optimizations after per-vdev splitting #16782 0ca82c568 L2ARC: Stop rebuild before setting spa_final_txg #16785 d76d79fd2 zio: Avoid sleeping in the I/O path #16791 ae1d11882 BRT: Clear bv_entcount_dirty on destroy #16796 b3b0ce64d FreeBSD: Lock vnode in zfs_ioctl() #16797 d0a91b9f8 FreeBSD: Reduce copy_file_range() source lock to shared Obtained from: OpenZFS OpenZFS commit: d0a91b9f88a47316158508bf304a61baa8c99c10
* zfs: merge openzfs/zfs@1c9a4c8cbMartin Matuska2024-11-131-1/+3
| | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@b2f6de7b5Martin Matuska2024-10-208-11/+18
| | | | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@b10992582Martin Matuska2024-10-113-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #9416 -multiple zio_compress: introduce max size threshold #10018 a10e552b9 Adding Direct IO Support #15147 e419a63bf xattr dataset prop: change defaults to sa #15454 7e957fde7 send/recv: open up additional stream feature flags #15810 0d77e738e Defer resilver only when progress is above a threshold #15921 3cf2bfa57 Allocate zap_attribute_t from kmem instead of stack #16483 -multiple dmu_objset: replace dnode_hash impl with cityhash4 #16485 8be2f4c3d zio_resume: log when unsuspending the pool #16491 88433e640 sys/types32.h: Remove struct timeval32 from libspl header #16496 f245541e2 zfs_file: implement zfs_file_deallocate for FreeBSD 14 #16511 308f7c2f1 Fix an uninitialized data access #16529 29c9e6c32 Fix handling of DNS names with '-' in them for sharenfs #16531 ddf5f34f0 Avoid fault diagnosis if multiple vdevs have errors #16539 6f50f8e16 zfs_log: add flex array fields to log record structs #16546 d40d40913 Evicting too many bytes from MFU metadata #16551 3014dcb76 Reduce and handle EAGAIN errors on AIO label reads #16554 80645d658 FreeBSD: restore zfs_znode_update_vfs() #16565 832f66b21 FreeBSD: Sync taskq_cancel_id() returns with Linux #16567 48d1be254 Properly release key in spa_keystore_dsl_key_hold_dd() #16569 141368a4b Restrict raidz faulted vdev count #16583 c84a37ae9 lua: add flex array field to TString type #16584 86737c592 Avoid computing strlen() inside loops #16587 d34d4f97a snapdir: add 'disabled' value to make .zfs inaccessible #16593 224393a32 feature: large_microzap #16597 412105977 Temporarily disable Direct IO by default #16605 4ebe674d9 ARC: Cache arc_c value during arc_evict() Backported pull request merges: #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 #16635 ---TBD--- zdb: fix printf format in dump_zap() Obtained from: OpenZFS OpenZFS commit: b109925820fb79db3e37670c159977f03edd950f OpenZFS tag: 2.3.0-rc1
* zfs: merge openzfs/zfs@b10992582Martin Matuska2024-09-093-1/+62
| | | | | | | | | | | | | | | | | Notable upstream pull request merges: #15892 -multiple Fast Dedup: Introduce the FDT on-disk format and feature flag #15893 -multiple Fast Dedup: “flat” DDT entry format #15895 -multiple Fast Dedup: FDT-log feature #16239 6be8bf555 zpool: Provide GUID to zpool-reguid(8) with -g #16277 -multiple Fast Dedup: prune unique entries #16316 5807de90a Fix null ptr deref when renaming a zvol with snaps and snapdev=visible #16343 77a797a38 Enable L2 cache of all (MRU+MFU) metadata but MFU data only #16446 83f359245 FreeBSD: fix build without kernel option MAC #16449 963e6c9f3 Fix incorrect error report on vdev attach/replace #16505 b10992582 spa_prop_get: require caller to supply output nvlist Obtained from: OpenZFS OpenZFS commit: b109925820fb79db3e37670c159977f03edd950f
* zfs: merge openzfs/zfs@9c56b8ec7Martin Matuska2024-08-109-2/+586
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@1147a2797Martin Matuska2024-07-181-2/+1
| | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #16209 --multi-- icp: rip out everything we don't use #16230 20c8bdd85 FreeBSD: Update use of UMA-related symbols in arc_available_memory #16242 121a2d335 FreeBSD: unregister mountroot eventhandler on unload #16258 5de3ac223 vdev_open: clear async fault flag after reopen #16270 436731276 zvol: Fix suspend lock leaks #16273 c87cb22ba head_errlog: fix use-after-free #16284 f72e081fb FreeBSD: Use a statement expression to implement SET_ERROR() #16300 a10faf5ce FreeBSD: Use the new freeuio() helper to free dynamically allocated UIOs #16302 a7fc4c85e zstd: don't call zstd_mempool_reap if there are no buffers #16334 dc91e7452 zdb: dump ZAP_FLAG_UINT64_KEY ZAPs properly Obtained from: OpenZFS OpenZFS commit: 1147a279785329a2eaeb01c0610c35fe835a62a6
* zfs: merge openzfs/zfs@8f1b7a6faMartin Matuska2024-05-031-3/+4
| | | | | | | | | | | | | | | | Notable upstream pull request merges: #15839 c3f2f1aa2 vdev probe to slow disk can stall mmp write checker #15888 5044c4e3f Fast Dedup: ZAP Shrinking #15996 db499e68f Overflowing refreservation is bad #16118 67d13998b Make more taskq parameters writable #16128 21bc066ec Fix updating the zvol_htable when renaming a zvol #16130 645b83307 Improve write issue taskqs utilization #16131 8fd3a5d02 Slightly improve dnode hash #16134 a6edc0adb zio: try to execute TYPE_NULL ZIOs on the current task #16141 b28461b7c Fix arcstats for FreeBSD after zfetch support Obtained from: OpenZFS OpenZFS commit: 8f1b7a6fa6762ea4c89198ceb11c521f80b92ddc
* zfs: merge openzfs/zfs@1f940de07Martin Matuska2024-04-232-1/+18
| | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@90ba19eb7Martin Matuska2024-04-163-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@39be46f43Martin Matuska2024-03-303-39/+54
| | | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #15509 b1e46f869 Add ashift validation when adding devices to a pool #15927 45e23abed Update resume token at object receive #15941 bf8f72359 BRT: Skip duplicate BRT prefetches #15950 8cd8ccca5 BRT: Skip getting length in brt_entry_lookup() #15951 80cc51629 ZAP: Massively switch to _by_dnode() interfaces #15954 2c01cae8b BRT: Change brt_pending_tree sorting order #15955 4616b96a6 BRT: Relax brt_pending_apply() locking #15959 5c4a4f82c zio: update ZIO type x stage documentation #15962 493fcce9b Provide macros for setting and getting blkptr birth times #15963 90ff73235 freebsd: fix missing headers in distribution tarball #15967 f68bde723 BRT: Make BRT block sizes configurable #15976 c28f94f32 ZAP: Some cleanups/micro-optimizations #15995 cfb96c772 vdev_disk: clean up spa/bdev mode conversion #16006 c0aab8b8f zvols: prevent overflow of minor device numbers #16007 a89d209bb BRT: Fix holes cloning #16008 c9d8f6c59 Fix option string, adding -e and fixing order Obtained from: OpenZFS OpenZFS commit: 39be46f43f96fb7420386d03751b01f5cb376d6b
* zfs: merge openzfs/zfs@e0bd8118dMartin Matuska2024-02-153-5/+23
| | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@229b9f4edMartin Matuska2024-02-081-1/+3
| | | | | | | | | | Notable upstream pull request merges: #15769 082338875 Add 'zpool status -e' flag to see unhealthy vdevs #15804 a0d3fe72b libzdb: Initial breakout of libzdb #15847 229b9f4ed LUA: Backport CVE-2020-24370's patch Obtained from: OpenZFS OpenZFS commit: 229b9f4ed05e6d14fb4d73fa04a71e99b01bb534
* zfs: merge openzfs/zfs@2e6b3c4d9Martin Matuska2024-01-304-4/+4
| | | | | | | | | | | | | | | | Notable upstream pull request merges: #15793 401c3563d libzfs: use zfs_strerror() in place of strerror() #15793 692f0daba libzfs: make userquota_propname_decode threadsafe #15798 0cbf13529 libnvpair.c: replace strstr() with strchr() for a single character #15812 78e8c1f84 Remove list_size struct member from list implementation #15816 aeb33776f Update vdev devid and physpath if changed between imports #15818 8161b7327 Don't assert mg_initialized due to device addition race #15823 c3fd7a521 Update man pages to time(1) from time(2) #15825 884a48d99 zpool wait: print timestamp before the header Obtained from: OpenZFS OpenZFS commit: 2e6b3c4d9453360a351af6148386360a3a7209b3
* zfs: merge openzfs/zfs@233d34e47Martin Matuska2023-12-274-4/+46
| | | | | | | | | | | Notable upstream pull request merges: #15635 eff77a802 ZIL: Improve next log block size prediction #15675 6930ecbb7 spa: make read/write queues configurable #15677 5a4915660 Don't panic on unencrypted block in encrypted dataset #15716 07e95b467 Fix the FreeBSD userspace build Obtained from: OpenZFS OpenZFS commit: 233d34e47ef88ee9e9a1e1ad02384f2063cd039b
* zfs: merge openzfs/zfs@688514e47Martin Matuska2023-11-281-2/+9
| | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #15532 c1a47de86 zdb: Fix zdb '-O|-r' options with -e/exported zpool #15535 cf3316633 ZVOL: Minor code cleanup #15541 803a9c12c brt: lift internal definitions into _impl header #15541 213d68296 zdb: show BRT statistics and dump its contents #15543 a49087510 ZIL: Refactor TX_WRITE encryption similar to TX_CLONE_RANGE #15543 27d8c23c5 ZIL: Do not encrypt block pointers in lr_clone_range_t #15549 67894a597 unnecessary alloc/free in dsl_scan_visitbp() #15551 126efb588 FreeBSD: Fix the build on FreeBSD 12 #15563 acb33ee1c FreeBSD: Fix ZFS so that snapshots under .zfs/snapshot are NFS visible #15564 7bbd42ef4 Don't allow attach to a raidz child vdev #15566 688514e47 dmu_buf_will_clone: fix race in transition back to NOFILL #15571 30d581121 dnode_is_dirty: check dnode and its data for dirtiness Obtained from: OpenZFS OpenZFS commit: 688514e4704bdee4551d25960febd322ac26f297
* zfs: merge openzfs/zfs@887a3c533Martin Matuska2023-11-092-7/+52
| | | | | | | | | | Notable upstream pull request merges: #15022 5caeef02f RAID-Z expansion feature #15457 887a3c533 Increase L2ARC write rate and headroom #15504 1c1be60fa Unbreak FreeBSD world build after 3bd4df384 Obtained from: OpenZFS OpenZFS commit: 887a3c533b94a4b70075e310f15c45b9dee19410
* zfs: merge openzfs/zfs@f795e90a1Martin Matuska2023-10-041-0/+7
| | | | | | | | | | | 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
* zfs: merge openzfs/zfs@2e2a46e0aMartin Matuska2023-09-242-0/+71
| | | | | | | | | | Notable upstream pull request merges: #15243 b53077a9e Add zfs_prepare_disk script for disk firmware install #15298 2e2a46e0a Invoke zdb by guid to avoid import errors #15301 e5d70f467 ZIL: Avoid dbuf_read() in ztest_get_data() Obtained from: OpenZFS OpenZFS commit: 2e2a46e0a597b3ee606ea7dc5bc527459077322f
* zfs: merge openzfs/zfs@95f71c019Martin Matuska2023-09-021-25/+33
| | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@804414aadMartin Matuska2023-08-262-23/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #15024 Add missed DMU_PROJECTUSED_OBJECT prefetch #15029 Do not request data L1 buffers on scan prefetch #15036 FreeBSD: catch up to __FreeBSD_version 1400093 #15039 Fix raw receive with different indirect block size #15047 FreeBSD: Fix build on stable/13 after 1302506 #15049 Fix the ZFS checksum error histograms with larger record sizes #15052 Reduce bloat in ereport.fs.zfs.checksum events #15056 Avoid extra snprintf() in dsl_deadlist_merge() #15061 Ignore pool ashift property during vdev attachment #15063 Don't panic if setting vdev properties is unsupported for this vdev type #15067 spa_min_alloc should be GCD, not min #15071 Add explicit prefetches to bpobj_iterate() #15072 Adjust prefetch parameters #15076 Refactor dmu_prefetch() #15079 set autotrim default to 'off' everywhere #15080 ZIL: Fix config lock deadlock #15088 metaslab: tuneable to better control force ganging #15096 Avoid waiting in dmu_sync_late_arrival() #15097 BRT should return EOPNOTSUPP #15103 Remove zl_issuer_lock from zil_suspend() #15107 Remove fastwrite mechanism #15113 libzfs: sendrecv: send_progress_thread: handle SIGINFO/SIGUSR1 #15122 ZIL: Second attempt to reduce scope of zl_issuer_lock #15129 zpool_vdev_remove() should handle EALREADY error return #15132 ZIL: Replay blocks without next block pointer #15148 zfs_clone_range should return descriptive error codes #15153 ZIL: Avoid dbuf_read() before dmu_sync() #15172 copy_file_range: fix fallback when source create on same txg #15180 Update outdated assertion from zio_write_compress Obtained from: OpenZFS OpenZFS commit: 804414aad224b432590afe3f9ec114ffb49e0f13
* zfs: merge openzfs/zfs@009d3288dMartin Matuska2023-07-012-3/+4
| | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@a9d6b0690Martin Matuska2023-06-281-2/+2
| | | | | | | | | | Notable upstream pull request merges: #14925 Another set of vdev queue optimizations #14964 Use big transactions for small recordsize writes #14999 ZIL: Fix another use-after-free Obtained from: OpenZFS OpenZFS commit: a9d6b0690b1863f39a7efce08b1227f2e9e26abb
* zfs: merge openzfs/zfs@feff9dfedMartin Matuska2023-06-103-10/+29
| | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #14833 Update compatibility.d files #14841 ZIL: Reduce scope of per-dataset zl_issuer_lock #14863 zil: Add some more statistics #14866 btree: Implement faster binary search algorithm #14894 Fix inconsistent definition of zfs_scrub_error_blocks_per_txg #14892 Fix concurrent resilvers initiated at same time #14903 Fix NULL pointer dereference when doing concurrent 'send' operations #14910 ZIL: Allow to replay blocks of any size #14939 Fix the L2ARC write size calculating logic #14934 Introduce zfs_refcount_(add|remove)_few() #14946 Improve l2arc reporting in arc_summary #14953 Finally drop long disabled vdev cache #14954 Fix the L2ARC write size calculating logic (2) #14955 Use list_remove_head() where possible #14959 ZIL: Fix race introduced by f63811f0721 Obtained from: OpenZFS OpenZFS commit: feff9dfed3df1bbae5dd74959a6ad87d11f27ffb
* zfs: merge openzfs/zfs@ad0a55461Martin Matuska2023-05-232-1/+28
| | | | | | | | | | | | | | | Notable upstream pull request merges: #12355 Teach zpool scrub to scrub only blocks in error log #14811 Refine special_small_blocks property validation #14854 zil: Some micro-optimizations #14855 zil: Free lwb_buf after write completion #14860 Fixes for issues identified by recent Coverity defect reports #14861 Probe vdevs before marking removed #14873 Add the ability to uninitialize a zpool #14875 Hold db_mtx when updating db_state Obtained from: OpenZFS OpenZFS commit: ad0a554614b096698d9969340c4c593690042d5b
* zfs: merge openzfs/zfs@e61076683Martin Matuska2023-05-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #14744 Optimize check_filesystem() and process_error_log() #14773 Allow zhack label repair to restore detached devices #14794 zpool import -m also removing spare and cache when log device is missing #14805 Simplify and optimize random_int_between() #14813 Enable the head_errlog feature to remove errors #14816 Fix two abd_gang_add_gang() issues #14817 Verify block pointers before writing them out #14819 Add dmu_tx_hold_append() interface #14823 Remove single parent assertion from zio_nowait() #14824 Plug memory leak in zfsdev_state #14825 Block cloning dbuf fixes #14828 Remove duplicate code in l2arc_evict() #14837 Fixes in head_errlog feature with encryption #14839 Prevent panic during concurrent snapshot rollback and zvol read #14853 zil: Don't expect zio_shrink() to succeed Obtained from: OpenZFS OpenZFS commit: e6107668385044718b0a73330ed6423650806473
* zfs: merge openzfs/zfs@431083f75Martin Matuska2023-04-035-24/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@9cd71c860 (master)Martin Matuska2023-01-252-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #13805 Configure zed's diagnosis engine with vdev properties #14110 zfs list: Allow more fields in ZFS_ITER_SIMPLE mode #14121 Batch enqueue/dequeue for bqueue #14123 arc_read()/arc_access() refactoring and cleanup #14159 Bypass metaslab throttle for removal allocations #14243 Implement uncached prefetch #14251 Cache dbuf_hash() calculation #14253 Allow reciever to override encryption property in case of replication #14254 Restrict visibility of per-dataset kstats inside FreeBSD jails #14255 Zero end of embedded block buffer in dump_write_embedded() #14263 Cleanups identified by CodeQL and Coverity #14264 Miscellaneous fixes #14272 Change ZEVENT_POOL_GUID to ZEVENT_POOL to display pool names #14287 FreeBSD: Remove stray debug printf #14288 Colorize zfs diff output #14289 deadlock between spa_errlog_lock and dp_config_rwlock #14291 FreeBSD: Fix potential boot panic with bad label #14292 Add tunable to allow changing micro ZAP's max size #14293 Turn default_bs and default_ibs into ZFS_MODULE_PARAMs #14295 zed: add hotplug support for spare vdevs #14304 Activate filesystem features only in syncing context #14311 zpool: do guid-based comparison in is_vdev_cb() #14317 Pack zrlock_t by 8 bytes #14320 Update arc_summary and arcstat outputs #14328 FreeBSD: catch up to 1400077 #14376 Use setproctitle to report progress of zfs send #14340 Remove some dead ARC code #14358 Wait for txg sync if the last DRR_FREEOBJECTS might result in a hole #14360 libzpool: fix ddi_strtoull to update nptr #14364 Fix unprotected zfs_znode_dmu_fini #14379 zfs_receive_one: Check for the more likely error first #14380 Cleanup of dead code suggested by Clang Static Analyzer #14397 Avoid passing an uninitialized index to dsl_prop_known_index #14404 Fix reading uninitialized variable in receive_read #14407 free_blocks(): Fix reports from 2016 PVS Studio FreeBSD report #14418 Introduce minimal ZIL block commit delay #14422 x86 assembly: fix .size placement and replace .align with .balign Obtained from: OpenZFS OpenZFS commit: 9cd71c8604d52def22ffaddc35755712f0fb9349
* zfs: merge openzfs/zfs@59493b63c (master)Martin Matuska2022-12-0725-54/+98
| | | | | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #13782 Fix setting the large_block feature after receiving a snapshot #14157 FreeBSD: stop using buffer cache-only routines on sync #14172 zed: post a udev change event from spa_vdev_attach() #14181 zed: unclean disk attachment faults the vdev #14190 Bump checksum error counter before reporting to ZED #14196 Remove atomics from zh_refcount #14197 Don't leak packed recieved proprties #14198 Switch dnode stats to wmsums #14199 Remove few pointer dereferences in dbuf_read() #14200 Micro-optimize zrl_remove() #14204 Lua: Fix bad bitshift in lua_strx2number() #14212 Zstd fixes #14218 Avoid a null pointer dereference in zfs_mount() on FreeBSD #14235 nopwrites on dmu_sync-ed blocks can result in a panic #14236 zio can deadlock during device removal #14247 Micro-optimize fletcher4 calculations #14261 FreeBSD: zfs_register_callbacks() must implement error check correctly Obtained from: OpenZFS OpenZFS commit: 59493b63c18ea223857066218d6a58b67eb88159
* zfs: merge openzfs/zfs@2163cde45Martin Matuska2022-11-162-3/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #13680 Add options to zfs redundant_metadata property #13758 Allow mounting snapshots in .zfs/snapshot as a regular user #13838 quota: disable quota check for ZVOL #13839 quota: extend quota for dataset #13973 Fix memory leaks in dmu_send()/dmu_send_obj() #13977 Avoid unnecessary metaslab_check_free calling #13978 PAM: Fix unchecked return value from zfs_key_config_load() #13979 Handle possible null pointers from malloc/strdup/strndup() #13997 zstream: allow decompress to fix metadata for uncompressed records #13998 zvol_wait logic may terminate prematurely #14001 FreeBSD: Fix a pair of bugs in zfs_fhtovp() #14003 Stop ganging due to past vdev write errors #14039 Optimize microzaps #14050 Fix draid2+2s metadata error on simultaneous 2 drive failures #14062 zed: Avoid core dump if wholedisk property does not exist #14077 Propagate extent_bytes change to autotrim thread #14079 FreeBSD: vn_flush_cached_data: observe vnode locking contract #14093 Fix ARC target collapse when zfs_arc_meta_limit_percent=100 #14106 Add ability to recompress send streams with new compression algorithm #14119 Deny receiving into encrypted datasets if the keys are not loaded #14120 Fix arc_p aggressive increase #14129 zed: Prevent special vdev to be replaced by hot spare #14133 Expose zfs_vdev_open_timeout_ms as a tunable #14135 FreeBSD: Fix out of bounds read in zfs_ioctl_ozfs_to_legacy() #14152 Adds the `-p` option to `zfs holds` #14161 Handle and detect #13709's unlock regression Obtained from: OpenZFS OpenZFS commit: 2163cde450d0898b5f7bac16afb4e238485411ff
* zfs: merge openzfs/zfs@c629f0bf6Martin Matuska2022-09-211-0/+13
| | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #13725 Fix BLAKE3 tuneable and module loading on Linux and FreeBSD #13756 FreeBSD: Organize sysctls #13773 FreeBSD: add kqfilter support for zvol cdev #13781 Importing from cachefile can trip assertion #13794 Apply arc_shrink_shift to ARC above arc_c_min #13798 Improve too large physical ashift handling #13799 Revert "Avoid panic with recordsize > 128k, raw sending and no large_blocks" #13802 Add zfs.sync.snapshot_rename #13831 zfs_enter rework #13855 zfs recv hangs if max recordsize is less than received recordsize Obtained from: OpenZFS OpenZFS commit: c629f0bf62e351355716f9870d6c2e377584b016
* zfs: merge openzfs/zfs@a582d5299Martin Matuska2022-08-251-0/+12
| | | | | | | | | | | Notable upstream pull request merges: #13717 Fix zpool status in case of unloaded keys #13753 Prevent zevent list from consuming all of kernel memory #13767 arcstat: fix -p option #13785 Updates for snapshots_changed property Obtained from: OpenZFS OpenZFS commit: a582d52993134905f2e96cebe7aff410f29b1ad8
* zfs: merge openzfs/zfs@b3d0568cfMartin Matuska2022-08-1361-62/+86
| | | | | | | | | | | | | | Notable upstream pull request merges: #9372 Implement a new type of zfs receive: corrective receive (-c) #13635 Add snapshots_changed as property #13636 Add support for per dataset zil stats and use wmsum counters #13643 Fix scrub resume from newly created hole #13670 Fix memory allocation for the checksum benchmark #13695 Skip checksum benchmarks on systems with slow cpu #13711 zpool: fix redundancy check after vdev removal Obtained from: OpenZFS OpenZFS commit: b3d0568cfd65458c92f7ab3d7bb709087992628e