HomeFreeBSD

Prefetch start and end of volumes

Description

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Aug 18 2015, 8:51 PM
Parents
rG8198d18ca7e0: Reintroduce IO accounting on zvols on Linux 3.19+
Branches
Unknown
Tags
Unknown