Skip to content

Commit 8302b6e

Browse files
authored
Some documentation polishing for log vdevs
Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Closes #17592
1 parent 60f714e commit 8302b6e

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

man/man4/zfs.4

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,9 +1723,10 @@ storing all written data into ZIL to not depend on regular vdev latency.
17231723
.
17241724
.It Sy zil_special_is_slog Ns = Ns Sy 1 Ns | Ns 0 Pq int
17251725
When enabled, and written blocks go to normal vdevs, treat present special
1726-
vdevs as SLOGs, storing all synchronously written data into ZIL directly.
1727-
Disabling this forces the indirect writes to preserve special vdev write
1728-
throughput and endurance, likely at the cost of normal vdev latency.
1726+
vdevs as SLOGs.
1727+
Blocks that go to the special vdevs are still written indirectly, as with
1728+
.Sy logbias Ns = Ns Sy throughput .
1729+
This parameter is ignored if an SLOG is present.
17291730
.
17301731
.It Sy zfs_initialize_value Ns = Ns Sy 16045690984833335022 Po 0xDEADBEEFDEADBEEE Pc Pq u64
17311732
Pattern written to vdev free space by
@@ -2486,8 +2487,8 @@ code for this record type.
24862487
The tunable has no effect if the feature is disabled.
24872488
.
24882489
.It Sy zfs_embedded_slog_min_ms Ns = Ns Sy 64 Pq uint
2489-
Usually, one metaslab from each normal-class vdev is dedicated for use by
2490-
the ZIL to log synchronous writes.
2490+
Usually, one metaslab from each normal and special class vdev is dedicated
2491+
for use by the ZIL to log synchronous writes.
24912492
However, if there are fewer than
24922493
.Sy zfs_embedded_slog_min_ms
24932494
metaslabs in the vdev, this functionality is disabled.

man/man7/zfsprops.7

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,20 +1867,21 @@ property is updated with
18671867
, the property is set to desired value, but the operation to share, reshare
18681868
or unshare the the dataset is not performed.
18691869
.It Sy logbias Ns = Ns Sy latency Ns | Ns Sy throughput
1870-
Provide a hint to ZFS about handling of synchronous requests in this dataset.
1870+
Provide a hint to ZFS about handling of synchronous write requests in this
1871+
dataset.
18711872
If
18721873
.Sy logbias
18731874
is set to
18741875
.Sy latency
18751876
.Pq the default ,
18761877
ZFS will use pool log devices
18771878
.Pq if configured
1878-
to handle the requests at low latency.
1879+
to handle the write requests at low latency.
18791880
If
18801881
.Sy logbias
18811882
is set to
18821883
.Sy throughput ,
1883-
ZFS will not use configured pool log devices.
1884+
ZFS will not use configured pool log devices to store written data.
18841885
ZFS will instead optimize synchronous operations for global pool throughput and
18851886
efficient use of resources.
18861887
.It Sy snapdev Ns = Ns Sy hidden Ns | Ns Sy visible

man/man7/zpoolconcepts.7

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -390,11 +390,6 @@ Multiple log devices can also be specified, and they can be mirrored.
390390
See the
391391
.Sx EXAMPLES
392392
section for an example of mirroring multiple log devices.
393-
.Pp
394-
Log devices can be added, replaced, attached, detached, and removed.
395-
In addition, log devices are imported and exported as part of the pool
396-
that contains them.
397-
Mirrored devices can be removed by specifying the top-level mirror vdev.
398393
.
399394
.Ss Cache Devices
400395
Devices can be added to a storage pool as
@@ -486,8 +481,8 @@ current state of the pool won't be scanned during a scrub.
486481
.
487482
.Ss Special Allocation Class
488483
Allocations in the special class are dedicated to specific block types.
489-
By default, this includes all metadata, the indirect blocks of user data, and
490-
any deduplication tables.
484+
By default, this includes all metadata, the indirect blocks of user data,
485+
intent log (in absence of separate log device), and deduplication tables.
491486
The class can also be provisioned to accept small file blocks or zvol blocks
492487
on a per dataset granularity.
493488
.Pp

0 commit comments

Comments
 (0)