Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 1999 17:41:27 -0400
From:      Christopher Masto <chris@netmonger.net>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        grog@FreeBSD.ORG, Matthew Dillon <dillon@apollo.backplane.com>, "John W. DeBoskey" <jwd@unx.sas.com>, julian@whistle.com, freebsd-current@FreeBSD.ORG
Subject:   Re: -current kernel problems (spec_getpages & vm_fault)
Message-ID:  <19990826174127.C8492@netmonger.net>
In-Reply-To: <1161.935701484@critter.freebsd.dk>; from Poul-Henning Kamp on Thu, Aug 26, 1999 at 11:04:44PM %2B0200
References:  <19990826170152.A8492@netmonger.net> <1161.935701484@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 26, 1999 at 11:04:44PM +0200, Poul-Henning Kamp wrote:
> Ok, I havn't touched vinum (grog generally want to do this himself),
> the fix is probably something like this:
> 
> Index: vinum.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/vinum/vinum.c,v
> retrieving revision 1.29
> diff -u -r1.29 vinum.c
> --- vinum.c	1999/08/24 02:18:55	1.29
> +++ vinum.c	1999/08/26 21:04:03
> @@ -271,6 +271,9 @@
>      int devminor;					    /* minor number */
>  
>      devminor = minor(dev);
> +    dev->si_bsize_phys = DEV_BSIZE;
> +    dev->si_bsize_best = BLKDEV_IOSIZE;
> +    dev->si_bsize_max = MAXBSIZE;

Bingo!  Thank you.
-- 
Christopher Masto         Senior Network Monkey      NetMonger Communications
chris@netmonger.net        info@netmonger.net        http://www.netmonger.net

Free yourself, free your machine, free the daemon -- http://www.freebsd.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990826174127.C8492>