lkml.org 
[lkml]   [2003]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RAW or BLK in 2.4.21
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.028 / U:5.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site