Skip to content
  • Vivek Goyal's avatar
    blk-cgroup: config options re-arrangement · afc24d49
    Vivek Goyal authored
    This patch fixes few usability and configurability issues.
    o All the cgroup based controller options are configurable from
      "Genral Setup/Control Group Support/" menu. blkio is the only exception.
      Hence make this option visible in above menu and make it configurable from
      there to bring it inline with rest of the cgroup based controllers.
      This option currently does two things.
      - Enable printing of cgroup paths in blktrace
      - Enables CONFIG_DEBUG_BLK_CGROUP, which in turn displays additional stat
        files in cgroup.
      If we are using group scheduling, blktrace data is of not really much use
      if cgroup information is not present. To get this data, currently one has to
      also enable CONFIG_DEBUG_CFQ_IOSCHED, which in turn brings the overhead of
      all the additional debug stat files which is not desired.
      Hence, this patch moves printing of cgroup paths under
      This allows us to get rid of CONFIG_DEBUG_CFQ_IOSCHED completely. Now all
      the debug stat files are controlled only by CONFIG_DEBUG_BLK_CGROUP which
      can be enabled through config menu.
    Signed-off-by: default avatarVivek Goyal <>
    Acked-by: default avatarDivyesh Shah <>
    Reviewed-by: default avatarGui Jianfeng <>
    Signed-off-by: default avatarJens Axboe <>