device plugging

gopi krishna (mgopi@indiainfo.com)
Sat, 07 Jul 2001 11:10:43 +0530


Why do we need a dummy req for plugging.
As i understood only thing plugging does is to, on arrival of new req if
the dev queue is empty, puts a dummy req on the queue, and schedules the
unplug routine on tq_disk, which on being scheduled calls the strategy
routine.
So we can as well put the new req on the queue without dummy req.

If i'm incorrect please explain what's exact process and the reason

Please cc the response to mgopi@indiainfo.com as i'm not subscribed.

thanks
----------------------------------------
http://mail.indiainfo.com
First you had 10MB of free mail space.
Now you can send mails in your own language !!!
-
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/