kaio
[Top] [All Lists]

Re: kaio patch on linux 2.2.14 kernel

To: Gabor Dolla <agdolla@xxxxxxxxx>
Subject: Re: kaio patch on linux 2.2.14 kernel
From: Rajagopal Ananthanarayanan <ananth@xxxxxxx>
Date: Tue, 29 Feb 2000 08:50:43 -0800
Cc: kaio@xxxxxxxxxxx
References: <Pine.BSF.4.10.10002291123430.65732-100000@xxxxxxxxxxxxxxxxx>
Sender: owner-kaio@xxxxxxxxxxx

Hi,m

Just wondering why you have CONFIG_RAW. Have you
also installed the Raw I/O patch off of oss.sgi.com?

ananth.


Gabor Dolla wrote:
> 
> sorry I forgot to mentioned, it is in sd.c
> 
> Gabor
> 
> On Tue, 29 Feb 2000, Gabor Dolla wrote:
> 
> > Hi
> >
> > your patch didn't compile for me ...
> >
> > #if defined(CONFIG_RAW) && defined(CONFIG_AIO)
> > /*
> >  * XXX Interfaces for AIO; ideally done through fops.
> >  */
> > int
> > kaio_is_raw(struct file *filp)
> > {
> >       return(filp->f_op == &sd_raw_fops);
> > }
> >                             ^^^^^^^^^^^^^^
> > it didn't find this global variable
> > so I made a pre declaration prior to this function:
> >
> > struct file_operations sd_raw_fops ;
> >
> > the second problem was:
> >
> > void *
> > kaio_raw_rw(int rw, struct file *filp, char *buf, size_t count, loff_t
> > *ppos,
> >         int *error, struct semaphore *semp, struct kiobuf *iobufp)
> > {
> >       return(sd_raw_rw(rw, filp, buf, count, ppos, error, semp, iobufp));
> > }
> >
> > the compiler said that sd_raw_rw needs 9 parameters
> >
> > so I changed it to:
> > return(sd_raw_rw(rw, filp, buf, count, ppos, error, semp, iobufp,
> > AS_USER));
> >
> > was it only my problem ?? did I make the right modofication??
> >
> > thanks
> >
> > Gabor
> >
> >
> >

<Prev in Thread] Current Thread [Next in Thread>