aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/zfs
Commit message (Collapse)AuthorAgeFilesLines
* zfs: merge openzfs/zfs@fe674998bMartin Matuska3 days3-4/+5
| | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #17042 ece35e0e6 zpool: allow relative vdev paths #17046 c43df8bbb vdev_file: unify FreeBSD and Linux implementations #17064 ee8803adc vdev_file: make FLUSH and TRIM asynchronous #17066 ecc44c45c include: move zio_priority_t into zfs.h #17071 ab3db6d15 arc: avoid possible deadlock in arc_read #17079 682c5f6a0 Fix wrong free function in arc_hdr_decrypt #17080 701093c44 Don't try to get mg of hole vdev in removal #17081 d7d274471 Better fill empty metaslabs #17088 a5fb5c55b spa: fix signature mismatch for spa_boot_init as eventhandler required #17089 7f05fface gcm_avx_init: zero the ghash state after hashing the IV #17122 fe674998b Check portable objset MAC even if local is zeroed Obtained from: OpenZFS OpenZFS commit: fe674998bb2d0912660d8aa3f2904b70f57497b0
* zfs: merge openzfs/zfs@6a2f7b384Martin Matuska2025-02-202-3/+9
| | | | | | | | | | | | | | | | | | | | 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-272-3/+3
| | | | | | | | | | 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@fae4c664aMartin Matuska2025-01-112-3/+3
| | | | | | | | Notable upstream pull request merges: #16942 fae4c664a FreeBSD: Use ashift in vdev_check_boot_reserve() Obtained from: OpenZFS OpenZFS commit: fae4c664a4a67f51d13520ab432d96315d880af8
* zfs: update configs after merging openzfs/zfs@b8e09c700Martin Matuska2025-01-112-22/+17
|
* zfs: merge openzfs/zfs@e0039c705Martin Matuska2024-12-072-3/+3
| | | | | | | | | | | | | | | | | | 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-4/+4
| | | | | | | | | | | | | | | | | | | | 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-133-13/+12
| | | | | | | | | | | | | | | | 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-202-13/+4
| | | | | | | | | | | | | | | | | | | | | 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-446/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-4/+7
| | | | | | | | | | | | | | | | | 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@d2ccc2155Martin Matuska2024-08-152-3/+18
| | | | | | | | Notable upstream pull request merges: #16431 244ea5c48 Add missing kstats to dataset kstats Obtained from: OpenZFS OpenZFS commit: d2ccc2155217bfdd7e19db4480d981a8f3fad46f
* zfs: merge openzfs/zfs@9c56b8ec7Martin Matuska2024-08-102-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-182-4/+10
| | | | | | | | | | | | | | | | | | | | 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
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* zfs: merge openzfs/zfs@e2357561bMartin Matuska2024-05-312-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@8f1b7a6faMartin Matuska2024-05-032-3/+12
| | | | | | | | | | | | | | | | 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-4/+4
| | | | | | | | | | | | | | 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-162-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-302-3/+9
| | | | | | | | | | | | | | | | | | | | | | | 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@8f2f6cd2aMartin Matuska2024-03-073-3/+5
| | | | | | | | | | | Notable upstream pull request merges: #15887 -multiple Fast Dedup: Cleanup and documentation ahead of integrating Fast Dedup #15907 5600dff0e Fixed parameter passing error when calling zfs_acl_chmod #15908 8f2f6cd2a ddt: reduce DDT_NAMELEN Obtained from: OpenZFS OpenZFS commit: 8f2f6cd2ac688916adb2caf979daf95365ccb48f
* zfs: merge openzfs/zfs@e0bd8118dMartin Matuska2024-02-152-3/+6
| | | | | | | | | | | | 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-082-3/+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-302-4/+19
| | | | | | | | | | | | | | | | 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@a4bf6baaeMartin Matuska2024-01-242-3/+3
| | | | | | | | | Notable upstream pull request merges: #15630 a4bf6baae FreeBSD: Fix file descriptor leak on pool import #15780 d9cb42da9 FreeBSD: Fix bootstrapping tools under Linux/musl Obtained from: OpenZFS OpenZFS commit: a4bf6baaeb70a01a4c13fd6139ebdc97bad172e9
* zfs: merge openzfs/zfs@a0b2a93c4Martin Matuska2024-01-172-3/+3
| | | | | | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@a382e2119Martin Matuska2024-01-102-3/+27
| | | | | | | | | | | Notable upstream pull request merges: #15693 a382e2119 Add Gotify notification support to ZED #15732 e78aca3b3 Fix livelist assertions for dedup and cloning #15733 7ecaa0758 make zdb_decompress_block check decompression reliably #15735 255741fc9 Improve block sizes checks during cloning Obtained from: OpenZFS OpenZFS commit: a382e21194c1690951d2eee8ebd98bc096f01c83
* zfs: merge openzfs/zfs@dbda45160Martin Matuska2023-12-192-3/+3
| | | | | | | | Notable upstream pull request merges: #15665 9b1677fb5 dmu: Allow buffer fills to fail Obtained from: OpenZFS OpenZFS commit: dbda45160ffa43e5ecf0498a609230f1afee7b3f
* zfs: merge openzfs/zfs@86e115e21Martin Matuska2023-12-152-3/+3
| | | | | | | | | | | Notable upstream pull request merges: #15643 a9b937e06 For db_marker inherit the db pointer for AVL comparision #15644 e53e60c0b DMU: Fix lock leak on dbuf_hold() error #15653 86063d903 dbuf: Handle arcbuf assignment after block cloning #15656 86e115e21 dbuf: Set dr_data when unoverriding after clone Obtained from: OpenZFS OpenZFS commit: 86e115e21e5bdeee73c88c5a1a73a29d9637380a
* Notable upstream pull request merges:Martin Matuska2023-12-082-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | #15539 687e4d7f9 Extend import_progress kstat with a notes field #15544 c7b611926 Allow block cloning across encrypted datasets #15553 adcea23cb ZIO: Add overflow checks for linear buffers #15593 5f2700eee zpool: flush output before sleeping #15609 3e4bef52b Only provide execvpe(3) when needed #15610 735ba3a7b Use uint64_t instead of u_int64_t #15612 bcd83ccd2 ZIL: Remove TX_CLONE_RANGE replay for ZVOLs #15617 55b764e06 ZIL: Do not clone blocks from the future #15623 727497ccd module/icp/asm-arm/sha2: enable non-SIMD asm kernels on armv5/6 #15625 9743d0963 BRT: Limit brt_vdev_dump() to only one vdev #15629 f9765b182 zdb: Dump encrypted write and clone ZIL records #15634 2aa3a482a ZIL: Remove 128K into 2x68K LWB split optimization #15639 11656234b FreeBSD: Ensure that zfs_getattr() initializes the va_rdev field #15647 4836d293c zfs_refcount_remove: explictly ignore returns #15649 f0cb6482e setproctitle: fix ununitialised variable #15650 450f2d0b0 import: ignore return on hostid lookups Obtained from: OpenZFS OpenZFS commit: 450f2d0b08e73cfb057d0e301a813418b70d64b9
* zfs: merge openzfs/zfs@a03ebd9beMartin Matuska2023-11-292-3/+3
| | | | | | | | | | | | Notable upstream pull request merges: #15517 2a27fd411 ZIL: Assert record sizes in different places #15557 b94ce4e17 module/icp/asm-arm/sha2: fix compiling on armv5/6 #15557 4340f69be module/icp/asm-arm/sha2: auto detect __ARM_ARCH #15603 a03ebd9be ZIL: Call brt_pending_add() replaying TX_CLONE_RANGE #15606 1c38cdfe9 zdb: fix printf() length for uint64_t devid Obtained from: OpenZFS OpenZFS commit: a03ebd9beec6243682557fa692c12b1061fc58bd
* zfs: merge openzfs/zfs@688514e47Martin Matuska2023-11-282-3/+3
| | | | | | | | | | | | | | | | | | | | | 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@a94860a6dMartin Matuska2023-11-212-3/+3
| | | | | | | | | | | Notable upstream pull request merges: #15511 92dc4ad83 Consider `dnode_t` allocations in dbuf cache size accounting #15514 22c8c33a5 Use abd_zero_off() where applicable #15515 5a3bffab1 ZIO: Optimize zio_flush() #15527 cd67bc0ae freebsd: remove __FBSDID macro use Obtained from: OpenZFS OpenZFS commit: a94860a6dee1c07bb96ee36dafcba40b804560cc
* zfs: update zfs_config.h and zfs_gitrev.h missed in 47bb16f8f0Martin Matuska2023-11-172-4/+4
|
* zfs: merge openzfs/zfs@887a3c533Martin Matuska2023-11-092-3/+3
| | | | | | | | | | 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@9198de8f1Martin Matuska2023-11-082-3/+3
| | | | | | | | | | | | | | | | | Notable upstream pull request merges: #15197 3bd4df384 Improve ZFS objset sync parallelism #15455 020f6fd09 FreeBSD: Implement taskq_init_ent() #15476 3d86999c7 sa_lookup() ignores buffer size #15478 2a154b848 Fix accounting error for pending sync IO ops in zpool iostat #15484 dc45a00ea Add kern.features.zfs #15486 e36ff84c3 Update the kstat dataset_name when renaming a zvol #15491 f4cd1bac7 Make abd_raidz_gen_iterate() pass an initialized pointer to the callback #15495 58398cbd0 FreeBSD: Optimize large kstat outputs Obtained from: OpenZFS OpenZFS commit: 9198de8f1079a8bbb837de3e3f8e236777b1375d
* zfs: merge openzfs/zfs@41e55b476Martin Matuska2023-11-012-3/+3
| | | | | | | | | | | | | | | | | | | Notable upstream pull request merges: #15366 c3773de1 ZIL: Cleanup sync and commit handling #15409 dbe839a9 zvol: Cleanup set property #15409 60387fac zvol: Implement zvol threading as a Property #15409 9ccdb8be zvol: fix delayed update to block device ro entry #15448 05a7348a RAIDZ: Use cache blocking during parity math #15452 514d661c Tune zio buffer caches and their alignments #15456 799e09f7 Unify arc_prune_async() code #15465 763ca47f Fix block cloning between unencrypted and encrypted datasets To make the module version better comparable, the module version number now includes the commit count since last tag. Obtained from: OpenZFS OpenZFS commit: 41e55b476bcfc90f1ad81c02c5375367fdace9e9
* zfs: merge openzfs/zfs@043c6ee3bMartin Matuska2023-10-302-3/+3
| | | | | | | | | | | | | | | | Notable upstream pull request merges: #15360 97a0b5be Add mutex_enter_interruptible() for interruptible sleeping IOCTLs #15381 252f46be ZIL: Detect single-threaded workloads #15398 3afdc97d ZIO: Remove READY pipeline stage from root ZIOs #15428 e007908a ABD: Be more assertive in iterators #15436 07345ac2 Add prefetch property #15438 e9725abd Revert "Do not persist user/group/project quota zap objects when unneeded" #15451 043c6ee3 Read prefetched buffers from L2ARC Obtained from: OpenZFS OpenZFS commit: 043c6ee3b6bfb55f8d36e1f048ff13128c279fb8
* zfs: merge openzfs/zfs@797f55ef1Martin Matuska2023-10-222-3/+3
| | | | | | | | | | | | | | | | Notable upstream pull request merges: #14378 c0e58995e Large sync writes perform worse with slog #14721 797f55ef1 Do not persist user/group/project quota zap objects when unneeded #15356 380c25f64 FreeBSD: Improve taskq wrapper #15390 4fbc52495 Remove lock from dsl_pool_need_dirty_delay() #15397 57b409856 Trust ARC_BUF_SHARED() more #15402 b29e98fa8 Properly pad struct tx_cpu to cache line #15405 ea30b5a9e Set spa_ccw_fail_time=0 when expanding a vdev #15416 b9384b949 FreeBSD: taskq: Remove unused declaration Obtained from: OpenZFS OpenZFS commit: 797f55ef12d752d2a7fb04fae5d24e019adf2a1d
* zfs: merge openzfs/zfs@8a7407012Martin Matuska2023-10-132-3/+3
| | | | | | | | | | | Notable upstream pull request merges: #15368 008baa091 FreeBSD: Reduce divergence from in-tree sources #15371 1b310dfb1 DMU: Do not pre-read holes during write #15395 8a7407012 Zpool can start allocating from metaslab before TRIMs have completed Obtained from: OpenZFS OpenZFS commit: 8a740701283495e59944839bb2607f80907d950e
* zfs: update zfs_config.h and zfs_gitrev.h missing in b2526e8bfe51Martin Matuska2023-10-082-3/+3
|
* zfs: merge openzfs/zfs@f795e90a1Martin Matuska2023-10-042-3/+3
| | | | | | | | | | | 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@e13538856Martin Matuska2023-09-292-3/+3
| | | | | | | | | | | Notable upstream pull request merges: #15308 5551dcd76 Don't allocate from new metaslabs #15312 ba769ea35 Fix ENOSPC for extended quota #15321 e13538856 Restrict short block cloning requests #15324 f9c39dc86 Tweak rebuild in-flight hard limit Obtained from: OpenZFS OpenZFS commit: e13538856479ff79ca6642e53dddf8a593deb2c9
* zfs: merge openzfs/zfs@2e2a46e0aMartin Matuska2023-09-242-3/+18
| | | | | | | | | | 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@4647353c8Martin Matuska2023-09-212-4/+4
| | | | | | | | | | | | | | | | | 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
* zfs: merge openzfs/zfs@0ee9b0239Martin Matuska2023-09-112-3/+3
| | | | | | | | Notable upstream pull request merges: #15251 Add more constraints for block cloning Obtained from: OpenZFS OpenZFS commit: 0ee9b02390d57c10a4dee0f3d19fcb115b424ca5
* zfs: merge openzfs/zfs@95f71c019Martin Matuska2023-09-022-3/+3
| | | | | | | | | | | | | | 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-5/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* sys: Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/