[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] Re: [PATCH 17/18] io-controller: IO group refcounting support
- From: Gui Jianfeng <guijianfeng cn fujitsu com>
- To: Vivek Goyal <vgoyal redhat com>
- Cc: dhaval linux vnet ibm com, snitzer redhat com, dm-devel redhat com, dpshah google com, jens axboe oracle com, agk redhat com, balbir linux vnet ibm com, paolo valente unimore it, fernando oss ntt co jp, mikew google com, jmoyer redhat com, nauman google com, m-ikeda ds jp nec com, lizf cn fujitsu com, fchecconi gmail com, s-uchida ap jp nec com, containers lists linux-foundation org, linux-kernel vger kernel org, akpm linux-foundation org, righi andrea gmail com
- Subject: [dm-devel] Re: [PATCH 17/18] io-controller: IO group refcounting support
- Date: Fri, 08 May 2009 03:00:40 -0000
Vivek Goyal wrote:
...
>
> - BUG_ON(!RB_EMPTY_ROOT(&st->active));
> - BUG_ON(!RB_EMPTY_ROOT(&st->idle));
> }
>
> - BUG_ON(iog->sched_data.next_active != NULL);
> - BUG_ON(iog->sched_data.active_entity != NULL);
> - BUG_ON(entity->tree != NULL);
> + /* Drop iocg reference on io group */
We'd better to reset iog->iocg_id here since the cgroup is going to destroy.
> + elv_put_iog(iog);
> }
>
> -/**
--
Regards
Gui Jianfeng
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]