linux/drivers/block
Kiyoshi Ueda db3b5848ea When cfq I/O scheduler is selected, get_request() in __make_request() calls
__cfq_get_queue().  __cfq_get_queue() finds an existing queue (struct
cfq_queue) of the current process for the device and returns it.  If it's not
found, __cfq_get_queue() creates and returns a new one if __cfq_get_queue() is
called with __GFP_WAIT flag, or __cfq_get_queue() returns NULL (this means that
get_request() fails) if no __GFP_WAIT flag.

On the other hand, in __make_request(), get_request() is called without
__GFP_WAIT flag at the first time.  Thus, the get_request() fails when there is
no existing queue, typically when it's called for the first I/O request of the
process to the device.

Though it will be followed by get_request_wait() for general case,
__make_request() will just end the I/O with an error (EWOULDBLOCK) when the
request was for read-ahead.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
2005-06-17 16:15:10 +02:00
..
aoe [PATCH] aoe: update version number to 10 2005-05-03 23:34:55 -07:00
paride
DAC960.c [PATCH] DAC960: add support for Mylex AcceleRAID 4/5/600 2005-05-05 16:36:43 -07:00
DAC960.h [PATCH] DAC960: add support for Mylex AcceleRAID 4/5/600 2005-05-05 16:36:43 -07:00
Kconfig [PATCH] ISA DMA Kconfig fixes - part 3 2005-05-04 07:33:14 -07:00
Kconfig.iosched
Makefile
acsi.c
acsi_slm.c
amiflop.c
as-iosched.c
ataflop.c
cciss.c
cciss.h
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cfq-iosched.c When cfq I/O scheduler is selected, get_request() in __make_request() calls 2005-06-17 16:15:10 +02:00
cpqarray.c
cpqarray.h
cryptoloop.c
deadline-iosched.c
elevator.c This patch fixes q->unplug_thresh condition check in 2005-06-16 12:57:31 +02:00
floppy.c [PATCH] remove do_sync parameter from __invalidate_device 2005-05-05 16:36:44 -07:00
genhd.c [PATCH] remove do_sync parameter from __invalidate_device 2005-05-05 16:36:44 -07:00
ida_cmd.h
ida_ioctl.h
ioctl.c [PATCH] Fix root hole in raw device 2005-05-16 21:07:21 -07:00
ll_rw_blk.c
loop.c
nbd.c [PATCH] nbd: Don't create all MAX_NBD devices by default all the time 2005-05-01 08:59:07 -07:00
noop-iosched.c
pktcdvd.c [PATCH] packet driver permission checking fix 2005-05-20 15:48:16 -07:00
ps2esdi.c
rd.c [PATCH] drivers/block/rd.c: rd_size shouldn't be static 2005-05-06 16:58:18 -07:00
scsi_ioctl.c
smart1,2.h
swim3.c
swim_iop.c
sx8.c
ub.c [PATCH] USB: fix ub issues 2005-06-09 01:38:11 -07:00
umem.c
viodasd.c
xd.c
xd.h
z2ram.c