opnsense-src/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.h Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +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.h Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
nlm_prot_clnt.c Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
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 Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
nlm_prot_svc.c Don't call svc_freereq() before svc_freeargs(). 2008-11-12 15:30:30 +00:00
nlm_prot_xdr.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
sm_inter.h
sm_inter_xdr.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00