Date: Mon, 1 Mar 2004 21:02:10 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Colin Percival <cperciva@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/md md.c Message-ID: <20040301205527.H13424@gamplex.bde.org> In-Reply-To: <200402291558.i1TFwsGw035149@repoman.freebsd.org> References: <200402291558.i1TFwsGw035149@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040301205527.H13424>