public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.x why a conditional call to blkdev_dequeue_request?
@ 2003-04-08  3:40 Patrick Mansfield
  2003-04-08  4:13 ` James Bottomley
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Mansfield @ 2003-04-08  3:40 UTC (permalink / raw)
  To: linux-scsi

Why do we conditionally call blkdev_dequeue_request, and yet run the same
code even if a request is not dequeued? 

Should we always call blkdev_dequeue_request, and handle
blk_queue_start_tag() returning != 0 as a bug or a resource limitation?

In 2.5 scsi_lib.c scsi_request_fn right now we have:

	if (!(blk_queue_tagged(q) && (blk_queue_start_tag(q, req) == 0)))
		blkdev_dequeue_request(req);

	/* then handle the request whether it was dequeued or not */

-- Patrick Mansfield

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-08  4:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-08  3:40 2.5.x why a conditional call to blkdev_dequeue_request? Patrick Mansfield
2003-04-08  4:13 ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox