diff options
author | Paul Dagnelie <[email protected]> | 2022-11-10 15:23:46 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-10 15:23:46 -0800 |
commit | 9f4ede63d23be4f43ba8dd0ca42c6a773a8eaa8d (patch) | |
tree | 88b62f576845104fb49b7f17af4172ff8c1dcd72 /scripts/cstyle.pl | |
parent | e9ab9e512c277ce3c22208599ebe5814db41a036 (diff) |
Add ability to recompress send streams with new compression algorithm
As new compression algorithms are added to ZFS, it could be useful for
people to recompress data with new algorithms. There is currently no
mechanism to do this aside from copying the data manually into a new
filesystem with the new algorithm enabled. This tool allows the
transformation to happen through zfs send, allowing it to be done
efficiently to remote systems and in an incremental fashion.
A new zstream command is added that decompresses WRITE records and
then recompresses them with a provided algorithm, and then re-emits
the modified send stream. It may also be possible to re-compress
embedded block pointers, but that was not attempted for the initial
version.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Matthew Ahrens <[email protected]>
Signed-off-by: Paul Dagnelie <[email protected]>
Closes #14106
Diffstat (limited to 'scripts/cstyle.pl')
0 files changed, 0 insertions, 0 deletions