Re: [PATCH v3] don't forget to call pd_online_fn when activate policy

2017-03-11 Thread Jens Axboe
On 03/10/2017 08:46 PM, Zhou Chengming wrote: > When we activate policy on the request_queue, we will create policy_date > for all the existing blkgs of the request_queue, so we should call > pd_init_fn() and pd_online_fn() on these newly created policy_data. I'm not looking at this until you tell

[PATCH v3] don't forget to call pd_online_fn when activate policy

2017-03-10 Thread Zhou Chengming
When we activate policy on the request_queue, we will create policy_date for all the existing blkgs of the request_queue, so we should call pd_init_fn() and pd_online_fn() on these newly created policy_data. Signed-off-by: Zhou Chengming --- block/blk-cgroup.c | 6 ++ 1 file changed, 6 inser