freebsd-skq/sys/dev/md
Konstantin Belousov 4a13a769dc Add support for BIO_DELETE on swap-backed md(4). In the case of BIO_DELETE
covering the whole page, free the page. Otherwise, clear the region and
mark it clean. Not marking the page dirty could reinstantiate cleared
data, but it is allowed by BIO_DELETE specification and saves unneeded
write to swap.

Reviewed by:	alc
Tested by:	pho
MFC after:	2 weeks
2011-01-27 16:10:25 +00:00
..
md.c Add support for BIO_DELETE on swap-backed md(4). In the case of BIO_DELETE 2011-01-27 16:10:25 +00:00