linux/block
Vivek Goyal 32f2e807a3 cfq-iosched: reset oom_cfqq in cfq_set_request()
In case memory is scarce, we now default to oom_cfqq. Once memory is
available again, we should allocate a new cfqq and stop using oom_cfqq for
a particular io context.

Once a new request comes in, check if we are using oom_cfqq, and if yes,
try to allocate a new cfqq.

Tested the patch by forcing the use of oom_cfqq and upon next request thread
realized that it was using oom_cfqq and it allocated a new cfqq.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-07-10 20:31:54 +02:00
..
as-iosched.c
blk-barrier.c
blk-core.c blocK: Restore barrier support for md and probably other virtual devices. 2009-07-01 10:56:26 +02:00
blk-exec.c
blk-integrity.c
blk-ioc.c
blk-map.c
blk-merge.c block: don't merge requests of different failfast settings 2009-07-03 21:06:45 +02:00
blk-settings.c Fix kernel-doc parameter name typo in blk-settings.c: 2009-06-19 09:18:32 +02:00
blk-softirq.c
blk-sysfs.c
blk-tag.c
blk-timeout.c
blk.h
bsg.c block: get rid of queue-private command filter 2009-07-01 10:56:26 +02:00
cfq-iosched.c cfq-iosched: reset oom_cfqq in cfq_set_request() 2009-07-10 20:31:54 +02:00
compat_ioctl.c
deadline-iosched.c
elevator.c block: don't merge requests of different failfast settings 2009-07-03 21:06:45 +02:00
genhd.c
ioctl.c
Kconfig block: rename CONFIG_LBD to CONFIG_LBDAF 2009-06-19 08:08:50 +02:00
Kconfig.iosched
Makefile block: get rid of queue-private command filter 2009-07-01 10:56:26 +02:00
noop-iosched.c
scsi_ioctl.c block: call blk_scsi_ioctl_init() 2009-07-10 20:31:53 +02:00