Prefetch start and end of volumes
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 18 Aug 2015 20:51:20 +0000 (13:51 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Sep 2015 21:38:29 +0000 (14:38 -0700)
commit9965059ab9991a5fc7df9a489021e73880b3bcc0
tree0770e9f65b22908acd9e22f925fdd393e8fb312e
parent8198d18ca7e05ec30139e10d658a8b06c0ec4c55
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
man/man5/zfs-module-parameters.5
module/zfs/zvol.c