aboutsummaryrefslogtreecommitdiff
path: root/sbin/mdconfig/Makefile
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2011-04-29 21:18:41 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2011-04-29 21:18:41 +0000
commit0abd21bdb8a4a8d0376d383d21fb02a217f1fd43 (patch)
tree45cb2dbfd2eb62c2f83ce239dde87046d43d19bf /sbin/mdconfig/Makefile
parent1d29baf81e60e82a87cef3819a0b64efc6572bbe (diff)
downloadsrc-0abd21bdb8a4a8d0376d383d21fb02a217f1fd43.tar.gz
src-0abd21bdb8a4a8d0376d383d21fb02a217f1fd43.zip
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
Notes
Notes: svn path=/head/; revision=221229
Diffstat (limited to 'sbin/mdconfig/Makefile')
0 files changed, 0 insertions, 0 deletions