mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 19:57:43 +03:00
Prefetch start and end of volumes
When adding a zvol to the system prefetch zvol_prefetch_bytes from the start and end of the volume. Prefetching these regions of the volume is desirable because they are likely to be accessed immediately by blkid(8), the kernel scanning for a partition table, or another task which probes the devices. Signed-off-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #3659
This commit is contained in:
@@ -1631,6 +1631,21 @@ Max number of blocks to discard at once
|
||||
Default value: \fB16,384\fR.
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
\fBzvol_prefetch_bytes\fR (uint)
|
||||
.ad
|
||||
.RS 12n
|
||||
When adding a zvol to the system prefetch \fBzvol_prefetch_bytes\fR
|
||||
from the start and end of the volume. Prefetching these regions
|
||||
of the volume is desirable because they are likely to be accessed
|
||||
immediately by \fBblkid(8)\fR or by the kernel scanning for a partition
|
||||
table.
|
||||
.sp
|
||||
Default value: \fB131,072\fR.
|
||||
.RE
|
||||
|
||||
.SH ZFS I/O SCHEDULER
|
||||
ZFS issues I/O operations to leaf vdevs to satisfy and complete I/Os.
|
||||
The I/O scheduler determines when and in what order those operations are
|
||||
|
||||
Reference in New Issue
Block a user