mirror_zfs/cmd
Alexander Motin 2646bd5585
Allow rewrite skip cloned and snapshotted blocks
Rewrite of cloned and snapshotted blocks can allocate additional
space, that may be undesired.  In some cases it may have sense
to still rewrite snapshotted blocks, expecting the snapshots to
rotate with time, freeing space.  In other cases rewrite of cloned
blocks may be acceptable, despite persistent space usage increase.
For this reason add them as separate flags to `zfs rewrite`.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com>
Closes #18179
2026-02-09 10:17:56 -08:00
..
raidz_test build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zdb build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zed build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zfs Allow rewrite skip cloned and snapshotted blocks 2026-02-09 10:17:56 -08:00
zinject build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zpool mmp: claim sequence id before final import 2026-02-09 09:36:01 -08:00
zpool_influxdb build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zstream build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
dbufstat.in SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
fsck.zfs.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
Makefile.am build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
mount_zfs.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zarcstat.in cmd: rename arcstat to zarcstat 2025-09-10 10:45:21 -07:00
zarcsummary cmd: rename arc_summary to zarcsummary 2025-09-10 10:45:13 -07:00
zfs_ids_to_path.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zgenhostid.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zhack.c zhack: add "action idle" subcommand 2026-02-09 09:36:14 -08:00
zilstat.in ZIL: "crash" the ZIL if the pool suspends during fallback 2025-08-08 16:43:26 -07:00
ztest.c cmd/ztest: avoid PATH_MAX stack allocation in ztest_get_zdb_bin() (#18085) 2025-12-29 11:16:34 -08:00
zvol_wait zvol_wait logic may terminate prematurely 2022-10-11 12:12:04 -07:00