Date: Sun, 25 Oct 1998 17:28:44 -0700 (MST) From: "Kenneth D. Merry" <ken@plutotech.com> To: ulf@Alameda.net Cc: current@FreeBSD.ORG Subject: Re: Again, questions, questions Message-ID: <199810260028.RAA09070@panzer.plutotech.com> In-Reply-To: <19981025162317.F21744@Alameda.net> from Ulf Zimmermann at "Oct 25, 98 04:23:17 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Ulf Zimmermann wrote... > On Sun, Oct 25, 1998 at 05:09:47PM -0700, Kenneth D. Merry wrote: > > Ulf Zimmermann wrote... > > > Ok, it seems I am now able to read and write to the Mylex system drive. > > > it is still slow because the kernel is giving me a single block request. > > > So how can I tell the kernel I can do more then 1 at a time ? > > > > Are you going through a block or character device? > > Character. I may be off base here, but I think you need to go through a block device if you want block device semantics. > > > > > And how can I tell the kernel the size of a drive ? > > > > I assume this is sort of a disk driver (like da(4)) and a controller > > driver (ahc(4), ahb(4)) rolled into one? > > Yes. > > > > > If so, your interface to the upper-level code will have to be like a disk > > device. That means you'll have a size routine that is registered in your > > cdevsw structure. > > I have a size routine, but it never gets called. It may have something to do with going through the character instead of the block device. Ken -- Kenneth Merry ken@plutotech.com 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?199810260028.RAA09070>
