diff options
author | kib <kib@FreeBSD.org> | 2016-06-26 20:08:42 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-06-26 20:08:42 +0000 |
commit | 13c308de0c7cfd639629c469f9bc8442dc993d2b (patch) | |
tree | 29ede6f82e4b87bdb9347130d4e67bf6f2cfd2da /lib/libc/stdlib/llabs.c | |
parent | 2b281bf08f5c2e942626c0fe461285f39fbf8df8 (diff) | |
download | FreeBSD-src-13c308de0c7cfd639629c469f9bc8442dc993d2b.zip FreeBSD-src-13c308de0c7cfd639629c469f9bc8442dc993d2b.tar.gz |
When sleeping waiting for either local or remote advisory lock,
interrupt sleeps with the ERESTART on the suspension attempts.
Otherwise, single-threading requests are deferred until the locks are
granted for NFS files, which causes hangs.
When retrying local registration of the remotely-granted adv lock,
allow full suspension and check for suspension, for usual reasons.
Reported by: markj, pho
Reviewed by: jilles
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Approved by: re (gjb)
Diffstat (limited to 'lib/libc/stdlib/llabs.c')
0 files changed, 0 insertions, 0 deletions