aboutsummaryrefslogtreecommitdiff
path: root/block/elevator.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-02-04 23:27:38 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-05 11:06:51 -0800
commit9a7a67af8bb02106f0fb01dd9d237332f874be9a (patch)
tree6ad56122d38d118e6d53caa94a60037291294a25 /block/elevator.c
parent88a2a4ac6b671a4b0dd5d2d762418904c05f4104 (diff)
[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>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions