Re:Amazon Elastic File System – Production-Ready in Three Re...
by zeisss on Wednesday June 29, 2016 @07:32AM
(#12000903)
Can't you measure and timeout on the file-descriptor writes too?
[ Parent
| on HN ]
Re:Amazon Elastic File System – Production-Ready in Three Re...
by pyre on Wednesday June 29, 2016 @08:16AM
(#12001130)
Do you want to start wrapping your system calls to read files in code that forks to periodically check for a hung system call?
Re:Amazon Elastic File System – Production-Ready in Three Re...
by jabl on Wednesday June 29, 2016 @09:40AM
(#12001543)
It's worse that that, actually. With hard mounts (the default), the only way to interrupt is with SIGKILL, which if my memory serves me correctly, is a process-wide signal. So you'd have to do all NFS I/O in a separate child process.
With soft mounts (does EFS support this?) you can exchange SIGKILL for religiously checking return values for all I/O syscalls, retrying partial writes and whatnot.