[PATCH] Fix on-the-fly switch from cfq i/o scheduler
authorJens Axboe <axboe@suse.de>
Mon, 31 Oct 2005 12:51:33 +0000 (13:51 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 15:41:28 +0000 (07:41 -0800)
commit4fc207419d95e0e16fdc78e2f48f7c0b3640ffe5
tree7b36e5810e549038d6cf4d1efd98aaf0541bbb11
parentdd05e42fa86e37b14f8169bbad8d334e2e8d4881
[PATCH] Fix on-the-fly switch from cfq i/o scheduler

Don't clear ->elevator_data on exit, if we are switching queues we are
overwriting the data of the new io scheduler.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cfq-iosched.c