Make abd_raidz_gen_iterate() pass an initialized pointer to the callback
[zfs.git] / man / man7 / zpool-features.7
blob3c7b0b345d96cfa8821d88433b411a71b4c75322
1 .\"
2 .\" Copyright (c) 2012, 2018 by Delphix. All rights reserved.
3 .\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
4 .\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
5 .\" The contents of this file are subject to the terms of the Common Development
6 .\" and Distribution License (the "License").  You may not use this file except
7 .\" in compliance with the License. You can obtain a copy of the license at
8 .\" usr/src/OPENSOLARIS.LICENSE or https://opensource.org/licenses/CDDL-1.0.
9 .\"
10 .\" See the License for the specific language governing permissions and
11 .\" limitations under the License. When distributing Covered Code, include this
12 .\" CDDL HEADER in each file and include the License file at
13 .\" usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this
14 .\" CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your
15 .\" own identifying information:
16 .\" Portions Copyright [yyyy] [name of copyright owner]
17 .\" Copyright (c) 2019, Klara Inc.
18 .\" Copyright (c) 2019, Allan Jude
19 .\" Copyright (c) 2021, Colm Buckley <colm@tuatha.org>
20 .\"
21 .Dd June 23, 2022
22 .Dt ZPOOL-FEATURES 7
23 .Os
25 .Sh NAME
26 .Nm zpool-features
27 .Nd description of ZFS pool features
29 .Sh DESCRIPTION
30 ZFS pool on-disk format versions are specified via
31 .Dq features
32 which replace the old on-disk format numbers
33 .Pq the last supported on-disk format number is 28 .
34 To enable a feature on a pool use the
35 .Nm zpool Cm upgrade ,
36 or set the
37 .Sy feature Ns @ Ns Ar feature-name
38 property to
39 .Sy enabled .
40 Please also see the
41 .Sx Compatibility feature sets
42 section for information on how sets of features may be enabled together.
43 .Pp
44 The pool format does not affect file system version compatibility or the ability
45 to send file systems between pools.
46 .Pp
47 Since most features can be enabled independently of each other, the on-disk
48 format of the pool is specified by the set of all features marked as
49 .Sy active
50 on the pool.
51 If the pool was created by another software version
52 this set may include unsupported features.
54 .Ss Identifying features
55 Every feature has a GUID of the form
56 .Ar com.example : Ns Ar feature-name .
57 The reversed DNS name ensures that the feature's GUID is unique across all ZFS
58 implementations.
59 When unsupported features are encountered on a pool they will
60 be identified by their GUIDs.
61 Refer to the documentation for the ZFS
62 implementation that created the pool for information about those features.
63 .Pp
64 Each supported feature also has a short name.
65 By convention a feature's short name is the portion of its GUID which follows
66 the
67 .Sq \&:
68 .Po
69 i.e.
70 .Ar com.example : Ns Ar feature-name
71 would have the short name
72 .Ar feature-name
73 .Pc ,
74 however a feature's short name may differ across ZFS implementations if
75 following the convention would result in name conflicts.
77 .Ss Feature states
78 Features can be in one of three states:
79 .Bl -tag -width "disabled"
80 .It Sy active
81 This feature's on-disk format changes are in effect on the pool.
82 Support for this feature is required to import the pool in read-write mode.
83 If this feature is not read-only compatible,
84 support is also required to import the pool in read-only mode
85 .Pq see Sx Read-only compatibility .
86 .It Sy enabled
87 An administrator has marked this feature as enabled on the pool, but the
88 feature's on-disk format changes have not been made yet.
89 The pool can still be imported by software that does not support this feature,
90 but changes may be made to the on-disk format at any time
91 which will move the feature to the
92 .Sy active
93 state.
94 Some features may support returning to the
95 .Sy enabled
96 state after becoming
97 .Sy active .
98 See feature-specific documentation for details.
99 .It Sy disabled
100 This feature's on-disk format changes have not been made and will not be made
101 unless an administrator moves the feature to the
102 .Sy enabled
103 state.
104 Features cannot be disabled once they have been enabled.
107 The state of supported features is exposed through pool properties of the form
108 .Sy feature Ns @ Ns Ar short-name .
110 .Ss Read-only compatibility
111 Some features may make on-disk format changes that do not interfere with other
112 software's ability to read from the pool.
113 These features are referred to as
114 .Dq read-only compatible .
115 If all unsupported features on a pool are read-only compatible,
116 the pool can be imported in read-only mode by setting the
117 .Sy readonly
118 property during import
119 .Po see
120 .Xr zpool-import 8
121 for details on importing pools
122 .Pc .
124 .Ss Unsupported features
125 For each unsupported feature enabled on an imported pool, a pool property
126 named
127 .Sy unsupported Ns @ Ns Ar feature-name
128 will indicate why the import was allowed despite the unsupported feature.
129 Possible values for this property are:
130 .Bl -tag -width "readonly"
131 .It Sy inactive
132 The feature is in the
133 .Sy enabled
134 state and therefore the pool's on-disk
135 format is still compatible with software that does not support this feature.
136 .It Sy readonly
137 The feature is read-only compatible and the pool has been imported in
138 read-only mode.
141 .Ss Feature dependencies
142 Some features depend on other features being enabled in order to function.
143 Enabling a feature will automatically enable any features it depends on.
145 .Ss Compatibility feature sets
146 It is sometimes necessary for a pool to maintain compatibility with a
147 specific on-disk format, by enabling and disabling particular features.
149 .Sy compatibility
150 feature facilitates this by allowing feature sets to be read from text files.
151 When set to
152 .Sy off
153 .Pq the default ,
154 compatibility feature sets are disabled
155 .Pq i.e. all features are enabled ;
156 when set to
157 .Sy legacy ,
158 no features are enabled.
159 When set to a comma-separated list of filenames
161 each filename may either be an absolute path, or relative to
162 .Pa /etc/zfs/compatibility.d
164 .Pa /usr/share/zfs/compatibility.d
165 .Pc ,
166 the lists of requested features are read from those files,
167 separated by whitespace and/or commas.
168 Only features present in all files are enabled.
170 Simple sanity checks are applied to the files:
171 they must be between 1 B and 16 KiB in size, and must end with a newline
172 character.
174 The requested features are applied when a pool is created using
175 .Nm zpool Cm create Fl o Sy compatibility Ns = Ns Ar …
176 and controls which features are enabled when using
177 .Nm zpool Cm upgrade .
178 .Nm zpool Cm status
179 will not show a warning about disabled features which are not part
180 of the requested feature set.
182 The special value
183 .Sy legacy
184 prevents any features from being enabled, either via
185 .Nm zpool Cm upgrade
187 .Nm zpool Cm set Sy feature Ns @ Ns Ar feature-name Ns = Ns Sy enabled .
188 This setting also prevents pools from being upgraded to newer on-disk versions.
189 This is a safety measure to prevent new features from being
190 accidentally enabled, breaking compatibility.
192 By convention, compatibility files in
193 .Pa /usr/share/zfs/compatibility.d
194 are provided by the distribution, and include feature sets
195 supported by important versions of popular distributions, and feature
196 sets commonly supported at the start of each year.
197 Compatibility files in
198 .Pa /etc/zfs/compatibility.d ,
199 if present, will take precedence over files with the same name in
200 .Pa /usr/share/zfs/compatibility.d .
202 If an unrecognized feature is found in these files, an error message will
203 be shown.
204 If the unrecognized feature is in a file in
205 .Pa /etc/zfs/compatibility.d ,
206 this is treated as an error and processing will stop.
207 If the unrecognized feature is under
208 .Pa /usr/share/zfs/compatibility.d ,
209 this is treated as a warning and processing will continue.
210 This difference is to allow distributions to include features
211 which might not be recognized by the currently-installed binaries.
213 Compatibility files may include comments:
214 any text from
215 .Sq #
216 to the end of the line is ignored.
218 .Sy Example :
219 .Bd -literal -compact -offset 4n
220 .No example# Nm cat Pa /usr/share/zfs/compatibility.d/grub2
221 # Features which are supported by GRUB2
222 async_destroy
223 bookmarks
224 embedded_data
225 empty_bpobj
226 enabled_txg
227 extensible_dataset
228 filesystem_limits
229 hole_birth
230 large_blocks
231 livelist
232 lz4_compress
233 spacemap_histogram
234 zpool_checkpoint
236 .No example# Nm zpool Cm create Fl o Sy compatibility Ns = Ns Ar grub2 Ar bootpool Ar vdev
240 .Xr zpool-create 8
242 .Xr zpool-upgrade 8
243 for more information on how these commands are affected by feature sets.
245 .de feature
246 .It Sy \\$2
247 .Bl -tag -compact -width "READ-ONLY COMPATIBLE"
248 .It GUID
249 .Sy \\$1:\\$2
250 .if !"\\$4"" \{\
251 .It DEPENDENCIES
252 \fB\\$4\fP\c
253 .if !"\\$5"" , \fB\\$5\fP\c
254 .if !"\\$6"" , \fB\\$6\fP\c
255 .if !"\\$7"" , \fB\\$7\fP\c
256 .if !"\\$8"" , \fB\\$8\fP\c
257 .if !"\\$9"" , \fB\\$9\fP\c
259 .It READ-ONLY COMPATIBLE
260 \\$3
265 .ds instant-never \
266 .No This feature becomes Sy active No as soon as it is enabled \
267 and will never return to being Sy enabled .
269 .ds remount-upgrade \
270 .No Each filesystem will be upgraded automatically when remounted, \
271 or when a new file is created under that filesystem. \
272 The upgrade can also be triggered on filesystems via \
273 Nm zfs Cm set Sy version Ns = Ns Sy current Ar fs . \
274 No The upgrade process runs in the background and may take a while to complete \
275 for filesystems containing large amounts of files .
277 .de checksum-spiel
278 When the
279 .Sy \\$1
280 feature is set to
281 .Sy enabled ,
282 the administrator can turn on the
283 .Sy \\$1
284 checksum on any dataset using
285 .Nm zfs Cm set Sy checksum Ns = Ns Sy \\$1 Ar dset
286 .Po see Xr zfs-set 8 Pc .
287 This feature becomes
288 .Sy active
289 once a
290 .Sy checksum
291 property has been set to
292 .Sy \\$1 ,
293 and will return to being
294 .Sy enabled
295 once all filesystems that have ever had their checksum set to
296 .Sy \\$1
297 are destroyed.
300 .Sh FEATURES
301 The following features are supported on this system:
302 .Bl -tag -width Ds
303 .feature org.zfsonlinux allocation_classes yes
304 This feature enables support for separate allocation classes.
306 This feature becomes
307 .Sy active
308 when a dedicated allocation class vdev
309 .Pq dedup or special
310 is created with the
311 .Nm zpool Cm create No or Nm zpool Cm add No commands .
312 With device removal, it can be returned to the
313 .Sy enabled
314 state if all the dedicated allocation class vdevs are removed.
316 .feature com.delphix async_destroy yes
317 Destroying a file system requires traversing all of its data in order to
318 return its used space to the pool.
319 Without
320 .Sy async_destroy ,
321 the file system is not fully removed until all space has been reclaimed.
322 If the destroy operation is interrupted by a reboot or power outage,
323 the next attempt to open the pool will need to complete the destroy
324 operation synchronously.
326 When
327 .Sy async_destroy
328 is enabled, the file system's data will be reclaimed by a background process,
329 allowing the destroy operation to complete
330 without traversing the entire file system.
331 The background process is able to resume
332 interrupted destroys after the pool has been opened, eliminating the need
333 to finish interrupted destroys as part of the open operation.
334 The amount of space remaining to be reclaimed by the background process
335 is available through the
336 .Sy freeing
337 property.
339 This feature is only
340 .Sy active
341 while
342 .Sy freeing
343 is non-zero.
345 .feature org.openzfs blake3 no extensible_dataset
346 This feature enables the use of the BLAKE3 hash algorithm for checksum and
347 dedup.
348 BLAKE3 is a secure hash algorithm focused on high performance.
350 .checksum-spiel blake3
352 .feature com.fudosecurity block_cloning yes
353 When this feature is enabled ZFS will use block cloning for operations like
354 .Fn copy_file_range 2 .
355 Block cloning allows to create multiple references to a single block.
356 It is much faster than copying the data (as the actual data is neither read nor
357 written) and takes no additional space.
358 Blocks can be cloned across datasets under some conditions (like disabled
359 encryption and equal
360 .Nm recordsize ) .
362 This feature becomes
363 .Sy active
364 when first block is cloned.
365 When the last cloned block is freed, it goes back to the enabled state.
366 .feature com.delphix bookmarks yes extensible_dataset
367 This feature enables use of the
368 .Nm zfs Cm bookmark
369 command.
371 This feature is
372 .Sy active
373 while any bookmarks exist in the pool.
374 All bookmarks in the pool can be listed by running
375 .Nm zfs Cm list Fl t Sy bookmark Fl r Ar poolname .
377 .feature com.datto bookmark_v2 no bookmark extensible_dataset
378 This feature enables the creation and management of larger bookmarks which are
379 needed for other features in ZFS.
381 This feature becomes
382 .Sy active
383 when a v2 bookmark is created and will be returned to the
384 .Sy enabled
385 state when all v2 bookmarks are destroyed.
387 .feature com.delphix bookmark_written no bookmark extensible_dataset bookmark_v2
388 This feature enables additional bookmark accounting fields, enabling the
389 .Sy written Ns # Ns Ar bookmark
390 property
391 .Pq space written since a bookmark
392 and estimates of send stream sizes for incrementals from bookmarks.
394 This feature becomes
395 .Sy active
396 when a bookmark is created and will be
397 returned to the
398 .Sy enabled
399 state when all bookmarks with these fields are destroyed.
401 .feature org.openzfs device_rebuild yes
402 This feature enables the ability for the
403 .Nm zpool Cm attach
405 .Nm zpool Cm replace
406 commands to perform sequential reconstruction
407 .Pq instead of healing reconstruction
408 when resilvering.
410 Sequential reconstruction resilvers a device in LBA order without immediately
411 verifying the checksums.
412 Once complete, a scrub is started, which then verifies the checksums.
413 This approach allows full redundancy to be restored to the pool
414 in the minimum amount of time.
415 This two-phase approach will take longer than a healing resilver
416 when the time to verify the checksums is included.
417 However, unless there is additional pool damage,
418 no checksum errors should be reported by the scrub.
419 This feature is incompatible with raidz configurations.
421 This feature becomes
422 .Sy active
423 while a sequential resilver is in progress, and returns to
424 .Sy enabled
425 when the resilver completes.
427 .feature com.delphix device_removal no
428 This feature enables the
429 .Nm zpool Cm remove
430 command to remove top-level vdevs,
431 evacuating them to reduce the total size of the pool.
433 This feature becomes
434 .Sy active
435 when the
436 .Nm zpool Cm remove
437 command is used
438 on a top-level vdev, and will never return to being
439 .Sy enabled .
441 .feature org.openzfs draid no
442 This feature enables use of the
443 .Sy draid
444 vdev type.
445 dRAID is a variant of RAID-Z which provides integrated distributed
446 hot spares that allow faster resilvering while retaining the benefits of RAID-Z.
447 Data, parity, and spare space are organized in redundancy groups
448 and distributed evenly over all of the devices.
450 This feature becomes
451 .Sy active
452 when creating a pool which uses the
453 .Sy draid
454 vdev type, or when adding a new
455 .Sy draid
456 vdev to an existing pool.
458 .feature org.illumos edonr no extensible_dataset
459 This feature enables the use of the Edon-R hash algorithm for checksum,
460 including for nopwrite
461 .Po if compression is also enabled, an overwrite of
462 a block whose checksum matches the data being written will be ignored
463 .Pc .
464 In an abundance of caution, Edon-R requires verification when used with
465 dedup:
466 .Nm zfs Cm set Sy dedup Ns = Ns Sy edonr , Ns Sy verify
467 .Po see Xr zfs-set 8 Pc .
469 Edon-R is a very high-performance hash algorithm that was part
470 of the NIST SHA-3 competition.
471 It provides extremely high hash performance
472 .Pq over 350% faster than SHA-256 ,
473 but was not selected because of its unsuitability
474 as a general purpose secure hash algorithm.
475 This implementation utilizes the new salted checksumming functionality
476 in ZFS, which means that the checksum is pre-seeded with a secret
477 256-bit random key
478 .Pq stored on the pool
479 before being fed the data block to be checksummed.
480 Thus the produced checksums are unique to a given pool,
481 preventing hash collision attacks on systems with dedup.
483 .checksum-spiel edonr
485 .feature com.delphix embedded_data no
486 This feature improves the performance and compression ratio of
487 highly-compressible blocks.
488 Blocks whose contents can compress to 112 bytes
489 or smaller can take advantage of this feature.
491 When this feature is enabled, the contents of highly-compressible blocks are
492 stored in the block
493 .Dq pointer
494 itself
495 .Po a misnomer in this case, as it contains
496 the compressed data, rather than a pointer to its location on disk
497 .Pc .
498 Thus the space of the block
499 .Pq one sector, typically 512 B or 4 KiB
500 is saved, and no additional I/O is needed to read and write the data block.
502 \*[instant-never]
504 .feature com.delphix empty_bpobj yes
505 This feature increases the performance of creating and using a large
506 number of snapshots of a single filesystem or volume, and also reduces
507 the disk space required.
509 When there are many snapshots, each snapshot uses many Block Pointer
510 Objects
511 .Pq bpobjs
512 to track blocks associated with that snapshot.
513 However, in common use cases, most of these bpobjs are empty.
514 This feature allows us to create each bpobj on-demand,
515 thus eliminating the empty bpobjs.
517 This feature is
518 .Sy active
519 while there are any filesystems, volumes,
520 or snapshots which were created after enabling this feature.
522 .feature com.delphix enabled_txg yes
523 Once this feature is enabled, ZFS records the transaction group number
524 in which new features are enabled.
525 This has no user-visible impact, but other features may depend on this feature.
527 This feature becomes
528 .Sy active
529 as soon as it is enabled and will never return to being
530 .Sy enabled .
532 .feature com.datto encryption no bookmark_v2 extensible_dataset
533 This feature enables the creation and management of natively encrypted datasets.
535 This feature becomes
536 .Sy active
537 when an encrypted dataset is created and will be returned to the
538 .Sy enabled
539 state when all datasets that use this feature are destroyed.
541 .feature com.delphix extensible_dataset no
542 This feature allows more flexible use of internal ZFS data structures,
543 and exists for other features to depend on.
545 This feature will be
546 .Sy active
547 when the first dependent feature uses it, and will be returned to the
548 .Sy enabled
549 state when all datasets that use this feature are destroyed.
551 .feature com.joyent filesystem_limits yes extensible_dataset
552 This feature enables filesystem and snapshot limits.
553 These limits can be used to control how many filesystems and/or snapshots
554 can be created at the point in the tree on which the limits are set.
556 This feature is
557 .Sy active
558 once either of the limit properties has been set on a dataset
559 and will never return to being
560 .Sy enabled .
562 .feature com.delphix head_errlog no
563 This feature enables the upgraded version of errlog, which required an on-disk
564 error log format change.
565 Now the error log of each head dataset is stored separately in the zap object
566 and keyed by the head id.
567 With this feature enabled, every dataset affected by an error block is listed
568 in the output of
569 .Nm zpool Cm status .
570 In case of encrypted filesystems with unloaded keys we are unable to check
571 their snapshots or clones for errors and these will not be reported.
572 An "access denied" error will be reported.
574 \*[instant-never]
576 .feature com.delphix hole_birth no enabled_txg
577 This feature has/had bugs, the result of which is that, if you do a
578 .Nm zfs Cm send Fl i
579 .Pq or Fl R , No since it uses Fl i
580 from an affected dataset, the receiving party will not see any checksum
581 or other errors, but the resulting destination snapshot
582 will not match the source.
583 Its use by
584 .Nm zfs Cm send Fl i
585 has been disabled by default
588 .Sy send_holes_without_birth_time
590 .Xr zfs 4
591 .Pc .
593 This feature improves performance of incremental sends
594 .Pq Nm zfs Cm send Fl i
595 and receives for objects with many holes.
596 The most common case of hole-filled objects is zvols.
598 An incremental send stream from snapshot
599 .Sy A No to snapshot Sy B
600 contains information about every block that changed between
601 .Sy A No and Sy B .
602 Blocks which did not change between those snapshots can be
603 identified and omitted from the stream using a piece of metadata called
605 .Dq block birth time ,
606 but birth times are not recorded for holes
607 .Pq blocks filled only with zeroes .
608 Since holes created after
609 .Sy A No cannot be distinguished from holes created before Sy A ,
610 information about every hole in the entire filesystem or zvol
611 is included in the send stream.
613 For workloads where holes are rare this is not a problem.
614 However, when incrementally replicating filesystems or zvols with many holes
615 .Pq for example a zvol formatted with another filesystem
616 a lot of time will be spent sending and receiving unnecessary information
617 about holes that already exist on the receiving side.
619 Once the
620 .Sy hole_birth
621 feature has been enabled the block birth times
622 of all new holes will be recorded.
623 Incremental sends between snapshots created after this feature is enabled
624 will use this new metadata to avoid sending information about holes that
625 already exist on the receiving side.
627 \*[instant-never]
629 .feature org.open-zfs large_blocks no extensible_dataset
630 This feature allows the record size on a dataset to be set larger than 128 KiB.
632 This feature becomes
633 .Sy active
634 once a dataset contains a file with a block size larger than 128 KiB,
635 and will return to being
636 .Sy enabled
637 once all filesystems that have ever had their recordsize larger than 128 KiB
638 are destroyed.
640 .feature org.zfsonlinux large_dnode no extensible_dataset
641 This feature allows the size of dnodes in a dataset to be set larger than 512 B.
643 This feature becomes
644 .Sy active
645 once a dataset contains an object with a dnode larger than 512 B,
646 which occurs as a result of setting the
647 .Sy dnodesize
648 dataset property to a value other than
649 .Sy legacy .
650 The feature will return to being
651 .Sy enabled
652 once all filesystems that have ever contained a dnode larger than 512 B
653 are destroyed.
654 Large dnodes allow more data to be stored in the bonus buffer,
655 thus potentially improving performance by avoiding the use of spill blocks.
657 .feature com.delphix livelist yes
658 This feature allows clones to be deleted faster than the traditional method
659 when a large number of random/sparse writes have been made to the clone.
660 All blocks allocated and freed after a clone is created are tracked by the
661 the clone's livelist which is referenced during the deletion of the clone.
662 The feature is activated when a clone is created and remains
663 .Sy active
664 until all clones have been destroyed.
666 .feature com.delphix log_spacemap yes com.delphix:spacemap_v2
667 This feature improves performance for heavily-fragmented pools,
668 especially when workloads are heavy in random-writes.
669 It does so by logging all the metaslab changes on a single spacemap every TXG
670 instead of scattering multiple writes to all the metaslab spacemaps.
672 \*[instant-never]
674 .feature org.illumos lz4_compress no
675 .Sy lz4
676 is a high-performance real-time compression algorithm that
677 features significantly faster compression and decompression as well as a
678 higher compression ratio than the older
679 .Sy lzjb
680 compression.
681 Typically,
682 .Sy lz4
683 compression is approximately 50% faster on compressible data and 200% faster
684 on incompressible data than
685 .Sy lzjb .
686 It is also approximately 80% faster on decompression,
687 while giving approximately a 10% better compression ratio.
689 When the
690 .Sy lz4_compress
691 feature is set to
692 .Sy enabled ,
693 the administrator can turn on
694 .Sy lz4
695 compression on any dataset on the pool using the
696 .Xr zfs-set 8
697 command.
698 All newly written metadata will be compressed with the
699 .Sy lz4
700 algorithm.
702 \*[instant-never]
704 .feature com.joyent multi_vdev_crash_dump no
705 This feature allows a dump device to be configured with a pool comprised
706 of multiple vdevs.
707 Those vdevs may be arranged in any mirrored or raidz configuration.
709 When the
710 .Sy multi_vdev_crash_dump
711 feature is set to
712 .Sy enabled ,
713 the administrator can use
714 .Xr dumpadm 8
715 to configure a dump device on a pool comprised of multiple vdevs.
717 Under
719 and Linux this feature is unused, but registered for compatibility.
720 New pools created on these systems will have the feature
721 .Sy enabled
722 but will never transition to
723 .Sy active ,
724 as this functionality is not required for crash dump support.
725 Existing pools where this feature is
726 .Sy active
727 can be imported.
729 .feature com.delphix obsolete_counts yes device_removal
730 This feature is an enhancement of
731 .Sy device_removal ,
732 which will over time reduce the memory used to track removed devices.
733 When indirect blocks are freed or remapped,
734 we note that their part of the indirect mapping is
735 .Dq obsolete
736 – no longer needed.
738 This feature becomes
739 .Sy active
740 when the
741 .Nm zpool Cm remove
742 command is used on a top-level vdev, and will never return to being
743 .Sy enabled .
745 .feature org.zfsonlinux project_quota yes extensible_dataset
746 This feature allows administrators to account the spaces and objects usage
747 information against the project identifier
748 .Pq ID .
750 The project ID is an object-based attribute.
751 When upgrading an existing filesystem,
752 objects without a project ID will be assigned a zero project ID.
753 When this feature is enabled, newly created objects inherit
754 their parent directories' project ID if the parent's inherit flag is set
755 .Pq via Nm chattr Sy [+-]P No or Nm zfs Cm project Fl s Ns | Ns Fl C .
756 Otherwise, the new object's project ID will be zero.
757 An object's project ID can be changed at any time by the owner
758 .Pq or privileged user
760 .Nm chattr Fl p Ar prjid
762 .Nm zfs Cm project Fl p Ar prjid .
764 This feature will become
765 .Sy active
766 as soon as it is enabled and will never return to being
767 .Sy disabled .
768 \*[remount-upgrade]
770 .feature com.delphix redaction_bookmarks no bookmarks extensible_dataset
771 This feature enables the use of redacted
772 .Nm zfs Cm send Ns s ,
773 which create redaction bookmarks storing the list of blocks
774 redacted by the send that created them.
775 For more information about redacted sends, see
776 .Xr zfs-send 8 .
778 .feature com.delphix redacted_datasets no extensible_dataset
779 This feature enables the receiving of redacted
780 .Nm zfs Cm send
781 streams, which create redacted datasets when received.
782 These datasets are missing some of their blocks,
783 and so cannot be safely mounted, and their contents cannot be safely read.
784 For more information about redacted receives, see
785 .Xr zfs-send 8 .
787 .feature com.datto resilver_defer yes
788 This feature allows ZFS to postpone new resilvers if an existing one is already
789 in progress.
790 Without this feature, any new resilvers will cause the currently
791 running one to be immediately restarted from the beginning.
793 This feature becomes
794 .Sy active
795 once a resilver has been deferred, and returns to being
796 .Sy enabled
797 when the deferred resilver begins.
799 .feature org.illumos sha512 no extensible_dataset
800 This feature enables the use of the SHA-512/256 truncated hash algorithm
801 .Pq FIPS 180-4
802 for checksum and dedup.
803 The native 64-bit arithmetic of SHA-512 provides an approximate 50%
804 performance boost over SHA-256 on 64-bit hardware
805 and is thus a good minimum-change replacement candidate
806 for systems where hash performance is important,
807 but these systems cannot for whatever reason utilize the faster
808 .Sy skein No and Sy edonr
809 algorithms.
811 .checksum-spiel sha512
813 .feature org.illumos skein no extensible_dataset
814 This feature enables the use of the Skein hash algorithm for checksum and dedup.
815 Skein is a high-performance secure hash algorithm that was a
816 finalist in the NIST SHA-3 competition.
817 It provides a very high security margin and high performance on 64-bit hardware
818 .Pq 80% faster than SHA-256 .
819 This implementation also utilizes the new salted checksumming
820 functionality in ZFS, which means that the checksum is pre-seeded with a
821 secret 256-bit random key
822 .Pq stored on the pool
823 before being fed the data block to be checksummed.
824 Thus the produced checksums are unique to a given pool,
825 preventing hash collision attacks on systems with dedup.
827 .checksum-spiel skein
829 .feature com.delphix spacemap_histogram yes
830 This features allows ZFS to maintain more information about how free space
831 is organized within the pool.
832 If this feature is
833 .Sy enabled ,
834 it will be activated when a new space map object is created, or
835 an existing space map is upgraded to the new format,
836 and never returns back to being
837 .Sy enabled .
839 .feature com.delphix spacemap_v2 yes
840 This feature enables the use of the new space map encoding which
841 consists of two words
842 .Pq instead of one
843 whenever it is advantageous.
844 The new encoding allows space maps to represent large regions of
845 space more efficiently on-disk while also increasing their maximum
846 addressable offset.
848 This feature becomes
849 .Sy active
850 once it is
851 .Sy enabled ,
852 and never returns back to being
853 .Sy enabled .
855 .feature org.zfsonlinux userobj_accounting yes extensible_dataset
856 This feature allows administrators to account the object usage information
857 by user and group.
859 \*[instant-never]
860 \*[remount-upgrade]
862 .feature com.klarasystems vdev_zaps_v2 no
863 This feature creates a ZAP object for the root vdev.
865 This feature becomes active after the next
866 .Nm zpool Cm import
868 .Nm zpool reguid .
870 Properties can be retrieved or set on the root vdev using
871 .Nm zpool Cm get
873 .Nm zpool Cm set
874 with
875 .Sy root
876 as the vdev name which is an alias for
877 .Sy root-0 .
878 .feature org.openzfs zilsaxattr yes extensible_dataset
879 This feature enables
880 .Sy xattr Ns = Ns Sy sa
881 extended attribute logging in the ZIL.
882 If enabled, extended attribute changes
883 .Pq both Sy xattrdir Ns = Ns Sy dir No and Sy xattr Ns = Ns Sy sa
884 are guaranteed to be durable if either the dataset had
885 .Sy sync Ns = Ns Sy always
886 set at the time the changes were made, or
887 .Xr sync 2
888 is called on the dataset after the changes were made.
890 This feature becomes
891 .Sy active
892 when a ZIL is created for at least one dataset and will be returned to the
893 .Sy enabled
894 state when it is destroyed for all datasets that use this feature.
896 .feature com.delphix zpool_checkpoint yes
897 This feature enables the
898 .Nm zpool Cm checkpoint
899 command that can checkpoint the state of the pool
900 at the time it was issued and later rewind back to it or discard it.
902 This feature becomes
903 .Sy active
904 when the
905 .Nm zpool Cm checkpoint
906 command is used to checkpoint the pool.
907 The feature will only return back to being
908 .Sy enabled
909 when the pool is rewound or the checkpoint has been discarded.
911 .feature org.freebsd zstd_compress no extensible_dataset
912 .Sy zstd
913 is a high-performance compression algorithm that features a
914 combination of high compression ratios and high speed.
915 Compared to
916 .Sy gzip ,
917 .Sy zstd
918 offers slightly better compression at much higher speeds.
919 Compared to
920 .Sy lz4 ,
921 .Sy zstd
922 offers much better compression while being only modestly slower.
923 Typically,
924 .Sy zstd
925 compression speed ranges from 250 to 500 MB/s per thread
926 and decompression speed is over 1 GB/s per thread.
928 When the
929 .Sy zstd
930 feature is set to
931 .Sy enabled ,
932 the administrator can turn on
933 .Sy zstd
934 compression of any dataset using
935 .Nm zfs Cm set Sy compress Ns = Ns Sy zstd Ar dset
936 .Po see Xr zfs-set 8 Pc .
937 This feature becomes
938 .Sy active
939 once a
940 .Sy compress
941 property has been set to
942 .Sy zstd ,
943 and will return to being
944 .Sy enabled
945 once all filesystems that have ever had their
946 .Sy compress
947 property set to
948 .Sy zstd
949 are destroyed.
951 .feature com.delphix redaction_list_spill no redaction_bookmarks
952 This feature enables the redaction list created by zfs redact to store
953 many more entries.
954 It becomes
955 .Sy active
956 when a redaction list is created with more than 36 entries,
957 and returns to being
958 .Sy enabled
959 when no long redaction lists remain in the pool.
960 For more information about redacted sends, see
961 .Xr zfs-send 8 .
964 .Sh SEE ALSO
965 .Xr zfs 8 ,
966 .Xr zpool 8