From owner-cvs-src@FreeBSD.ORG Mon Mar 1 02:02:14 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAC6516A4CE; Mon, 1 Mar 2004 02:02:14 -0800 (PST) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A5F743D1D; Mon, 1 Mar 2004 02:02:14 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])i21A2DnX019687; Mon, 1 Mar 2004 21:02:13 +1100 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i21A2BsJ028133; Mon, 1 Mar 2004 21:02:11 +1100 Date: Mon, 1 Mar 2004 21:02:10 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Colin Percival In-Reply-To: <200402291558.i1TFwsGw035149@repoman.freebsd.org> Message-ID: <20040301205527.H13424@gamplex.bde.org> References: <200402291558.i1TFwsGw035149@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/md md.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 10:02:15 -0000 On Sun, 29 Feb 2004, Colin Percival wrote: > cperciva 2004/02/29 07:58:54 PST > > FreeBSD src repository > > Modified files: > sys/dev/md md.c > Log: > Use DEV_BSIZE byte sectors instead of PAGE_SIZE byte sectors for > swap-backed memory disks. This reduces filesystem allocation overhead > and makes swap-backed memory disks compatible with broken code (dd, > for example) which expects to see 512 byte sectors. The size of a > swap-backed memory disk must still be a multiple of the page size. This was mostly a feature. It helped expose broken code that wants 512 byte sectors. dd is as far as possible from being an example of such code. It uses the requested block size which just defaults to 512. Bruce