kernel-ark/block
Jens Axboe 553698f944 [PATCH] cfq-iosched: fix crash in do_div()
We don't clear the seek stat values in cfq_alloc_io_context(), and if
->seek_mean is unlucky enough to be set to -36 by chance, the first
invocation of cfq_update_io_seektime() will oops with a divide by zero
in do_div().

Just memset the entire cic instead of filling invididual values
independently.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-14 10:22:16 -07:00
..
as-iosched.c [PATCH] elevator switching race 2006-06-08 15:14:23 -07:00
blktrace.c
cfq-iosched.c [PATCH] cfq-iosched: fix crash in do_div() 2006-06-14 10:22:16 -07:00
deadline-iosched.c [PATCH] elevator switching race 2006-06-08 15:14:23 -07:00
elevator.c [PATCH] elevator switching race 2006-06-08 15:14:23 -07:00
genhd.c
ioctl.c
Kconfig
Kconfig.iosched
ll_rw_blk.c
Makefile
noop-iosched.c [PATCH] elevator switching race 2006-06-08 15:14:23 -07:00
scsi_ioctl.c