Date: Fri, 29 Apr 2011 21:18:41 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/md md.c Message-ID: <201104292118.p3TLIxeS059275@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2011-04-29 21:18:41 UTC FreeBSD src repository Modified files: sys/dev/md md.c Log: SVN rev 221229 on 2011-04-29 21:18:41Z by des 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 Revision Changes Path 1.198 +42 -0 src/sys/dev/md/md.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104292118.p3TLIxeS059275>