[Devel] [PATCH rh7 v2] mnt_ns: introduce global list of mount namespaces for debug

Andrey Ryabinin aryabinin at virtuozzo.com
Mon Jul 16 18:53:42 MSK 2018



On 07/16/2018 01:27 PM, Konstantin Khorenko wrote:
> We've got several cases when ploop could not be unmounted resulting in
> -EBUSY. Sometimes we could find what holds it sometimes not, so let's
> introduce the global list of mount namespaces: it will make it easier to
> debug such cases.
> 
> https://jira.sw.ru/browse/PSBM-80869
> 
> Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
> 
> Changes:
> v2: move sem lock/unlock inside free_mnt_ns() to fix calling copy_mnt_ns()
>     without semaphore taken.
> ---

Reviewed-by: Andrey Ryabinin <aryabinin at virtuozzo.com>


More information about the Devel mailing list