On Tue, Oct 06, 2015 at 01:21:50PM +0300, Pavel Tikhomirov wrote:
> Docker uses /proc/self/cgroup to know where he is in cgroup tree
> and also it uses /proc/self/mountinfo to get from where cgroup
> sub-tree(on which he is) is mounted, using both it can understand
> where his cgroups are in his /sys/fs/cgroup sub-tree.
> 
> We need to mangle cgroup paths in mountinfo output consistently
> with cgroup output, in /proc/self/cgroup we remove prefix "/$ctid"
> do the same in mountinfo. It is not enought to show just "/" for
> docker in docker: docker will bindmount in container sub-tree of
> this container.
> 
> v2: fix compilation
> 
> https://jira.sw.ru/browse/PSBM-34295
> 
> Signed-off-by: Pavel Tikhomirov <ptikhomi...@virtuozzo.com>
This looks like uninlining of seq_dentry, but I fear there
no much options. Thus

Reviewed-by: Cyrill Gorcunov <gorcu...@openvz.org>
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to