Files
containerd/pkg
Sebastiaan van Stijn 2374178c9b pkg/cri/server: optimizations in unmountRecursive()
Use a PrefixFilter() to get only the mounts we're interested in,
which removes the need to manually filter mounts from the mountinfo
results.

Additional optimizations can be made, as:

> ... there's a little known fact that `umount(MNT_DETACH)` is actually
> recursive in Linux, IOW this function can be replaced with
> `unix.Umount(target, unix.MNT_DETACH)` (or `mount.UnmountAll(target, unix.MNT_DETACH)`
>  (provided that target itself is a mount point).

e8fb2c392f (r535450446)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-08 17:32:01 +01:00
..
2020-12-08 19:22:39 +09:00
2020-04-22 19:35:37 -05:00
2020-02-26 23:29:04 +02:00
2020-04-22 19:35:37 -05:00
2019-07-14 20:49:40 -07:00
2020-07-30 18:51:23 +09:00