• T
    blkcg: remove blkcg->id · f4da8072
    Tejun Heo 提交于
    blkcg->id is a unique id given to each blkcg; however, the
    cgroup_subsys_state which each blkcg embeds already has ->serial_nr
    which can be used for the same purpose.  Drop blkcg->id and replace
    its uses with blkcg->css.serial_nr.  Rename cfq_cgroup->blkcg_id to
    ->blkcg_serial_nr and @id in check_blkcg_changed() to @serial_nr for
    consistency.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Acked-by: NVivek Goyal <vgoyal@redhat.com>
    Signed-off-by: NJens Axboe <axboe@fb.com>
    f4da8072
blk-cgroup.h 16.6 KB