mirror_zfs/module/os/freebsd/zfs
Alexander Motin 809b553940 Introduce zfs rewrite subcommand (#17246)
This allows to rewrite content of specified file(s) as-is without
modifications, but at a different location, compression, checksum,
dedup, copies and other parameter values.  It is faster than read
plus write, since it does not require data copying to user-space.
It is also faster for sync=always datasets, since without data
modification it does not require ZIL writing.  Also since it is
protected by normal range range locks, it can be done under any
other load.  Also it does not affect file's modification time or
other properties.

Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Rob Norris <robn@despairlabs.com>
2025-08-07 12:34:28 -04:00
..
abd_os.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
arc_os.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
crypto_os.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
dmu_os.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
event_os.c FreeBSD: remove support for FreeBSD < 13.0-RELEASE (#16372) 2024-08-05 16:56:45 -07:00
hkdf.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
kmod_core.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
spa_os.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
sysctl_os.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
vdev_geom.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
vdev_label_os.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_acl.c dmu_tx: rename dmu_tx_assign() flags from TXG_* to DMU_TX_* (#17143) 2025-04-16 09:59:45 -07:00
zfs_ctldir.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_debug.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_dir.c dmu_tx: rename dmu_tx_assign() flags from TXG_* to DMU_TX_* (#17143) 2025-04-16 09:59:45 -07:00
zfs_file_os.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
zfs_ioctl_compat.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
zfs_ioctl_os.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
zfs_racct.c SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
zfs_vfsops.c dmu_tx: rename dmu_tx_assign() flags from TXG_* to DMU_TX_* (#17143) 2025-04-16 09:59:45 -07:00
zfs_vnops_os.c Introduce zfs rewrite subcommand (#17246) 2025-08-07 12:34:28 -04:00
zfs_znode_os.c FreeBSD: Use new SYSCTL_SIZEOF() 2025-05-28 16:00:28 -07:00
zio_crypt.c tunables: remove FreeBSD compat macros for Linux module params 2025-06-17 10:50:26 -07:00
zvol_os.c ZVOL: Comment platform-specific empty functions bodies on FreeBSD side 2025-06-17 10:49:40 -07:00