Date: Thu, 27 Jan 2011 16:10:25 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/md md.c Message-ID: <201101271610.p0RGAhfa012918@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2011-01-27 16:10:25 UTC FreeBSD src repository Modified files: sys/dev/md md.c Log: SVN rev 217946 on 2011-01-27 16:10:25Z by kib 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 Revision Changes Path 1.196 +10 -6 src/sys/dev/md/md.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101271610.p0RGAhfa012918>