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-22 13:22:16 +08:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-11-11 15:22:17 -07:00
2020-12-02 06:51:37 -05:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-08 17:30:17 -07:00
2020-10-07 14:45:57 -07:00
2020-10-08 17:30:17 -07:00
2020-10-15 04:49:39 -07:00
2020-10-07 13:09:37 -07:00
2021-01-06 13:09:03 -05:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-08 17:30:17 -07:00
2020-10-07 13:09:37 -07:00
2020-12-22 13:22:16 +08:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-08 17:30:17 -07:00
2020-10-07 13:09:37 -07:00
2020-10-08 17:30:17 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-27 10:50:15 +08:00
2020-10-07 13:09:37 -07:00
2021-01-08 17:32:01 +01:00
2020-10-07 13:09:37 -07:00
2020-12-15 20:05:25 +09:00
2020-12-22 13:22:16 +08:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 23:12:01 +00:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2021-01-06 13:09:03 -05:00
2020-10-07 13:09:37 -07:00
2020-12-22 13:22:16 +08:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-12 17:59:08 -07:00
2020-10-08 17:30:17 -07:00
2020-10-12 09:39:59 +08:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 14:45:57 -07:00
2020-10-08 17:30:17 -07:00
2020-10-08 17:30:17 -07:00
2020-10-15 04:49:39 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-08 17:30:17 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-08 17:30:17 -07:00
2020-10-08 17:30:17 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-08 17:30:17 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 13:09:37 -07:00
2020-10-07 14:45:57 -07:00