commit | b95ada558c9e69c69ffd6950eb644ee8a3dba18f | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Mar 05 13:14:55 2012 -0800 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Mar 06 21:27:21 2012 +0100 |
tree | 565eda3f793d6b89623fba41beb93df03ceef696 | |
parent | 32e380aedc3de454c06ce1c254fe3bea35a676e1 [diff] |
cfq: don't register propio policy if !CONFIG_CFQ_GROUP_IOSCHED cfq has been registering zeroed blkio_poilcy_cfq if CFQ_GROUP_IOSCHED is disabled. This fortunately doesn't collide with blk-throtl as BLKIO_POLICY_PROP is zero but is unnecessary and risky. Just don't register it if not enabled. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>