HomeFreeBSD

Readd zfs_holey() from OpenSolaris

Description

Readd zfs_holey() from OpenSolaris

This patch restores the zfs_holey() function from OpenSolaris.
This was removed by commit 3558fd7 because it wasn't clear we
had a use for it in ZoL. However, this functionality is a
prerequisite for adding SEEK_DATA/SEEK_HOLE support to the ZPL.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Issue #1384

Details

Provenance
mahrensAuthored on Jul 1 2013, 4:24 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 2 2013, 4:24 PM
Parents
rG0a6bef26ec80: kmem_zalloc(..., KM_SLEEP) will never fail
Branches
Unknown
Tags
Unknown

Event Timeline