Repository navigation
Commit b95ada5
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>1 parent 32e380a commit b95ada5
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3878 | 3878 | | |
3879 | 3879 | | |
3880 | 3880 | | |
3881 | | - | |
3882 | | - | |
3883 | 3881 | | |
3884 | 3882 | | |
3885 | 3883 | | |
| |||
3910 | 3908 | | |
3911 | 3909 | | |
3912 | 3910 | | |
| 3911 | + | |
3913 | 3912 | | |
3914 | | - | |
| 3913 | + | |
3915 | 3914 | | |
3916 | 3915 | | |
3917 | 3916 | | |
3918 | 3917 | | |
3919 | 3918 | | |
| 3919 | + | |
3920 | 3920 | | |
| 3921 | + | |
3921 | 3922 | | |
3922 | 3923 | | |
3923 | 3924 | | |
| |||
0 commit comments