unix domain sockets on nullfs(5)
Mikolaj Golub
trociny at freebsd.org
Tue Jan 10 20:36:28 UTC 2012
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
More information about the freebsd-arch
mailing list