Re: [PATCH 17/18] io-controller: IO group refcounting support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux