Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_impl.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | |||||
* data transformations. The transformations performed are based on the | * data transformations. The transformations performed are based on the | ||||
* specific properties that user may have selected and modify the | * specific properties that user may have selected and modify the | ||||
* behavior of the pipeline. Examples of supported transformations are | * behavior of the pipeline. Examples of supported transformations are | ||||
* compression, dedup, and nop writes. Transformations will either modify | * compression, dedup, and nop writes. Transformations will either modify | ||||
* the data or the pipeline. This list below further describes each of | * the data or the pipeline. This list below further describes each of | ||||
* the supported transformations: | * the supported transformations: | ||||
* | * | ||||
* Compression: | * Compression: | ||||
* ZFS supports three different flavors of compression -- gzip, lzjb, and | * ZFS supports five different flavors of compression -- gzip, lzjb, lz4, zle, | ||||
* zle. Compression occurs as part of the write pipeline and is performed | * and zstd. Compression occurs as part of the write pipeline and is | ||||
* in the ZIO_STAGE_WRITE_BP_INIT stage. | * performed in the ZIO_STAGE_WRITE_BP_INIT stage. | ||||
* | * | ||||
* Dedup: | * Dedup: | ||||
* Dedup reads are handled by the ZIO_STAGE_DDT_READ_START and | * Dedup reads are handled by the ZIO_STAGE_DDT_READ_START and | ||||
* ZIO_STAGE_DDT_READ_DONE stages. These stages are added to an existing | * ZIO_STAGE_DDT_READ_DONE stages. These stages are added to an existing | ||||
* read pipeline if the dedup bit is set on the block pointer. | * read pipeline if the dedup bit is set on the block pointer. | ||||
* Writing a dedup block is performed by the ZIO_STAGE_DDT_WRITE stage | * Writing a dedup block is performed by the ZIO_STAGE_DDT_WRITE stage | ||||
* and added to a write pipeline if a user has enabled dedup on that | * and added to a write pipeline if a user has enabled dedup on that | ||||
* particular dataset. | * particular dataset. | ||||
▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines |