HomeFreeBSD

Implement BIO_DELETE for vnode devices by simply overwriting the deleted
rS221229Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Implement BIO_DELETE for vnode devices by simply overwriting the deleted
sectors with all-zeroes.

The zeroes come from a static buffer; null(4) uses a dynamic buffer for
the same purpose (for /dev/zero). It might be a good idea to have a
static, shared, read-only all-zeroes page somewhere in the kernel that
md(4), null(4) and any other code that needs zeroes could use.

Reviewed by: kib
MFC after: 3 weeks

Details

Provenance
desAuthored on
Parents
rS221228: o Add as_trace field.
Branches
Unknown
Tags
Unknown

Event Timeline