mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-01-15 01:32:04 +03:00
Based on previous commit this implements `zfs rewrite -P` flag, making ZFS to keep blocks logical birth times while rewriting files. It should exclude the rewritten blocks from incremental sends, snapshot diffs, etc. Snapshots space usage same time will reflect the additional space usage from newly allocated blocks. Since this begins to use new "rewrite" flag in the block pointers, this commit introduces a new read-compatible per-dataset feature physical_rewrite. It must be enabled for the command to not fail, it is activated on first use and deactivated on deletion of the last affected dataset. Reviewed-by: Rob Norris <robn@despairlabs.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com> Closes #17565 |
||
|---|---|---|
| .. | ||
| cityhash.c | ||
| simd_stat.c | ||
| zfeature_common.c | ||
| zfs_comutil.c | ||
| zfs_deleg.c | ||
| zfs_fletcher_aarch64_neon.c | ||
| zfs_fletcher_avx512.c | ||
| zfs_fletcher_intel.c | ||
| zfs_fletcher_sse.c | ||
| zfs_fletcher_superscalar4.c | ||
| zfs_fletcher_superscalar.c | ||
| zfs_fletcher.c | ||
| zfs_namecheck.c | ||
| zfs_prop.c | ||
| zfs_valstr.c | ||
| zpool_prop.c | ||
| zprop_common.c | ||