diff options
author | Tejun Heo <tj@kernel.org> | 2012-03-05 13:14:55 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-03-06 21:27:21 +0100 |
commit | b95ada558c9e69c69ffd6950eb644ee8a3dba18f (patch) | |
tree | 565eda3f793d6b89623fba41beb93df03ceef696 /block/noop-iosched.c | |
parent | 32e380aedc3de454c06ce1c254fe3bea35a676e1 (diff) | |
download | linux-stable-b95ada558c9e69c69ffd6950eb644ee8a3dba18f.tar.gz linux-stable-b95ada558c9e69c69ffd6950eb644ee8a3dba18f.tar.bz2 linux-stable-b95ada558c9e69c69ffd6950eb644ee8a3dba18f.zip |
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>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions