HomeFreeBSD

md: Add MD_MUSTDEALLOC support

Description

md: Add MD_MUSTDEALLOC support

This adds an option to detect if hole-punching is implemented by the
underlying file system. If this flag is set, and if the underlying file
system does not support hole-punching, md(4) fails BIO_DELETE requests
with EOPNOTSUPP.

Sponsored by: The FreeBSD Foundation
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D31883

Details

Provenance
khngAuthored on Sep 11 2021, 12:03 PM
Reviewer
markj
Differential Revision
D31883: md: Add MD_MUSTDEALLOC support
Parents
rG71a1ae7cebd3: Import atf 0.22 snapshot 55c21b2c5fb189bbdfccb2b297bfa89236502542
Branches
Unknown
Tags
Unknown