Both zero-filling and/or deallocation can be done with vn_deallocate(9).
Submitted by: Ka Ho Ng <khng@freebsdfoundation.org>
Sponsored by: The FreeBSD Foundation
Differential D28899
md: Replace BIO_DELETE emulation with vn_deallocate(9) khng on Feb 23 2021, 3:12 PM. Authored by Tags None Referenced Files
Subscribers
Details
Both zero-filling and/or deallocation can be done with vn_deallocate(9). Submitted by: Ka Ho Ng <khng@freebsdfoundation.org>
Diff Detail
Event Timeline
Comment Actions A test case in sbin/mdconfig/tests would be nice. I believe trim(8) can be used to easily submit DIOCGDELETE requests against a md device. |