ceph-csi/internal/cephfs/util
Robert Vasek 80dda7cc30 cephfs: detect corrupt ceph-fuse mounts and try to remount
Mounts managed by ceph-fuse may get corrupted by e.g. the ceph-fuse process
exiting abruptly, or its parent container being terminated, taking down its
child processes with it.

This commit adds checks to NodeStageVolume and NodePublishVolume procedures
to detect whether a mountpoint in staging_target_path and/or target_path is
corrupted, and remount is performed if corruption is detected.

Signed-off-by: Robert Vasek <robert.vasek@cern.ch>
2022-03-10 06:05:52 +00:00
..
mountinfo.go cephfs: detect corrupt ceph-fuse mounts and try to remount 2022-03-10 06:05:52 +00:00
util.go cleanup: move core functions to core pkg 2021-09-23 06:39:37 +00:00