3 ms·
For non vital filesystems, I use "-o intr,soft,timeo=5" at NFS mount time. This causes syscalls to return EINTR and timeout without hard locking. It can sometim
by giovannibajo1 8y ago
For non vital filesystems, I use "-o intr,soft,timeo=5" at NFS mount time. This causes syscalls to return EINTR and timeout without hard locking. It can sometimes confuse userspace, but at least you don't get a stuck process.
- pjc50 8y agoI always preferred "intr,hard", because having filesystem operations fail really stresses out a lot of userspace applications. Most developers haven't thoroughly tested their handling of "what if this disk operation fails?", because it's a pain to do and a rare case.