Messages in this thread | | | Date | Mon, 08 Sep 2014 09:56:51 -0600 | From | Jens Axboe <> | Subject | Re: [PATCH block/for-3.18] blkcg: remove blkcg->id |
| |
On 09/07/2014 05:15 PM, Tejun Heo wrote: > 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.
Thanks Tejun, applied.
-- Jens Axboe
| |