]> git.neil.brown.name Git - history.git/commit
[PATCH] scsi queueing weirdness
authorJens Axboe <axboe@suse.de>
Mon, 31 Mar 2003 01:52:42 +0000 (17:52 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 31 Mar 2003 01:52:42 +0000 (17:52 -0800)
commit9e0206abf1d74a1001f3b4a912767d4072856cda
tree3316149e9e6280359bc1371e58710783e0fc2920
parentd16263e950d079f6752740152704e0c93ddd049e
[PATCH] scsi queueing weirdness

The queueing logic in scsi_lib looks really odd right now.

- Defers calling elv_next_request() until we actually think we can queue
  something. Always want to do that, request will have been marked
  REQ_STARTED after this, so block layer cannot touch it or merge to it.

- Kill the queue empty check. If elv_next_request() returned a req,
  there's one to queue.
drivers/scsi/scsi_lib.c