commit | e4ea0c16a85d221ebcc3a21f32e321440459e0fc | [log] [tgz] |
---|---|---|
author | Shaohua Li writes <shaohua.li@intel.com> | Mon Dec 13 14:32:22 2010 +0100 |
committer | Jens Axboe <jaxboe@fusionio.com> | Mon Dec 13 14:32:22 2010 +0100 |
tree | 47acf4da84f9a448e6eb6172a5440ccc60696ed9 | |
parent | 760701bfe14faee8ea0608a9cab2046071d98a39 [diff] |
block cfq: select new workload if priority changed If priority is changed, continuing to check workload_expires and service tree count of the previous workload does not make sense. We should always choose the workload with lowest key of new priority in such case. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>