Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rwx volume: use soft mode with long timeout for nfs client
When a RWX volume is attached, a share-manager pod embedded with a userspace NFS server is created and the volume is exported. A remote exported share is hard mounted by Longhorn, and it is then provided to the workload. When the share-manager pod or embedded NFS server is somehow crashed or unreachable, the 'hard mount' option keeps the client trying to connect to NFS server and prevents data loss. The root cause is the Linux kernel is trying to maintain filesystem stability. Linux kernel will not allow a filesystem to be unmounted until all its pending IO is written back to storage, and the system can't shut down until all file systems are unmounted. Currently, the bug/issue is not resolved. Longhorn 6655 Signed-off-by: Derek Su <derek.su@suse.com>
- Loading branch information