linux-stable-rt/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
..
Kconfig [PATCH] config: fix CONFIG_LFS option 2006-03-31 12:18:55 -08:00
Kconfig.iosched
Makefile [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 2006-03-23 20:00:26 +01:00
as-iosched.c [PATCH] elevator switching race 2006-06-08 15:14:23 -07:00
blktrace.c [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 2006-03-23 20:00:26 +01:00
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 Revert "[BLOCK] Fix oops on removal of SD/MMC card" 2006-05-12 12:08:46 -07:00
ioctl.c [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 2006-03-23 20:00:26 +01:00
ll_rw_blk.c [PATCH] blk: fix gendisk->in_flight accounting during barrier sequence 2006-05-23 10:39:43 -07:00
noop-iosched.c [PATCH] elevator switching race 2006-06-08 15:14:23 -07:00
scsi_ioctl.c [SCSI] unify SCSI_IOCTL_SEND_COMMAND implementations 2006-04-13 10:13:15 -05:00