]> git.hungrycats.org Git - linux/commit
[PATCH] elevator insertion fixes
authorAndrew Morton <akpm@osdl.org>
Wed, 3 Sep 2003 18:12:08 +0000 (11:12 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 3 Sep 2003 18:12:08 +0000 (11:12 -0700)
commit1cfcda6ac8d044495f670689e94d2f337364e79c
tree06db061beebaabc1283e15d369e1c9b3bae80386
parentc12f96f27e547c29103733310a50b4a5bfe85b90
[PATCH] elevator insertion fixes

From: Nick Piggin <piggin@cyberone.com.au>

This fixes a bug in deadline and AS that causes insert_here to be ignored on
blk_fs_requests. This has been causing problems with SCSI requeueing code.
It makes elevator insertion more correct as advertised wrt insert_here and
REQ_SOFTBARRIER.

It also fixes a buglet in the as_requeue code where the request wasn't being
put into the front of the list (in rare cases).
drivers/block/as-iosched.c
drivers/block/deadline-iosched.c
drivers/block/elevator.c