News for hackers. Stuff that matters.
Re:Unix System Call Timeouts by tyingq on Sunday March 12, 2017 @10:29PM (#13854794)
I would guess the poster is just lamenting the lack of a straightforward solution.

Assume you're doing a mkdir() on an nfs mounted volume. It could hang, for quite some time. You would like to set a timeout and error out. There are no terrific solutions. There are workarounds, yes...but largely inelegant.

Re:Unix System Call Timeouts by bonzini on Monday March 13, 2017 @02:04AM (#13855581)
If you set a timeout on NFS operations, you could get an error and yet the mkdir could have succeeded---it could be the response that was delayed. This is really hard to handle, and that's the reason why NFS 's "soft" mount option is considered unsafe.
Re:Unix System Call Timeouts by loeg on Sunday March 12, 2017 @10:39PM (#13854854)
There's nothing elegant about unreliable NFS in general. :-)