moby/pkg/mount
Brian Goff dd21087660 Optimizations for recurrsive unmount
When a recursive unmount fails, don't bother parsing the mount table to check
if what we expected to be a mountpoint is still mounted. `EINVAL` is
returned when you try to unmount something that is not a mountpoint, the
other cases of `EINVAL` would not apply here unless everything is just
wrong. Parsing the mount table over and over is relatively expensive,
especially in the code path that it's in.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-01-11 16:13:16 -05:00
..
flags.go Inconsistent --tmpfs behavior 2016-05-26 19:28:18 -07:00
flags_freebsd.go Use lazy unmount for local volume driver unmount 2017-04-27 08:43:43 -04:00
flags_linux.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
flags_unsupported.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
mount.go Optimizations for recurrsive unmount 2018-01-11 16:13:16 -05:00
mount_unix_test.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
mounter_freebsd.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
mounter_linux.go In the case of remounting with changed data, need to call mount 2017-07-13 15:48:58 +01:00
mounter_linux_test.go Fix TestMount under a selinux system 2017-09-25 11:54:30 +02:00
mounter_unsupported.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
mountinfo.go Do not remove containers from memory on error 2017-05-05 17:02:04 -04:00
mountinfo_freebsd.go pkg: mount: golint 2015-07-22 10:26:10 +02:00
mountinfo_linux.go Remove redundant build-tags 2017-12-18 17:41:53 +01:00
mountinfo_linux_test.go *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
mountinfo_unsupported.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
mountinfo_windows.go Windows: Fix mountinfo 2016-03-21 22:03:24 -07:00
sharedsubtree_linux.go Remove redundant build-tags 2017-12-18 17:41:53 +01:00
sharedsubtree_linux_test.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00