ceph-csi/internal/cephfs
Niels de Vos 011d4fc81c cleanup: create k8s.io/mount-utils Mounter only once
Recently the k8s.io/mount-utils package added more runtime dectection.
When creating a new Mounter, the detect is run every time. This is
unfortunate, as it logs a message like the following:

```
mount_linux.go:283] Detected umount with safe 'not mounted' behavior
```

This message might be useful, so it probably good to keep it.

In Ceph-CSI there are various locations where Mounter instances are
created. Moving that to the DefaultNodeServer type reduces it to a
single place. Some utility functions need to accept the additional
parameter too, so that has been modified as well.

See-also: kubernetes/kubernetes#109676
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2022-07-21 07:14:43 +00:00
..
core cephfs: go with default permissions while creating subvolumes 2022-07-13 06:49:58 +00:00
errors cleanup: move core functions to core pkg 2021-09-23 06:39:37 +00:00
mounter cephfs: added support for snapshot-backed volumes 2022-06-16 09:44:27 +00:00
store cephfs: report detailed error message on clone failure 2022-06-30 19:33:41 +00:00
util cephfs: detect corrupt ceph-fuse mounts and try to remount 2022-03-10 06:05:52 +00:00
controllerserver.go cephfs: remove extra check for restore size 2022-07-18 10:04:14 +00:00
driver.go cephfs: Support mount option on nodeplugin 2022-07-18 22:04:12 +00:00
fuserecovery.go cleanup: create k8s.io/mount-utils Mounter only once 2022-07-21 07:14:43 +00:00
identityserver.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
nodeserver.go cleanup: create k8s.io/mount-utils Mounter only once 2022-07-21 07:14:43 +00:00
validator.go cephfs: correct comment for validateExpandVolumeRequest 2021-09-07 14:33:02 +00:00