[lkml]   [2002]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectAbout block device request function.
Hi, I have a question of the block device request
function. I use the following sentences to change the
request function of a block device.


original_make_request_fn =

blk_dev[i].request_queue.make_request_fn =


"i" is the major number of a block device.

You know blk_dev[] is the global block device array.
When I use those sentences to change the floppy block
device's request function, it works. The major number
of the floppy disk is 2. But when I use the same one
to change the hard disk's request function, it doesn't
work. I found that the
blk_dev[3].request_queue.make_request_fn is NULL. Does
that mean that the make_request_fn() of the hard disk
is NULL. I can't believe it. Can anyone give me an


Web-hosting solutions for home and business!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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