HomeFreeBSD

Decouple arc_read_done callback from arc buf instantiation

Description

Decouple arc_read_done callback from arc buf instantiation

Add ARC_FLAG_NO_BUF to indicate that a buffer need not be
instantiated. This fixes a ~20% performance regression on
cached reads due to zfetch changes.

Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #11220
Closes #11232

Details

Provenance
mmacyAuthored on Dec 9 2020, 11:05 PM
GitHub <noreply@github.com>Committed on Dec 9 2020, 11:05 PM
Parents
rGedb20ff3bab3: Fix optional "force" arg handing in zfs_ioc_pool_sync()
Branches
Unknown
Tags
Unknown