ceph-csi/internal/cephfs
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
..
core cephfs: refactor cephfs core functions 2022-02-22 20:39:23 +00:00
errors cleanup: move core functions to core pkg 2021-09-23 06:39:37 +00:00
mounter cephfs: refactor cephfs core functions 2022-02-22 20:39:23 +00:00
store cephfs: refactor cephfs core functions 2022-02-22 20:39:23 +00:00
util cephfs: detect corrupt ceph-fuse mounts and try to remount 2022-03-10 06:05:52 +00:00
controllerserver.go cephfs: refactor cephfs core functions 2022-02-22 20:39:23 +00:00
driver.go cephfs: refactor cephfs core functions 2022-02-22 20:39:23 +00:00
fuserecovery.go cephfs: detect corrupt ceph-fuse mounts and try to remount 2022-03-10 06:05:52 +00:00
identityserver.go internal: reformat long lines in internal/cephfs package to 120 chars 2021-06-28 14:43:49 +00:00
nodeserver.go cephfs: detect corrupt ceph-fuse mounts and try to remount 2022-03-10 06:05:52 +00:00
validator.go cephfs: correct comment for validateExpandVolumeRequest 2021-09-07 14:33:02 +00:00