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

2017-03-10 Thread Jens Axboe
> On Mar 10, 2017, at 8:46 PM, zhouchengming wrote: > >> On 2017/3/10 23:12, Jens Axboe wrote: >>> On 03/08/2017 07:20 PM, Zhou Chengming wrote: >>> When we activate policy on the request_queue, we will create policy_date >>> for all the existing blkgs of the

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

2017-03-10 Thread Jens Axboe
> On Mar 10, 2017, at 8:46 PM, zhouchengming wrote: > >> On 2017/3/10 23:12, Jens Axboe wrote: >>> On 03/08/2017 07:20 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

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

2017-03-10 Thread zhouchengming
On 2017/3/10 23:12, Jens Axboe wrote: On 03/08/2017 07:20 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.

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

2017-03-10 Thread zhouchengming
On 2017/3/10 23:12, Jens Axboe wrote: On 03/08/2017 07:20 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.

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

2017-03-10 Thread Jens Axboe
On 03/08/2017 07:20 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. > > Signed-off-by: Zhou Chengming

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

2017-03-10 Thread Jens Axboe
On 03/08/2017 07:20 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. > > Signed-off-by: Zhou Chengming >

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

2017-03-10 Thread kbuild test robot
Hi Zhou, [auto build test ERROR on block/for-next] [also build test ERROR on v4.11-rc1 next-20170309] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

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

2017-03-10 Thread kbuild test robot
Hi Zhou, [auto build test ERROR on block/for-next] [also build test ERROR on v4.11-rc1 next-20170309] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

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

2017-03-08 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

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

2017-03-08 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