* Block device request queue processing question
@ 2007-06-10 11:01 mcatos
0 siblings, 0 replies; only message in thread
From: mcatos @ 2007-06-10 11:01 UTC (permalink / raw)
To: linux-kernel
I am developing a stacking block driver and so far the driver was accepting
requests using the 'make_request' function (without a queue). When I switched to
using a request queue, I noticed that the driver received much more reuquests in a
single call, which is very good for me.
The problem is that the driver must initiate I/O towards the physical device,
which cannot be done inside the function that services the requests. Is there a
way I can process all the request in a context where sleeping is permitted?
I tried to dequeue all the requests using 'blkdev_dequeue_request' but I do not
know how to properly handle request completion.
Thanx in advance.
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-10 11:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-10 11:01 Block device request queue processing question mcatos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox