CFQ ioc->ioc_data LEAK ====================== This directory contains some stuff related to a cfq problem on scheduler switching and module unloading. It contains the following files (in logical rather than alphabetical order): - qemu_config: .config used to reproduce all of this on kvm/qemu. - stress_reload: simple shell script used to reproduce the bug. It definitely has no meaning in the real world, but it had to be only a stress test... - oops-unmodified-cfq: oops obtained with mainline cfq. - bug-on-wrong-cic-returned.patch: scream out loud when bfq_cic_lookup() founds a cic in ioc->ioc_data that does not belong to cic. - oops-bug-on-wrong-cic-returned: an oops showing a wrong lookup result being returned. - bug-on-ioc-data-surviving-cic.patch: assert that when a cic is freed it is no more cached into ioc->ioc_data. [NOTE: this is NOT on top of the previous one.] - oops-bug-on-ioc-data-surviving-cic: an oops showing the above assertion failing during elv_unregister(). - cfq-iosched-fix-ioc-data-leak.patch: a patch that should fix the problem.