man nfs
man nfs
Posted Mar 5, 2020 18:30 UTC (Thu) by flussence (guest, #85566)In reply to: man nfs by mchouque
Parent article: Quote of the week
> intr / nointr This option is provided for backward compatibility. It is ignored after kernel 2.6.25.
> […]
> 9 October 2012 NFS(5)
(It ought to suggest a suitable replacement there: having the default failure state lock up entire terminal windows so hard they don't respond to sigterm/quit is kind of rude…)
But NFS in particular really does suffer from cargo-culting and a lack of a single obvious, authoritative, current set of documentation - I don't know how official linux-nfs.org is supposed to be, but some of the links there were either last updated before NFSv4.0 existed or proclaim it to be new and experimental. When I was trying to get it to work I had to resort to the ancient ritual of posting something wrong on the internet to get lectured with corrections.
Posted Mar 5, 2020 22:07 UTC (Thu)
by NYKevin (subscriber, #129325)
[Link] (1 responses)
IMHO this is a problem with the entire space of filesystems that purport to comply with POSIX. NFS is particularly bad because it has a long history of failing to adequately comply with POSIX, but in general, the POSIX filesystem API seems to be a "worst of all possible worlds" situation:
This process inevitably leads to O_PONIES conflicts and people talking past each other about what they actually want. It is unpleasant to watch from my vantage point on the sidelines; I can't imagine how immensely frustrating it must be to actually participate in these Sisyphean discussions.
Posted Mar 6, 2020 19:23 UTC (Fri)
by flussence (guest, #85566)
[Link]
Posted Mar 6, 2020 4:00 UTC (Fri)
by willy (subscriber, #9762)
[Link] (5 responses)
Hmm? The way it works is that any fatal signal will cause the task to die. There's not really anything else we can do, thanks to programmers never checking whether they got a short read/write.
What we're still bad at with NFS is that a write or an fsync will cause an uninterruptible sleep (at least last time I looked). I haven't had the tuits to fix that.
Posted Mar 6, 2020 19:45 UTC (Fri)
by flussence (guest, #85566)
[Link] (4 responses)
To be clear and just so I'm not constantly complaining: the other 99% of the time it works it's fantastic. I'm grateful for all the work that went into this. Even if these few sore spots don't get fixed, I feel less frustrated just having the acknowledgement that it's like that sometimes and I'm not imagining it.
Posted Mar 6, 2020 19:54 UTC (Fri)
by willy (subscriber, #9762)
[Link]
I didn't remove any places which would have been interruptible before, so the only difference is that now non-fatal signals won't interrupt a read.
Posted Mar 16, 2020 22:29 UTC (Mon)
by nix (subscriber, #2304)
[Link] (2 responses)
Posted Mar 19, 2020 8:33 UTC (Thu)
by flussence (guest, #85566)
[Link] (1 responses)
Posted Mar 19, 2020 22:09 UTC (Thu)
by nix (subscriber, #2304)
[Link]
man nfs
man nfs
man nfs
man nfs
man nfs
man nfs
I've had hung mounts that I'm pretty certain were caused by jumbo ethernet frames too - any mtu above about 4000 seems flaky.
It must be more than that: I've never had hung mounts on the link to the NFS server here, which has an MTU of 6128 (because of limits on one of the network cards in question), not on NFSv3 nor NFSv4.0 nor NFSv4.1. And if I had hung mounts, I'd know it: my $HOME is on NFS...
man nfs
man nfs
