Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2001 17:30:10 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Alfred Perlstein <alfred@FreeBSD.org>
Cc:        <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/fs/fifofs fifo_vnops.c
Message-ID:  <20011110171622.E16051-100000@delplex.bde.org>
In-Reply-To: <20011109164155.E89342@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Nov 2001, Alfred Perlstein wrote:

> * Bruce Evans <bde@zeta.org.au> [011109 03:53] wrote:
> > On Thu, 8 Nov 2001, Alfred Perlstein wrote:
> > >   ...
> > >   Revision  Changes    Path
> > >   1.56      +6 -1      src/sys/fs/fifofs/fifo_vnops.c
> > ...
> > Please back this out.
>
> I've never had a feeling that I own any code, so please feel free
> to _replace_ (not back out) the current implementation as long as
> your replacement implementation that doesn't offer semantics that
> suck raw eggs like the pre-BSD/os derived fix implementation does.

I feel free to back it out.

> Then either fix or tell me how to fix lockd to cope with the change
> and I will.

Doesn't it work to do a dummy open for writing?  This breaks detection
of whether there is no real writer (see another reply), but so does
clearing SS_CANTRCVMORE.

To get unusual semantics for sockets, you would use setsockopt() to
set some flag like SO_DONTSETCANTRCVMORE.  The socket internals are
hard to get at for fifos, but maybe a file flag could be used instead.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011110171622.E16051-100000>