1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys/nlm
Konstantin Belousov 883a5a4a6a 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)
2016-06-26 20:08:42 +00:00
..
nlm_advlock.c When sleeping waiting for either local or remote advisory lock, 2016-06-26 20:08:42 +00:00
nlm_prot_clnt.c
nlm_prot_impl.c When sleeping waiting for either local or remote advisory lock, 2016-06-26 20:08:42 +00:00
nlm_prot_server.c
nlm_prot_svc.c
nlm_prot_xdr.c
nlm_prot.h
nlm.h
sm_inter_xdr.c
sm_inter.h