Page MenuHomeFreeBSD

bhyve: Use fspacectl(2) for BOP_DELETE on regular file images
Needs ReviewPublic

Authored by khng300_gmail.com on Tue, Feb 23, 6:43 AM.

Details

Reviewers
None
Group Reviewers
bhyve
Summary

bhyve can also make use of fspacectl(2) to implement BOP_DELETE with
hole-punching. Since it is not desirable to do zero-filling for large
DEALLOCATE/UNMAP range, candelete is not set if pathconf(2) indicates
that the underlying file system does not support native
VOP_DEALLOCATE(9).

Submitted by: Ka Ho Ng <khng@freebsdfoundation.org>
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 37315
Build 34204: arc lint + arc unit