Re: RAW or BLK in 2.4.21

From: ooyama eiichi (ooyama@tritech.co.jp)
Date: Fri Aug 01 2003 - 09:49:44 EST


Thanks Axboe.
hmm, it is that i have to look at the design again.

eiichi

> On Fri, Aug 01 2003, ooyama eiichi wrote:
> > Hi.
> > I am developping a block device kernel module in 2.4 series.
> > And i want to make a distinction between raw I/O and block I/O,
> > in the request function i wrote for my module.
> > But i could not find the way.
> >
> > my_request_fn(request_queue_t *q, int rw, struct buffer_head * bh)
> >
> > Is it possible ?
> > I would be happy if someone give me a hint about this.
>
> No, it is not possible to tell the difference inside your request_fn.
>
> --
> Jens Axboe
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:16 EST