Date: Tue, 10 Jan 2012 22:10:15 +0200 From: Mikolaj Golub <trociny@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: Kostik Belousov <kib@freebsd.org>, Robert Watson <rwatson@freebsd.org>, freebsd-arch@freebsd.org Subject: Re: unix domain sockets on nullfs(5) Message-ID: <86hb03tj2w.fsf@kopusha.home.net> In-Reply-To: <201201100819.18892.jhb@freebsd.org> (John Baldwin's message of "Tue, 10 Jan 2012 08:19:18 -0500") References: <86sjjobzmn.fsf@kopusha.home.net> <201201100819.18892.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 Jan 2012 08:19:18 -0500 John Baldwin wrote: JB> I think this is a decent solution. Why not make the locking notes for JB> VOP_UNPCONNECT() be "L" instead of "E"? A read lock should be sufficient JB> to fetch the socket? In fact, I suspect that unp_connect() could actually JB> use a shared lock on the vnode by adding 'LOCKSHARE' to the flags passed JB> to namei() via NDINIT(). This looks reasonable to me. I am going to modify the patch accordingly. Thanks. -- Mikolaj Golub
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hb03tj2w.fsf>