ceph-csi/internal
Marcel Lauhoff 97cb1b6672 fscrypt: Update mount info before create context
NewContextFrom{Mountpoint,Path} functions use cached
`/proc/self/mountinfo` to find mounted file systems by device ID.
Since we run fscrypt as a library in a long-lived process the cached
information is likely to be stale. Stale entries may map device IDs to
mount points of already destroyed RBDs and fail context creation.
Updating the cache beforehand prevents this.

Signed-off-by: Marcel Lauhoff <marcel.lauhoff@suse.com>
2022-10-17 17:33:52 +00:00
..
cephfs cephfs: use errors.As instead of errors.Is 2022-10-17 09:11:45 +00:00
controller cleanup: ReconcilePersistentVolume consider passing it by pointer 2022-06-28 19:12:53 +00:00
csi-addons rbd: use blocklist range cmd, fallback if it fails 2022-09-13 13:10:32 +00:00
csi-common util: make inode metrics optional in FilesystemNodeGetVolumeStats() 2022-10-13 19:02:47 +00:00
journal journal: Store encryptionType in Config struct 2022-10-17 17:33:52 +00:00
kms kms: testing: add KMS test dummy registry 2022-10-17 17:33:52 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nfs util: make inode metrics optional in FilesystemNodeGetVolumeStats() 2022-10-13 19:02:47 +00:00
rbd rbd: Rename encryption to blockEncryption prep for fscrypt 2022-10-17 17:33:52 +00:00
util fscrypt: Update mount info before create context 2022-10-17 17:33:52 +00:00