kernel-ark/drivers/block
Jens Axboe 3d25f3566b [PATCH] Fix cfq_find_next_crq()
In cfq_find_next_crq(), cfq tries to find the next request by choosing
one of two requests before and after the current one.  Currently, when
choosing the next request, if there's no next request, the next
candidate is NULL, resulting in selection of the previous request.  This
results in weird scheduling.  Once we reach the end, we always seek
backward.

The correct behavior is using the first request as the next candidate.
cfq_choose_req() already has logics for handling wrapped requests.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-27 14:33:29 -07:00
..
aoe
paride
acsi_slm.c
acsi.c
amiflop.c
as-iosched.c [PATCH] Update cfq io scheduler to time sliced design 2005-06-27 14:33:29 -07:00
ataflop.c
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cciss.c
cciss.h
cfq-iosched.c [PATCH] Fix cfq_find_next_crq() 2005-06-27 14:33:29 -07:00
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
deadline-iosched.c [PATCH] Update cfq io scheduler to time sliced design 2005-06-27 14:33:29 -07:00
elevator.c [PATCH] Update cfq io scheduler to time sliced design 2005-06-27 14:33:29 -07:00
floppy.c
genhd.c
ida_cmd.h
ida_ioctl.h
ioctl.c
Kconfig
Kconfig.iosched
ll_rw_blk.c [PATCH] Update cfq io scheduler to time sliced design 2005-06-27 14:33:29 -07:00
loop.c
Makefile
nbd.c
noop-iosched.c
pktcdvd.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
ps2esdi.c
rd.c
scsi_ioctl.c
smart1,2.h
swim3.c
swim_iop.c
sx8.c
ub.c
umem.c
viodasd.c
xd.c
xd.h
z2ram.c