Date: Sun, 12 Sep 2010 19:06:08 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/nfsclient nfs.h nfs_nfsiod.c nfs_subs.c Message-ID: <201009121906.o8CJ6PQY015792@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-09-12 19:06:08 UTC
FreeBSD src repository
Modified files:
sys/nfsclient nfs.h nfs_nfsiod.c nfs_subs.c
Log:
SVN rev 212506 on 2010-09-12 19:06:08Z by kib
Do not fork nfsiod directly from the vop methods. This causes LORs between
vnode lock and several locks needed during fork, like fd lock.
Instead, schedule the task to be executed in the taskqueue context. We
still waiting for the fork to finish, but the context of the thread
executing the task does not make real LORs with our vnode lock.
Submitted by: pluknet at gmail com
Reviewed by: jhb
Tested by: pho
MFC after: 3 weeks
Revision Changes Path
1.112 +2 -0 src/sys/nfsclient/nfs.h
1.98 +39 -2 src/sys/nfsclient/nfs_nfsiod.c
1.168 +7 -0 src/sys/nfsclient/nfs_subs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009121906.o8CJ6PQY015792>
