]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] fix ordering on requeued request drainage
authorJens Axboe <axboe@suse.de>
Sun, 5 Feb 2006 07:27:38 +0000 (23:27 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 5 Feb 2006 19:06:51 +0000 (11:06 -0800)
commit9a7a67af8bb02106f0fb01dd9d237332f874be9a
tree6ad56122d38d118e6d53caa94a60037291294a25
parent88a2a4ac6b671a4b0dd5d2d762418904c05f4104
[PATCH] fix ordering on requeued request drainage

Previously, if a fs request which was being drained failed and got
requeued, blk_do_ordered() didn't allow it to be reissued, which causes
queue stall.  This patch makes blk_do_ordered() use the sequence of each
request to determine whether a request can be issued or not.  This fixes
the bug and simplifies code.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
block/ll_rw_blk.c