mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-30 20:04:22 +03:00
man: update recordsize max size info
Reflect f2330bd156
change in our man pages and add some context.
Wording is primarily copy-pasted from code comments.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: George Melikov <mail@gmelikov.ru>
Closes #16581
This commit is contained in:
parent
48482bb2f4
commit
2bd540d273
@ -1607,6 +1607,11 @@ Therefore, we formerly forbade creating blocks larger than 1M.
|
|||||||
Larger blocks could be created by changing it,
|
Larger blocks could be created by changing it,
|
||||||
and pools with larger blocks can always be imported and used,
|
and pools with larger blocks can always be imported and used,
|
||||||
regardless of this setting.
|
regardless of this setting.
|
||||||
|
.Pp
|
||||||
|
Note that it is still limited by default to
|
||||||
|
.Ar 1 MiB
|
||||||
|
on x86_32, because Linux's
|
||||||
|
3/1 memory split doesn't leave much room for 16M chunks.
|
||||||
.
|
.
|
||||||
.It Sy zfs_allow_redacted_dataset_mount Ns = Ns Sy 0 Ns | Ns 1 Pq int
|
.It Sy zfs_allow_redacted_dataset_mount Ns = Ns Sy 0 Ns | Ns 1 Pq int
|
||||||
Allow datasets received with redacted send/receive to be mounted.
|
Allow datasets received with redacted send/receive to be mounted.
|
||||||
|
@ -1463,11 +1463,22 @@ and less than or equal to
|
|||||||
If the
|
If the
|
||||||
.Sy large_blocks
|
.Sy large_blocks
|
||||||
feature is enabled on the pool, the size may be up to
|
feature is enabled on the pool, the size may be up to
|
||||||
.Ar 1 MiB .
|
.Ar 16 MiB .
|
||||||
See
|
See
|
||||||
.Xr zpool-features 7
|
.Xr zpool-features 7
|
||||||
for details on ZFS feature flags.
|
for details on ZFS feature flags.
|
||||||
.Pp
|
.Pp
|
||||||
|
However, blocks larger than
|
||||||
|
.Ar 1 MiB
|
||||||
|
can have an impact on i/o latency (e.g. tying up a spinning disk for
|
||||||
|
~300ms), and also potentially on the memory allocator.
|
||||||
|
.Pp
|
||||||
|
Note that maximum size is still limited by default to
|
||||||
|
.Ar 1 MiB
|
||||||
|
on x86_32, see
|
||||||
|
.Sy zfs_max_recordsize
|
||||||
|
module parameter.
|
||||||
|
.Pp
|
||||||
Changing the file system's
|
Changing the file system's
|
||||||
.Sy recordsize
|
.Sy recordsize
|
||||||
affects only files created afterward; existing files are unaffected.
|
affects only files created afterward; existing files are unaffected.
|
||||||
|
Loading…
Reference in New Issue
Block a user